Hi, after updating TeTeX to app-text/tetex-3.0_p1-r3 USE="X doc -Xaw3d -lesstif -motif -neXt -tk" thumbpdf won't work anymore because it tries to run the command pdftex (I think that's in line 808 in /usr/share/texmf/scripts/thumbpdf/thumbpdf.pl) which is not available anymore. The error message I get is: shell> thumbpdf RatherBigBook.pdf THUMBPDF 3.7, 2004/11/19 - Copyright (c) 1999-2004 by Heiko Oberdiek. *** make png files / run Ghostscript *** Processing pages 1 through 270. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] [188] [189] [190] [191] [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203] [204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215] [216] [217] [218] [219] [220] [221] [222] [223] [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235] [236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247] [248] [249] [250] [251] [252] [253] [254] [255] [256] [257] [258] [259] [260] [261] [262] [263] [264] [265] [266] [267] [268] [269] [270] *** make `thumbpdf.pdf' / run pdfTeX *** sh: pdftex: command not found *** clear temp files *** !!! Error: Cannot execute pdfTeX! In my LaTeX-preamble I use \usepackage{thumbpdf} Regards, Stefan Kamphausen shell> emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4,glibc-2.3.4.20040808-r1, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.6 Last Sync: Thu, 09 Nov 2006 08:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 arts artswrappersuid bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt cups dlloader doc dri elibc_glibc emacs encode flac fortran gdbm gif gnutls gpm gtk gtk2 iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kerberos kernel_linux libg++ linguas_de linguas_en mad mp3 mpeg mule ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python quicktime readline reflection sasl sdl session spell spl ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis win32codecs xemacs xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 155226 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > *** Bug 155226 has been marked as a duplicate of this bug. *** Sorry, bugs.gentoo.org didn't respond after my first submit.
More symlinks fun \o/ /usr/bin/pdftex exists here and is a symlink to /usr/bin/pdfetex. Do you have the latter? If yes, a quick and dirty fix is to add the symlink yourself, but we need to come with a clean fix. Would it be possible for you to provide a (gzipped) full log of the emerge of tetex? Thanks.
(In reply to comment #3) > More symlinks fun \o/ > > /usr/bin/pdftex exists here and is a symlink to /usr/bin/pdfetex. Do you have > the latter? If yes, a quick and dirty fix is to add the symlink yourself, but > we need to come with a clean fix. I already tried that but then I get: *** make `thumbpdf.pdf' / run pdfTeX *** *** parse `thumbpdf.pdf' *** *** clear temp files *** !!! Error: `obj' expected on line 2! Just another error ;-) > Would it be possible for you to provide a (gzipped) full log of the emerge of > tetex? Thanks. Sure, please tell me how. I found a log in /var/log/portage/elog but that's probably not what you need. Do you want me to remerge it and capture the output? Sorry, if I'm asking stupid questions here, any pointers are welcome Stefan
Hum, something looks really broken in your tetex install, then. It should definitely work with a symlink. What I'm after, yes, is a full output of an emerge session. You can use the nice "tee" util if you want to monitor it as well. Thanks.
Created attachment 102941 [details] tetex merge log I have the same problem of pdftex not being available after the merge. Happens reliably for me on ~amd64 and ~ppc-macos. Only in prefix though. Emerge log attached. Fixing the pdflatex symlink doesn't solve the problem but results in other errors for files not found, etc.
Hi, sorry for the delay. I could now provide another tetex merge log, but I think it's superfluous now that Fabian provided one, right? Regards Stefan
please do provide it, because my setup is pretty non-standard.
Created attachment 103787 [details] bzipped_emerge_tetex_output I created this file with: shell> emerge tetex | tee /tmp/emerge_tetex.log shell> bzip2 /tmp/emerge_tetex.log
I think you should try texlive. At least that one seems not to have this weird stuff.
tetex is dead, long live texlive
removed from the tree, wontfix