Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] 3.0.12 + PDFlib 2.0 From: Marco Pirovano (marco.pirovano <email protected>)
Date: 08/03/99

Hello,
I'm trying to install PHP 3.0.12 with PDFlib 2.0 support.
My environment is:

- Solaris 2.6
- Apache 1.3.6
- PDFlib 2.0
- zlib 1.1.3
- jpeg 6b
- libtiff 3.4

I run configure command with this options:

root <email protected> /usr/local/src/php-3.0.12 > ./configure
--with-mysql=/usr/local/mysql --with-apache=../apache_1.3.6
--enable-track-vars --with-pdflib

but I got this error:

checking whether to include pdflib support... yes
configure: warning: !!!!! Note for pdflib 0.6 !!!!!
configure: warning: In order to ensure the pdf module works correctly
configure: warning: modify the pdflib distribution. Take out line 190 in
configure: warning: file p_basic.c which closes the pdf file. Read the php3
configure: warning: documentation for more information.
checking for PDF_close in -lpdf... no
configure: error: pdflib module requires at least pdflib 0.6

and this is wath my config.log says:

configure:9843: checking whether to include pdflib support
configure:9859: checking for PDF_close in -lpdf
configure:9878: gcc -o conftest -g -O2 conftest.c -lpdf -lgd -lpam -lm
-ldl -
lsocket -lnsl -lresolv 1>&5
Undefined first referenced
 symbol in file
TIFFGetField /usr/local/lib/libpdf.so
TIFFOpen /usr/local/lib/libpdf.so
_TIFFmalloc /usr/local/lib/libpdf.so
deflateInit_ /usr/local/lib/libpdf.so
TIFFSetErrorHandler /usr/local/lib/libpdf.so
TIFFClose /usr/local/lib/libpdf.so
TIFFReadRGBAImage /usr/local/lib/libpdf.so
_TIFFfree /usr/local/lib/libpdf.so
deflate /usr/local/lib/libpdf.so
deflateEnd /usr/local/lib/libpdf.so
TIFFSetWarningHandler /usr/local/lib/libpdf.so
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 9867 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
char PDF_close();

int main() {
PDF_close()
; return 0; }

Any suggestion ?
Thank you very much!

Ciao,
Marco

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>