Arch Linux †必要パッケージ †freetype2 2.3.12-1 gd 2.0.36RC1-3 libpng 1.4.1-1 poppler 0.12.4-1 t1lib 5.1.2-2 xpdf 3.02_pl4-2 xpdf-japanese 20040727-4 zlib 1.2.3.9-1 ptexlive.cfg †diffは以下の通りです. --- ptexlive.sample 2010-03-08 00:48:54.000000000 +0900 +++ ../ptexlive.cfg 2010-03-11 07:44:01.000000000 +0900 @@ -11,13 +11,14 @@ TEXLIVE_VERSION=2009 ### (必須) mount した TeX Live 2009 DVD のディレクトリを指定 -ISO_DIR=/media/TeXLive2009 +#ISO_DIR=/media/TeXLive2009 #ISO_DIR=/Volumes/TeXLive2009 #ISO_DIR=/mnt/cdrom +ISO_DIR=/mnt/iso ### (任意) install した TeX Live 2009 のディレクトリを指定 # TEXLIVE_DIR=/usr/local/texlive/2009 -# TEXLIVE_DIR=$ISO_DIR +TEXLIVE_DIR=$ISO_DIR ### (任意) install する ptexlive のディレクトリを指定 # PREFIX=/usr/local/texlive/p2009 @@ -27,6 +28,7 @@ # TMP_PREFIX=`pwd`/build ### (任意) make font でフォント検索するディレクトリを追加指定 +EXTRA_CMAP="/usr/share/fonts" # EXTRA_CMAP="/usr/local/cmap;/c/program files/cmap" # EXTRA_TRUETYPE="/usr/local/ttf;/c/program files/truetype" # EXTRA_OPENTYPE="/usr/local/otf;/c/program files/opentype" @@ -36,19 +38,19 @@ ### (任意) make 中に最大 N 個のプロセスを起動する(高速化) ### N は (コア数+1) にするのがよいらしい -make_option -j 2 # for single core -# make_option -j 3 # for 2 core +# make_option -j 2 # for single core +make_option -j 3 # for 2 core # make_option -j 5 # for 4 core # make_option -j # unlimit ### (任意) 既にライブラリが存在すれば、それを使う -# conf_option --with-system-zlib -# conf_option --with-system-libpng # using system-zlib -# conf_option --with-system-freetype2 # using system-zlib -# conf_option --with-system-gd # using system-libpng, system-freetype2 -# conf_option --with-system-t1lib +conf_option --with-system-zlib +conf_option --with-system-libpng # using system-zlib +conf_option --with-system-freetype2 # using system-zlib +conf_option --with-system-gd # using system-libpng, system-freetype2 +conf_option --with-system-t1lib # conf_option --with-system-freetype -# conf_option --with-system-xpdf +conf_option --with-system-xpdf ### OS 付属の freetype2 は pxdvi の縦書きに必要な otvalid モジュールが ### 無効になっていることが多いので注意。 @@ -137,7 +139,7 @@ ### もし md5sum コマンドがあれば[自動判別] -# MD5=md5sum +MD5=md5sum ### もし gmd5sum コマンドがあれば[自動判別] # MD5=gmd5sum @@ -149,7 +151,7 @@ # MD5=none ### もし xzdec コマンドがあれば[自動判別] -# XZ=xzdec +XZ=xzdec ### もし 7za コマンドがあれば[自動判別] # XZ="7za x -so" @@ -168,4 +170,4 @@ ### ディスクを少々節約する(知識がないと設定は困難) ### solaris ではうまく動かないことが多い -# conf_option --enable-shared +conf_option --enable-shared エラーが出るあたりのログは以下の通りです. ./../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'void copyFont(char*, Object*)': ../../../texk/web2c/pdftexdir/pdftoepdf.cc:398: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:400: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:401: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:403: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:405: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:407: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:411: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:413: warning: deprecated conversion from string constant to 'char*' /usr/include/poppler/GfxFont.h: In function 'void writeEncodings()': /usr/include/poppler/GfxFont.h:230: error: 'virtual GfxFont::~GfxFont()' is protected ../../../texk/web2c/pdftexdir/pdftoepdf.cc:653: error: within this context ../../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'integer read_pdf_info(char*, char*, integer, integer, integer, integer)': ../../../texk/web2c/pdftexdir/pdftoepdf.cc:708: error: 'class PDFDoc' has no member named 'getPDFVersion' ../../../texk/web2c/pdftexdir/pdftoepdf.cc: In function 'void write_epdf()': ../../../texk/web2c/pdftexdir/pdftoepdf.cc:979: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:983: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:988: warning: deprecated conversion from string constant to 'char*' ../../../texk/web2c/pdftexdir/pdftoepdf.cc:993: warning: deprecated conversion from string constant to 'char*' make[7]: *** [libpdftex_a-pdftoepdf.o] Error 1 make[7]: *** Waiting for unfinished jobs.... mv -f .deps/pdftex-pdftex3.Tpo .deps/pdftex-pdftex3.Po mv -f .deps/pdftex-pdftex2.Tpo .deps/pdftex-pdftex2.Po make[7]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/texk/web2c' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/texk/web2c' make[5]: *** [all] Error 2 make[5]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/texk/web2c' make[4]: *** [subtexk] Error 1 make[4]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/texk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/texk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work' real 4m0.583s user 4m12.730s sys 0m51.357s + echo 2 find: `/var/tmp/ptexlive2009/texlive-20091011-source/inst/bin': No such file or directory ./Build: Build failed, no executables under /var/tmp/ptexlive2009/texlive-20091011-source/inst/bin. done Thu Mar 11 08:19:00 JST 2010 make[1]: *** [stage3] エラー 2 make[1]: ディレクトリ `/home/chiba/src/ptexlive/ptexlive-20100308' から出ます メッセージ †GfxFont.hによるエラーのようですが, 私の知識ではどうトライしたらよいか分かりません. popplerをアンインストールして試してみても コンパイルができませんでした.
|