|
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 previewghostscript の方は 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(これで本当にいいのかなぁ) ( つっこみ )
|
最近の日記 2026年01月29日 ・Die Fledermaus at New National theatre 2026/01/29 2025年12月25日 ・pbulk 11.99.3 (emacs30) 2025年11月22日 ・crash dump 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? | ||