Ubuntu 8.04 †必要パッケージ †ptexlive.cfg †### (necessary) specify the mount point of TeX Live 2008 DVD ISO_DIR=~/working/ptexlive/mnt #ISO_DIR=/mnt/cdrom ### (optional) specify the place of installed TeX Live 2008 # TEXLIVE_DIR=/usr/local/texlive/2008 TEXLIVE_DIR=$ISO_DIR ### (optional) specify the place of installing ptexlive # PREFIX=/usr/local/texlive/p2008 ### (optional) specify additional font directory for detecting while 'make font' # 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" ### (suggest) make use of existing libraries conf_option --with-system-zlib conf_option --with-system-pnglib conf_option --with-system-gd conf_option --with-system-ncurses conf_option --with-system-t1lib ### next 2 lines should be enabled at the same time #conf_option --with-system-freetype #conf_option --without-ttf2pk ### make use of system freetype2 library ### attention if system freetype2 enable 'otvalid' module ### which is nesessary for vertical writing in pxdvi ### next 4 lines should be enabled at the same time #if freetype-config --ftversion > /dev/null 2>&1; then #conf_option --with-system-freetype2 #conf_option --with-freetype2-include=`freetype-config --cflags | sed -e 's/-I//' -e 's/ .*//'` #fi ### (suggest) exclude some tools (save compiling time) conf_option --without-dialog conf_option --without-pdfopen conf_option --without-ps2eps conf_option --without-psutils conf_option --without-t1utils conf_option --without-texinfo conf_option --without-tpic2pdftex conf_option --without-vlna conf_option --without-xindy conf_option --without-afm2pl conf_option --without-bibtex8 conf_option --without-cjkutils conf_option --without-detex conf_option --without-devnag conf_option --without-dtl conf_option --without-dvi2tty conf_option --without-dvidvi conf_option --without-dviljk conf_option --without-dvipng conf_option --without-dvipos conf_option --without-lacheck conf_option --without-lcdf-typetools conf_option --without-musixflx conf_option --without-seetexk conf_option --without-tex4htk conf_option --without-xdv2pdf conf_option --without-xetex conf_option --without-xdvipdfmx conf_option --without-xdv2pdf ### use iconv for kanji <=> unicode conversion # conf_option --enable-kanji-iconv ### don't execute strip (convenient for debuging) # STRIP=no ### specify the tool kit of xdvi ### (default is auto detect, 'motif' is the best choice) conf_option --with-xdvi-x-toolkit=motif # conf_option --with-xdvi-x-toolkit=xaw # conf_option --with-xdvi-x-toolkit=xaw3d # conf_option --with-xdvi-x-toolkit=neXtaw ### if we don't have X environment # conf_option --without-x # conf_option --without-xdvik ### exclude xdvi/pxdvi while 'make test' # XDVI=echo ### exclude ps2pdf while 'make test' # PSPDF=echo ### specify input/output encoding of ptex/platex command (default:UTF8) ### 'UTF8' is a ptexenc's extention (not by ASCII Corp.) # KANJI_CODE=UTF8 # KANJI_CODE=EUC # KANJI_CODE=SJIS # KANJI_CODE=JIS ### helpful when we have errors around ncurses # conf_option --without-texinfo # conf_option --without-dialog ### specify the place of libraries # CPPFLAGS="-I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/openwin/include" # LDFLAGS="-L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/openwin/lib" # LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/openwin/lib # export LDFLAGS CPPFLAGS LD_LIBRARY_PATH ### debug scripts # set -x ### use GNU tools [automatic] # MAKE=gmake # PATCH=gpatch ### if we have 'md5sum' command [automatic] # MD5=md5sum ### if we have 'gmd5sum' command [automatic] # MD5=gmd5sum ### if we have 'digest' command (Solaris 10) [automatic] # MD5="digest -a md5" ### if we have neither 'md5' nor 'md5sum' commands (dangerous) # MD5=none ### if we have 'lzmadec' command [automatic] LZMA="unlzma --stdout" ### if we have '7za' command [automatic] # LZMA="7za x -so" ### specify the temporary working directory # TMP_PREFIX=`pwd`/build ### specify the final install directory # PREFIX=%{_prefix} # DATADIR=%{_datadir} ### specify the place of texlive-*-source.tar.lzma (helpful to RPM) # SRC_TAR=%{_sourcedir}/texlive-20080816-source.tar.lzma ### specify extracted texlive-*-source.tar.lzma directory (helpful to RPM) # TEXSRC_EXTRACTED=%{_builddir} ### specify extracted texmf-dist (helpful to re-install or RPM) # TEXMFDIST=/usr/local/texlive/share/texmf-dist ### specify the directory of auto generated fonts # make_option vartexfonts=/var/lib/texmf ### save disk space (requires some advanced knowledge) ### sometimes goes wrong on solaris # conf_option --enable-shared ### compile on SMP environment ### (Don't specify because we fail to compile jbibtex.) # make_option -j 2 j メッセージ †make 中に pagefault します. エラーメッセージはこれです: cd /var/tmp/ptexlive2008/texlive-20080816-source/inst/bin/i686-pc-linux-gnu && strip * >/dev/null 2>&1 || true make world done. make[2]: Leaving directory `/var/tmp/ptexlive2008/texlive-20080816-source/Work' 1545.61user 103.85system 41:19.76elapsed 66%CPU (0avgtext+0avgdata 0maxresident)k 128456inputs+1023856outputs (77major+7811485minor)pagefaults 0swaps ./Build: 189 binaries in /var/tmp/ptexlive2008/texlive-20080816-source/inst/bin. mktexlsr: Updating /var/tmp/ptexlive2008/texlive-20080816-source/inst/texmf/ls-R... mktexlsr: Updating /var/tmp/ptexlive2008/texlive-20080816-source/inst/texmf-dist/ls-R... mktexlsr: Done. make[1]: *** [stage3] エラー 1 make[1]: ディレクトリ `/home/jiro/working/ptexlive/ptexlive-20090524' から出ます Those messages are stored in 'log-0525-1148'. make: *** [all0] エラー 1
|