Debian GNU/Linux sid on amd64

  • ページ: 動作報告
  • 投稿者: anonymous?
  • 状態: 成功
  • ptexliveバージョン:20100711
  • 投稿日: 2010-10-28 (木) 23:37:35

必要パッケージ

  • ed, sed, egrep 等(普段のコンパイル用に既に入れているので特別な追加はしていない)
  • lesstif
  • xzdec, unzip
  • clisp, clisp-dev, cl-asdf, common-lisp-controller, libffcall1, realpath

ptexlive.cfg

TEXLIVE_VERSION=2009
ISO_DIR=/media/cdrom
EXTRA_TRUETYPE="/usr/share/fonts/truetype"
EXTRA_OPENTYPE="/usr/share/fonts/opentype"
conf_option -C
make_option -j 3
export CONFIG_SHELL="/bin/bash"
conf_option --enable-luatex
conf_option --enable-xetex
conf_option --enable-xdv2pdf
conf_option --enable-xdvipdfmx
conf_option --enable-dialog
conf_option --enable-pdfopen
conf_option --enable-ps2eps
conf_option --enable-psutils
conf_option --enable-t1utils
conf_option --enable-tpic2pdftex
conf_option --enable-vlna
conf_option --enable-afm2pl
conf_option --enable-bibtex8
conf_option --enable-cjkutils
conf_option --enable-detex
conf_option --enable-devnag
conf_option --enable-dtl
conf_option --enable-dvi2tty
conf_option --enable-dvidvi
conf_option --enable-dviljk
conf_option --enable-dvipng
conf_option --enable-dvipos
conf_option --enable-lacheck
conf_option --enable-lcdf-typetools
conf_option --enable-musixflx
conf_option --enable-seetexk
conf_option --enable-tex4htk
conf_option --enable-ttf2pk
conf_option --enable-ttfdump
conf_option --enable-kanji-iconv
STRIP=yes
conf_option --with-xdvi-x-toolkit=motif
XDVI=echo
PSPDF=echo
KANJI_CODE=UTF8

メッセージ

