[NTG-pdftex] 1.40.4 incoming

George N. White III gnwiii at gmail.com
Sat Jul 7 17:57:15 CEST 2007

On 7/7/07, Martin Schröder <martin at oneiros.de> wrote:

> I want to leave for TUG2007 with a released 1.40.4.


> The svn has in branches/stable the current version of 1.40.4. Please
> test and tell me what I've forgotten. :-)

I just did:

$ svn checkout svn://scm.foundry.supelec.fr/svn/pdftex/branches/stable
Checked out revision 171. [pdftex-1.40.4]

I (slightly) abused your build.sh configuration by compiling with -std=c99 on
Fedora Release 7 (i686, gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)) and
using system libraries (fewer chances for the compile to fail and less time to

              --with-system-zlib \
              --with-system-ncurses \
              --with-system-pnglib \
              --with-system-t1lib \
              --with-system-gd \
              --with-system-freetype \

This still gives the error for strsep:

cc -march=i686 -std=c99 -DHAVE_CONFIG_H  -I.
-I../../../../src/texk/web2c/pdftexdir -I..
-I../../../../src/texk/web2c/pdftexdir/../..  -I..
-I../../../../src/texk/web2c/pdftexdir/.. -I../..
-I../../../../src/texk/web2c/pdftexdir/../.. -I../../../libs/md5
-I../../../libs/xpdf -I../../../libs/xpdf/..
-I../../../libs/obsdcompat -I../../../libs/obsdcompat/..
-DpdfTeX -g -O2  -c ../../../../src/texk/web2c/pdftexdir/utils.c -o
In file included from ../../../../src/texk/web2c/pdftexdir/utils.c:23:
error: expected identifier or '(' before '__extension__'
error: expected identifier or '(' before ')' token
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory
make: *** [pdftexdir/libpdf.a] Error 2

My workaround is:
mv libs/obsdcompat/config.h libs/obsdcompat/config.h.ac
sed -e 's,/\* #undef HAVE_STRSEP \*/,#define HAVE_STRSEP 1 /* GNW */,' \
 < libs/obsdcompat/config.h.ac \
 > libs/obsdcompat/config.h

I never got a response to my posting on the openssh list about
this problem.

The result passed the "fmtutil-sys --all" test and is able to compile
story.tex and
sample2.tex.  I also checked that bug 762 is fixed:

pdfTeX warning: pdftex: No flags specified for non-embedded font `Symbol' (psyr
) (I'm using 4): fix your map entry.

[so the mapfiles shipped in TL2007 need to be adjusted]

For those who haven't seen mention of linux-gate.so (it doesn't actually
exist as a .so file <http://www.trilithium.com/johan/2005/08/linux-gate/>):

[gwhite at cerberus pdftex-1.40.4]$ ldd $(which pdftex)
        linux-gate.so.1 =>  (0x00c89000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x004fd000)
        libz.so.1 => /lib/libz.so.1 (0x002cb000)
        libm.so.6 => /lib/libm.so.6 (0x00299000)
        libc.so.6 => /lib/libc.so.6 (0x00143000)
        /lib/ld-linux.so.2 (0x00124000)

George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia

More information about the ntg-pdftex mailing list