Toon posts:

PHP compile probleem

Pagina: 1
Acties:

Verwijderd

Topicstarter
Als ik PHP wil compilen met pflib krijg ik de volgende fout bij het commando make.

Grr, pdf support wilt maar niet werken. :(
Krijg telkens de volgende fout:
make[3]: Entering directory `/root/php-4.0.5/ext/pdf'
/bin/sh /root/php-4.0.5/libtool --silent --mode=compile gcc -I. -I/root/php-4.0.5/ext/pdf -I/root/php-4.0.5/main -I/root/php-4.0.5 -I/usr/include/apache -I/root/php-4.0.5/Zend -I/usr/local/include/freetype -I/usr/local/include -I/root/php-4.0.5/ext/mysql/libmysql -I/root/php-4.0.5/ext/xml/expat/xmltok -I/root/php-4.0.5/ext/xml/expat/xmlparse -I/root/php-4.0.5/TSRM -DLINUX=2 -DNO_DBM_REWRITEMAP -DMOD_SSL=202108 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -DEAPI -DBIG_SECURITY_HOLE -DCOBALT_RAQ_LED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c pdf.c
pdf.c: In function `php_if_pdf_close_pdi_page':
pdf.c:2704: too many arguments to function `PDF_close_pdi_page'
make[3]: *** [pdf.lo] Error 1
make[3]: Leaving directory `/root/php-4.0.5/ext/pdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.5/ext/pdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.5/ext'
make: *** [all-recursive] Error 1
[root@ns1 php-4.0.5]#
Uiteraard heb ik wel pdflib geinstaleerd en jpeg tiff etc.

  • LuCarD
  • Registratie: Januari 2000
  • Niet online

LuCarD

Certified BUFH

Misschien is het handig om de configure regel te posten?

PHP 4.0.6 is uit :P als je toch bezig bent

Programmer - an organism that turns coffee into software.


  • igmar
  • Registratie: April 2000
  • Laatst online: 20-04 22:06

igmar

ISO20022

Als ik PHP wil compilen met pflib krijg ik devolgende fout bij het commando make install.

Grr, pdf support wilt maar niet werken. :(
Krijg telkens de volgende fout:
[..]
a) Welke versie van PDFlib heb je ?
b) Welke versie van PHP heb je ?

Aan de melding te zien detecteerd PHP het PDFlib versienummer niet goed. Of je hebt twee PDFlib versies op je bak staan

Verwijderd

Topicstarter
Ik gebruik PHP 4.0.5 en PDFlib 4.0.1
Als het goed is heb ik 1 versie op de server staan, maar mochten er 2 versies op staan, hoe zorg ik er dan voor dat eerst beide versie zijn verwijderd?

./configure --with-apxs --with-mysql --with-ftp --with-xml --with-gd=/usr/local --with-zlib=/usr/local --enable-track-vars --with-pdflib=/usr/local --with-ttf --with-jpeg-dir=/usr/local --enable-versioning

Zo wordt PHP geconfigured