this is with gcc-3.2: ../../libtool --silent --mode=compile gcc -c -I../../pdflib -march=pentium3 -O3 -pipe -fforce-addr -falign-functions =4 -fprefetch-loop-arrays -DPDF_PLATFORM=\""Linux 2.4.20-lolo-r1_pre2"\" image.c In file included from hello.cpp:9: pdflib.hpp:91: `string' was not declared in this scope pdflib.hpp:91: parse error before `)' token [snip] pdflib.hpp:202: `string' was not declared in this scope pdflib.hpp:202: parse error before `,' token make[1]: *** [hello.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/cpp' make: [cpp] Error 2 (ignored) ../../libtool --silent --mode=compile gcc -c -I../../pdflib -march=pentium3 -O3 -pipe -fforce-addr -falign-functions =4 -fprefetch-loop-arrays -DPDF_PLATFORM=\""Linux 2.4.20-lolo-r1_pre2"\" pdfclock.c ../../libtool --silent --mode=link gcc -static -o hello hello.lo ../../pdflib/libpdf.la -lpng -lz -lstdc++ -lm -lz ../../libtool --silent --mode=link gcc -static -o image image.lo ../../pdflib/libpdf.la -lpng -lz -lstdc++ -lm -lz ../../libtool --silent --mode=link gcc -static -o pdfclock pdfclock.lo ../../pdflib/libpdf.la -lpng -lz -lstdc++ -l m -lz make[1]: Leaving directory `/var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/c' >>> Install pdflib-4.0.1-r3 into /var/tmp/portage/pdflib-4.0.1-r3/image/ category media-libs cp: cannot stat `/var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/java/Makefile': No such file or directory sed: can't read /var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/java/Makefile.orig: No such file or director y cp: cannot stat `/var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/python/Makefile': No such file or directory sed: can't read /var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/python/Makefile.orig: No such file or direct ory cp: cannot stat `/var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/tcl/Makefile': No such file or directory sed: can't read /var/tmp/portage/pdflib-4.0.1-r3/work/pdflib-4.0.1/bind/tcl/Makefile.orig: No such file or directory cd pdflib && make install
Sorry, I'm inactive and these bugs should have been reassigned to someone else. Bouncing to bug-wranglers.
gcc-3.2 too, emerging pdflib-4.0.1-r3 went without problems. To the OP: does the same problem exist with pdflib-4.0.3 ?
pdflib-4.0.3-r1 takes on all known compile problems and has full support for all language bindings. There is also an update to a source file for compatibility with php-4.3.0. Marked stable.