#29297 [Csd->Opn]: PDFLib 6 make error

From: Date: Fri, 17 Sep 2004 05:30:07 +0000
Subject: #29297 [Csd->Opn]: PDFLib 6 make error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66328@lists.php.net to get a copy of this message
ID: 29297 User updated by: v_santhanam at ettimadai dot amrita dot edu Reported By: v_santhanam at ettimadai dot amrita dot edu -Status: Closed +Status: Open Bug Type: Compile Failure Operating System: Redhat Enterprise Linux AS 3 PHP Version: 4.3.8 Assigned To: rjs New Comment: Dear Friends, Thanks for all your invaluable effort to make PHP - THE BEST. Please kindly check the problem further reportted by alvaro_php at adplabs dot com dot br . For my server, i reverted back to the old version of PDFLib ie. 5. If any solution is found for using latest PDFLIb i.e. 6, i will be very much happy. With Regards Santhanam Previous Comments: ------------------------------------------------------------------------ [2004-09-16 20:37:09] alvaro_php at adplabs dot com dot br This is still happening as of php4-STABLE-200409161630. I too get ext/pdf/pdf.lo(.text+0x5fa): In function `zif_pdf_open': /usr/src/php4-STABLE-200409161630/ext/pdf/pdf.c:472: undefined reference to `PDF_open_fp while trying to compile on Fedora Core 2 x86. No luck with PECL version either: SRM -DHAVE_CONFIG_H -g -O2 -c /tmp/tmprYIopN/pdflib-2.0.2/pdf.c -fPIC -DPIC -o .libs/pdf.o /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:87:28: ext/gd/php_gd.h: No such file or directory /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:89:31: ext/gd/libgd/gd.h: No such file or directory /tmp/tmprYIopN/pdflib-2.0.2/pdf.c: In function `zif_pdf_open_memory_image': /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: `gdImagePtr' undeclared (first use in this function) /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: (Each undeclared identifier is reported only once /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: for each function it appears in.) /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7081: error: syntax error before "im" /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7099: error: `im' undeclared (first use in this function) /tmp/tmprYIopN/pdflib-2.0.2/pdf.c:7099: error: syntax error before "zend_fetch_resource" make: *** [pdf.lo] Error 1 Thanks in advance, Álvaro ------------------------------------------------------------------------ [2004-09-13 17:14:39] rjs@php.net This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Removed the extension in ext/pdf as it is available from PECL. ------------------------------------------------------------------------ [2004-09-03 11:34:48] jacques@php.net I think the changes in the PECL version which was a repo copy of ext/pdflib should have the PHP 4 changes MFH so that php 4.3.9 compiles cleanly with pdflib 6 support. ------------------------------------------------------------------------ [2004-09-03 08:39:23] derick@php.net If it's not supported then configure should check for it. Assigning to the maintainer. ------------------------------------------------------------------------ [2004-07-22 16:53:56] rjs@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php The pdf wrapper in PHP 4.3.x is not compatible with PDFlib 6. Please try the PECL package for pdflib, this has the new wrappercode that works with PDFlib 6 too and it can be used with PHP 4.3. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29297 -- Edit this bug report at http://bugs.php.net/?id=29297&edit=1

« previous php.bugs (#66328) next »