babel 込みの環境構築。eptex-100420.tar.bz2 を展開後、eptex-100420-patch1.diff を適用した後に eptex ディレクトリより採取した6babel.sh を ptexlive-20100711 ディレクトリ中にコピーし、

  • make all0
  • ./6babel.sh
  • make otf
  • make fonty
  • make test
    [-dNOKANJI] test
    /var/tmp/ptexlive2009/texlive-20091011-source/inst/bin/x86_64-unknown-linux-gnu/dvipdfmx dNOKANJI.dvi
    dNOKANJI.dvi -> dNOKANJI.pdf
    [1Segmentation fault
    
    ** WARNING ** Filtering file via command -->ps2pdf -dCompatibilityLevel=1.4 -sPAPERSIZE=a0 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode /tmp/ptexlive/ptexlive-20100711/ptexlive-test-23316/dNOKANJI.eps /tmp/dvipdfmx.X9QyrNi<-- failed.
    ** WARNING ** Image format conversion for "/tmp/ptexlive/ptexlive-20100711/ptexlive-test-23316/dNOKANJI.eps" failed...
    ** ERROR ** pdf_ref_obj(): passed invalid object.
    
    Output file removed.
    make: *** [stage8] エラー 1
    と出るがこれは無視。
  • su → make install でノーエラーでインストール完了。

  • ↑です。「しおり」が文字化けしますが、定番の:
    \AtBeginDvi{\special{pdf:tounicode EUC-UCS2}}
    で文字化けしなくなります。-- anonymous 2010-10-29 (金) 18:52:03
  • ↑です。上のコンパイルで唯一外していた xindy ですが、
    x86_64-linux-gnu-gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC  -I/usr/lib/clisp-2.48/linkkit -c ordrulei.c
    x86_64-linux-gnu-gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC  -I/usr/lib/clisp-2.48/linkkit -funsigned-char -I. -c ordrules.c
    x86_64-linux-gnu-gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC  -I. -c rxsub.c
    ordrulei.c: In function 'module__ordrulei__init_function_1':
    ordrulei.c:24: error: 'tcflag_t' undeclared (first use in this function)
    ordrulei.c:24: error: (Each undeclared identifier is reported only once
    ordrulei.c:24: error: for each function it appears in.)
    ordrulei.c:24: error: expected ')' before numeric constant
    ordrulei.c:25: error: 'speed_t' undeclared (first use in this function)
    ordrulei.c:25: error: expected ')' before numeric constant
    ordrulei.c:26: error: 'cc_t' undeclared (first use in this function)
    ordrulei.c:26: error: expected ')' before numeric constant
    ordrulei.c:27: error: 'clisp_dirent_off_t' undeclared (first use in this function)
    ordrulei.c:27: error: expected ')' before numeric constant
    ordrulei.c:28: error: 'clisp_dirent_ino_t' undeclared (first use in this function)
    ordrulei.c:28: error: expected ')' before numeric constant
    ordrulei.c:44: error: '__ipc_pid_t' undeclared (first use in this function)
    ordrulei.c:44: error: expected ')' before numeric constant
    ordrulei.c:48: error: 'ptrdiff_t' undeclared (first use in this function)
    ordrulei.c:48: error: expected ')' before numeric constant
    make[8]: *** [ordrulei.o] Error 1
    make[8]: *** Waiting for unfinished jobs....
    make[8]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/utils/xindy/rte/ordrules'
    make[7]: *** [../binaries/xindy.run] Error 2
    make[7]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/utils/xindy/rte'
    make[6]: *** [all-recursive] Error 1
    make[6]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/utils/xindy/rte'
    make[5]: *** [all-recursive] Error 1
    make[5]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/utils/xindy'
    make[4]: *** [subutils] Error 1
    make[4]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/utils'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work/utils'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/var/tmp/ptexlive2009/texlive-20091011-source/Work'
    Command exited with non-zero status 2
    404.94user 92.61system 6:13.18elapsed 133%CPU (0avgtext+0avgdata 905856maxresident)k
    0inputs+881912outputs (0major+17772798minor)pagefaults 0swaps
    + 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 Mon Nov 1 09:19:42 JST 2010
    make[1]: *** [stage3] エラー 2
    make[1]: ディレクトリ `/tmp/ptexlive/ptexlive-20100711' から出ます
    
    Those messages are stored in 'log-1101-0912'.
    
    make: *** [all0] エラー 1
    という具合になって通りません。依存関係があると思われる clisp 関連のパッケージは入れてあるんですが…… -- anonymous 2010-11-01 (月) 09:31:09
  • Debianのバグトラックに同じような報告があるようです。参考になるでしょうか。http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467585 -- wakakumo 2010-11-02 (火) 22:53:47
  • 早速やってみました。make stage2 まで行ったところで、
    --- ordrulei.lsp.orig   2010-11-03 13:55:04.110703835 +0900
    +++ ordrulei.lsp        2010-11-03 13:56:18.318250541 +0900
    @@ -15,6 +15,30 @@
     
     (c-lines "#include \"ordrules.h\"~%")
     
    +; clisp does not produce these include calls
    +(c-lines
    +  (concatenate 'string "#include <termios.h>~%"
    +    "#include <bits/ipctypes.h>~%"
    +    "#include <stddef.h>~%"))
    +
    +; The following lines are the lines 1845 to 1858 from
    +; http://clisp.cvs.sourceforge.net/clisp/clisp/modules/bindings/glibc/linux.lisp?revision=1.25&view=markup
    +
    +;;; ============================== <dirent.h> ================================
    +(c-lines "#include <dirent.h>~%")
    +
    +;;; ----------------------------- <bits/dirent.h> ---------------------------
    +;; d_type is only in dirent64, not in dirent in <linux/dirent.h>,
    +;; but it appears to BE required, and does appear in <bits/dirent.h>
    +
    +(c-lines "#ifndef __USE_FILE_OFFSET64
    +typedef __ino_t clisp_dirent_ino_t;
    +typedef __off_t clisp_dirent_off_t;
    +#else
    +typedef __ino64_t clisp_dirent_ino_t;
    +typedef __off64_t clisp_dirent_off_t;
    +#endif~%")
    +
     ; Common OS definitions:
     (def-c-type size_t uint)
     
    /var/tmp/ptexlive2009/texlive-20091011-source/utils/xindy/rte/ordrules/ordrulei.lsp
    に当ててから make stage3 に進むことで、xindy のコンパイルは通るようになりました。 -- anonymous 2010-11-03 (水) 13:01:14


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2011-03-11 (金) 10:10:10 (5016d)