Problem beim Installieren von PDF LIB *Debian*

Bash, Shell, PHP, Python, Perl, CGI
flibbi
Posts: 94
Joined: 2002-09-28 18:42

Problem beim Installieren von PDF LIB *Debian*

Post by flibbi » 2004-12-03 13:21

Hallo,

ich erhalte folgenden Error beim installieren der pdflib (will das pdf.so Modul der Version 5.0.1 bauen) via pear - alle nötigen Module sollten installiert sein, ebenso g++ und die gd.h wurde wie in der Anleitung zu pdflib beschrieben, ins ext Verzeichnis von php kopiert:

Code: Select all

downloading pdflib-2.0.3.tgz ...
Starting to download pdflib-2.0.3.tgz (36,143 bytes)
..........done: 36,143 bytes
7 source files, building
running: phpize
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
path to pdflib installation? : /usr/local/
building in /var/tmp/pear-build-root/pdflib-2.0.3
running: /tmp/tmpRnNEX2/pdflib-2.0.3/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 file name... 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 for gcc option to accept ANSI C... none needed
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/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
checking for PHP extension directory... /usr/lib/php4/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... mawk
checking for PDFlib support... yes, shared
checking for PDF_open_pdi in -lpdf... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /var/tmp/pear-build-root/pdflib-2.0.3/libtool --mode=compile gcc  -I. -I/tmp/tmpRnNEX2/pdflib-2.0.3 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pdflib-2.0.3/include -I/var/tmp/pear-build-root/pdflib-2.0.3/main -I/tmp/tmpRnNEX2/pdflib-2.0.3 -I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM -I/usr/local//include  -DHAVE_CONFIG_H  -g -O2  -prefer-pic -c /tmp/tmpRnNEX2/pdflib-2.0.3/pdf.c -o pdf.lo
mkdir .libs
 gcc -I. -I/tmp/tmpRnNEX2/pdflib-2.0.3 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pdflib-2.0.3/include -I/var/tmp/pear-build-root/pdflib-2.0.3/main -I/tmp/tmpRnNEX2/pdflib-2.0.3 -I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM -I/usr/local//include -DHAVE_CONFIG_H -g -O2 -c /tmp/tmpRnNEX2/pdflib-2.0.3/pdf.c  -fPIC -DPIC -o .libs/pdf.o
/tmp/tmpRnNEX2/pdflib-2.0.3/pdf.c: In function `zif_pdf_open_memory_image':
/tmp/tmpRnNEX2/pdflib-2.0.3/pdf.c:7234: error: structure has no member named `tpixels'
make: *** [pdf.lo] Fehler 1
`make' failed
Hat jemand nen Tipp was ich falsch mache oder anders machen sollte? Auch googeln hilft mir leider nicht, ebenso wie die Boardsuche..

Scheint eher ein Problem von gd zu sein, nicht von pdflib - allerdings wüsste ich nicht was ich noch installieren soll.

Danke und Gruß

lord_pinhead
RSAC
Posts: 830
Joined: 2004-04-26 15:57

Re: Problem beim Installieren von PDF LIB *Debian*

Post by lord_pinhead » 2004-12-20 14:09

Hast du schonn mal GD neu installiert inkl. Developer (Source) Packet?