hns - 日記自動生成システム - Version 2.19.9

先月 2006年02月 来月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2006年02月22日(水) 旧暦 [n年日記] [更新:"2006/02/22 09:22:44"]

#1 [MacOSX][pkgsrc] Mac OS X で Emacs の環境を

Mac OS X で Emacs の環境を整備中で AucTeX
cvs -d :pserver:anoncvs@cvs.sv.gnu.org:/sources/auctex co auctex
cd auctex
./autogen.sh 
./configure
のように入れようとしたら ghostscript とか LaTeX が要る と言っている。
checking for the location of AUCTeX's tex-site.el... ..
checking for gs... gs
checking for latex... NONE
configure: error: LaTeX not found, aborting!
You must install LaTeX for preview to work.
configure: error: /bin/sh './configure' failed for preview
ghostscript の方は pkgsrc を使って
cd /usr/pkgsrc/print/ghostscript-gnu 
sudo bmake package 
したら、すぐ入った。 LaTeX の方は /etc/mk.conf に
TEX_DEFAULT=teTeX2
と書いて /usr/pkgsrc/print/ja-ptex で bmake すると、次のやうに言はれて、 ちょっと分らない。
harry:/usr/pkgsrc/print/ja-ptex-bin makoto$ bmake
===> Checking for vulnerabilities in ja-ptex-bin-3.1.2nb4
===> Building for ja-ptex-bin-3.1.2nb4
cd /usr/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk/web2c; /usr/bin/gnumake
cd man && /usr/bin/gnumake all
gnumake[1]: Nothing to be done for `all'.
cd /usr/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk/web2c/ptex-3.1.2; /usr/bin/gnumake

TEXMFCNF=../../kpathsea
TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//:
TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//:
/usr/bin/gnumake files="--progname=ptex ptex.tex min10.tfm"
prereq-check

TEXMFCNF=../../kpathsea
TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//:
TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//:
../../kpathsea/kpsewhich --progname=ptex ptex.tex min10.tfm
>/dev/null \ || /usr/bin/gnumake prereq-lose >/dev/null

TEXMFCNF=../../kpathsea
TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//:
TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//:
./ptex -ini --kanji=euc --jobname=ptex-euc \\input ptex \\dump
</dev/null || # XXX

/bin/sh: -c: line 2: syntax error: unexpected end of file
gnumake: *** [ptex-euc.fmt] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/print/ja-ptex-bin
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/print/ja-ptex-bin/work/.work.log
===> 
*** Error code 1
この中に書いてある cd の行を見て、
cd /usr/pkgsrc/print/teTeX-bin/work/tetex-src-2.0.2/texk/web2c/ptex-3.1.2; /usr/bin/gnumake
としても、同じ問題になるが、この中の最後を見て、
TEXMFCNF=../../kpathsea
TEXINPUTS=.:..:{../../../texmf,../../../texmf.local}/ptex//:
TEXFONTS={../../../texmf,../../../texmf.local}/fonts/tfm/ptex//:
./ptex -ini --kanji=euc --jobname=ptex-euc \\input ptex \\dump
</dev/null || # XXX
を(改行を消しておいて)入力して 実行すると、正常終了する。何かとても些細な問題があるやうな。

手で上の実行をしておけば、また続けられる..

AucTeX に戻って:

  566  cd cvs-work/auctex/
  569  ./configure
  570  make install
が ..
Loading subst-jis...

In toplevel form:
tex.el:38:1:Error: Cannot open load file: tex-site
make: *** [tex.elc] Error 1
harry:~/Documents/cvs-work/auctex makoto$ 
どうも、一度に make install とするのは良くないらしい。make; sudo make install とすると、 正常終了。 (と思ったら、jsarticle が入っていない) ... ja-ptex-bin だけで bmake package していただけのやうだ。

vfxdvi and gcc-4.0:

hrs さん方面から、vfxdvi は捨てたら、と言われているのだが、....
gcc-4.0 では問題があるので、次の patch を当てる: fman.c:526: error: static declaration of 'ReturnCache' follows non-static declaration
harry:~ makoto$ vfxdvi hoge.dvi 
Unexpected error in "read_ZEIT_char()"
harry:~ makoto$ 
次のようにして解決。
harry:~ makoto$ cd /usr/pkgsrc/fonts/watanabe_vfont/
harry:/usr/pkgsrc/fonts/watanabe_vfont makoto$ sudo bmake package
(これで本当にいいのかなぁ)



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)