#21644 [Opn->Fbk]: PHP compile fails with PDFLIB

From: Date: Wed, 15 Jan 2003 09:26:21 +0000
Subject: #21644 [Opn->Fbk]: PHP compile fails with PDFLIB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30078@lists.php.net to get a copy of this message
ID: 21644 Updated by: sniper@php.net Reported By: ekonopka@konopka.org -Status: Open +Status: Feedback Bug Type: PDF related Operating System: Slackware Linux 2.8 PHP Version: 4.3.0 New Comment: Did you try with clean, unmodified PHP 4.3.0 sources? And try adding the path, use --with-pdflib=/usr/local Previous Comments: ------------------------------------------------------------------------ [2003-01-14 20:00:30] ekonopka@konopka.org Same error messages. ------------------------------------------------------------------------ [2003-01-14 19:28:17] sniper@php.net Try WITHOUT the patch. ------------------------------------------------------------------------ [2003-01-14 18:48:50] ekonopka@konopka.org Using PHP 4.3.0 and PDFLIB 4.0.3 with the PHP 4.3.0 patch (pdf.c) I can't compile PHP. I build PDFLIB from source, copied the pdf.c and config.php-406+.m4 to the php-4.3.0/ext/pdf directory (the config to config.m4). Configured PHP with: ./configure --prefix=/opt/php --exec-prefix=/opt/php --with-mysql --with-apache=../apache_1.3.27 --with-pdflib Since PDFLIB base directory is /usr/local I didn't specify a PDFLIB path. It configures fine, but during the make I get (last few lines of output): ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam': /root/source/php-4.3.0/ext/mysql/libmysql/my_tempnam.c:103: the use of tempnam' is dangerous, better use mkstemp' main/internal_functions_cli.o: In function `php_startup_internal_extensions': /root/source/php-4.3.0/main/internal_functions_cli.c:69: undefined reference to `pdf_module_entry' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 If you need more output, let me know. I have never successfully built PHP with PDFLIB on all sorts of different platforms. I'm surprised other people have been able to. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21644&edit=1

« previous php.bugs (#30078) next »