Bug #11014 Updated: Can't build PDFlib with PHP successfully

From: Date: Wed, 23 May 2001 02:51:21 +0000
Subject: Bug #11014 Updated: Can't build PDFlib with PHP successfully
Groups: php.dev 
Request: Send a blank email to php-dev+get-56407@lists.php.net to get a copy of this message
ID: 11014 User Update by: leo@sayya.org Status: Bogus Bug Type: PDF related Operating system: Linux 2.2.14 i586 PHP Version: 4.0.5 Description: Can't build PDFlib with PHP successfully If I configure pdflib with this path '/usr', it'll tell me 'checking for PDF_show_boxed in -lpdf... no' So, I don't think so that my path wrong.. Any other suggest? Thanks! checking for Ovrimos SQL Server support... no checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include PDFlib support... yes checking for libz needed by pdflib 3.x... already zlib support checking for jpeg_read_header in -ljpeg... (cached) yes checking for png_create_info_struct in -lpng... no no checking for TIFFOpen in -ltiff... no no checking for PDF_show_boxed in -lpdf... no configure: error: pdflib extension requires pdflib 3.x. [root@dns php-4.0.5]# Previous Comments: --------------------------------------------------------------------------- [2001-05-22 23:50:57] sniper@php.net You are using wrong paths in the configure options. You should use the INSTALL paths of the libs, not the libpath. ie. --with-pdf=/usr --Jani --------------------------------------------------------------------------- [2001-05-22 19:57:48] leo@sayya.org I saw the config.log file, search keyword: pdf and found one line only: configure:9682: checking whether to include cpdflib support Is cpdflib same to pdflib? Should I install cpdflib? --------------------------------------------------------------------------- [2001-05-22 18:45:35] sniper@php.net Please check your config.log. Most likely there is some missing library. --Jani --------------------------------------------------------------------------- [2001-05-22 12:26:56] leo@sayya.org Hi! I'm install PDFlib rpm files (pdflib-4.0.1-1,pdflib-tcl-4.0.1-1,pdflib-devel-4.0.1-1). My PHP configure lines: ./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.19 --enable-ftp --enable-discard-path --with-pdflib=/usr/lib --with-gd That's OK! System don't response any error messages! Then, I compile PHP and Apache source code. No any error messages during compiling. But.. It still can't use any pdf functions like pdf_open(). My Linux box will tall me "Fatal error: Call to undefined function.." I tried to compile PHP with PDFlib again, and saw some information: (1) checking whether to include PDFlib support... yes (2) creating ext/ftp/Makefile creating ext/gd/Makefile creating ext/mysql/Makefile creating ext/pcre/Makefile creating ext/pcre/pcrelib/Makefile creating ext/posix/Makefile creating ext/session/Makefile creating ext/standard/Makefile creating ext/xml/Makefile creating ext/xml/expat/Makefile creating ext/xml/expat/xmlparse/Makefile creating ext/xml/expat/xmltok/Makefile ==> It did not create ext/pdf/Makefile! P.S: Before compile PHP, I have updated the PHP source sode from PHP and Zend CVS. My commands are: ==> # cvs -d :pserver:cvsread@cvs.php.net:/repository co php4 ==> # cd php4 ==> # cvs -d :pserver:cvsread@cvs.zend.com:/repository co Zend TSRM ==> # cp -r * /usr/src/php-4.0.5/ Is this a bug at php-4.0.5? How can I do that you recommend? <b>P.S: I did checkout the CVS on May 22 morning in Taiwan. </b> --------------------------------------------------------------------------- [2001-05-22 09:02:44] derick@php.net When did you checkout the PHP (and Zend/TSRM) tree from the CVS? Derick --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=11014

« previous php.dev (#56407) next »