Hi, I try to install the PDFLib PECL Module with PHP 5.0.1 and PDFlib 4.0.3
Then i get the following: # pear install pdflib downloading pdflib-2.0.2.tgz ... Starting to download pdflib-2.0.2.tgz (23,053 bytes) ........done: 23,053 bytes 5 source files, building running: phpize Configuring for: PHP Api Version: 20031224 Zend Module Api No: 20040412 Zend Extension Api No: 220040412 autoheader: `config.h.in' is created path to pdflib installation? [autodetect] : /usr/local building in /var/tmp/pear-build-root/pdflib-2.0.2 running: /tmp/tmpfeuDmd/pdflib-2.0.2/configure --with-pdflib=/usr/local checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20040412 checking for re2c... exit 0; checking for gawk... gawk checking for PDFlib support... yes, shared checking for PDF_open_pdi in -lpdf... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool configure: creating ./config.status config.status: creating config.h running: make /bin/sh /var/tmp/pear-build-root/pdflib-2.0.2/libtool --mode=compile gcc -I. -I/tmp/tmpfeuDmd/pdflib-2.0.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pdflib-2.0.2/include -I/var/tmp/pear-build-root/pdflib-2.0.2/main -I/tmp/tmpfeuDmd/pdflib-2.0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -prefer-pic -c /tmp/tmpfeuDmd/pdflib-2.0.2/pdf.c -o pdf.lo gcc -I. -I/tmp/tmpfeuDmd/pdflib-2.0.2 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pdflib-2.0.2/include -I/var/tmp/pear-build-root/pdflib-2.0.2/main -I/tmp/tmpfeuDmd/pdflib-2.0.2 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpfeuDmd/pdflib-2.0.2/pdf.c -fPIC -DPIC -o pdf.lo /tmp/tmpfeuDmd/pdflib-2.0.2/pdf.c:87:28: ext/gd/php_gd.h: No such file or directory /tmp/tmpfeuDmd/pdflib-2.0.2/pdf.c:7155:19: pdf4.c: No such file or directory make: *** [pdf.lo] Fehler 1 `make' failed I can't locate pdf4.c anywhere ... -- Sönke