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
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]