Compiling Problem with PDFLib for PHP (Solaris 2.8)

From: Date: Wed, 23 May 2001 11:00:57 +0000
Subject: Compiling Problem with PDFLib for PHP (Solaris 2.8)
Groups: php.install 
Request: Send a blank email to php-install+get-3262@lists.php.net to get a copy of this message
Hallo, I have got a problem compiling PHP with PDFLib. Since I do not know whether the problem lies with PHP or PDFLib I have posted to both groups. PDFLib 4.01, PHP 4.05 as DSO for Apache 1.3.19 on Sun Solaris 2.8. I cannot use PDFLib as loadable module as I run PHP in safe mode. PHP confiuration: ./configure --prefix=/www-cgi/local \ --without-perl --enable-cxx --enable-shared --enable-shared-pdflib make make install Worked without any errors PHP configuration: ./configure --prefix=/www-cgi/local --exec-prefix=/www-cgi/PHP \ --with-apxs=/www-cgi/Apache/bin/apxs \ --with-config-file-path=/www-cgi/Apache/conf \ --with-exec-dir=/www-cgi/PHP/safebin \ --without-fdftk \ --with-pdflib=/www-cgi/local Worked OK. But I got the following error in make: [cut] Making all in pdf /bin/sh /work/www-cgi/source/php-4.0.5/libtool --silent --mode=compile gcc -I/work/ww: In function Php_if_pdf_close_pdi_page'::2704: too many arguments to function PDF_close_pdi_page' *** Error code 1: Fatal error: Command failed for target Pdf.lo'working directory /work/www-cgi/source/php-4.0.5/ext/pdf *** Error code 1: Fatal error: Command failed for target All- recursive'working directory /work/www-cgi/source/php-4.0.5/ext/pdf *** Error code 1: Fatal error: Command failed for target All- recursive'working directory /work/www-cgi/source/php-4.0.5/ext *** Error code 1: Fatal error: Command failed for target All-recursive' Can anyone shed some light on the problem? Mike Middleton ------------------------------------------------------------- Michael Middleton RZ der Universitaet Regensburg 93040 REGENSBURG Tel: +49-941/943-4890 F R Germany

« previous php.install (#3262) next »