Fedora 12 (32bit) †必要パッケージ †ptexlive.cfg †[reading] ../ptexlive.cfg Linux kurofune.tanaken.home 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux PATH="/var/tmp/ptexlive2008/texlive-20080816-source/inst/bin/:/usr/lib/qt-3.3/bi n:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/ bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ktanaka/bin:/home/ktanaka/bin" ISO_DIR="/mnt/texlive" TEXLIVE_DIR="/usr/local/texlive/2008" PREFIX="/usr/local/texlive/p2008" TMP_PREFIX="/var/tmp/ptexlive2008" TEXSRC_EXTRACTED="" SRC_TAR="/mnt/texlive/source/texlive-20080816-source.tar.lzma" TEXMFDIST="" EXTRA_CMAP="" EXTRA_TRUETYPE="" EXTRA_OPENTYPE="" BASH="/bin/bash" MAKE="gmake" PATCH="patch" MD5="md5sum" LZMA="lzma -cd" KANJI_CODE="UTF8" SYSTEM_NKF="yes" STRIP="no" メッセージ †これまでのFedoraと同様にコンパイルしようとしたのですが以下のようにエラーが出ます。 Making all in lib gmake[5]: Entering directory `/var/tmp/ptexlive2008/texlive-20080816-source/Work /libs/teckit/lib' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. /../libs/teckit/lib -I.. -I../../../../libs/teckit/source/Public-headers -g -O2 -DNDEBUG -MT Compiler.lo -MD -MP -MF .deps/Compiler.Tpo -c -o Compiler.lo `t est -f '../../../../libs/teckit/source/Compiler.cpp' || echo '../../../../libs/t eckit/lib/'`../../../../libs/teckit/source/Compiler.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I../../../../libs/teckit/lib -I.. -I../../../../libs/t eckit/source/Public-headers -g -O2 -DNDEBUG -MT Compiler.lo -MD -MP -MF .deps/Co mpiler.Tpo -c ../../../../libs/teckit/source/Compiler.cpp -fPIC -DPIC -o .libs/ Compiler.o ../../../../libs/teckit/source/Compiler.cpp: In function 'char* TECkit_GetTECkit Name(UInt32)': ../../../../libs/teckit/source/Compiler.cpp:212: error: 'sprintf' was not declar ed in this scope ../../../../libs/teckit/source/Compiler.cpp: In function 'const char* asHex(UInt 32, short int)': ../../../../libs/teckit/source/Compiler.cpp:349: error: 'sprintf' was not declar ed in this scope ../../../../libs/teckit/source/Compiler.cpp: In function 'const char* asDec(UInt : ../../../../libs/teckit/source/Compiler.cpp:357: error: 'sprintf' was not declar ed in this scope gmake[5]: *** [Compiler.lo] Error 1 gmake[5]: Leaving directory `/var/tmp/ptexlive2008/texlive-20080816-source/Work/ libs/teckit/lib' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/var/tmp/ptexlive2008/texlive-20080816-source/Work/ libs/teckit' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/var/tmp/ptexlive2008/texlive-20080816-source/Work/ libs/teckit' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/var/tmp/ptexlive2008/texlive-20080816-source/Work' このCompiler.cppというファイルと“error: 'sprintf' was not declared in this scope”というエラーメッセージで調べるとGentooのバグレポート http://bugs.gentoo.org/show_bug.cgi?id=249224 があり、Compiler.cppに #include <cstdio> と1行加えれば解決するようです。……が、ptexliveのパッチとしてどういうふうに作ればよいのかわかっていないので対応できていない状況です。
|