ID: 29297
Updated by: [EMAIL PROTECTED]
Reported By: v_santhanam at ettimadai dot amrita dot edu
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Redhat Enterprise Linux AS 3
PHP Version: 4.3.8
Assigned To: rjs
Previous Comments:
------------------------------------------------------------------------
[2004-09-17 07:30:00] v_santhanam at ettimadai dot amrita dot edu
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
------------------------------------------------------------------------
[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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
If it's not supported then configure should check for it. Assigning to
the maintainer.
------------------------------------------------------------------------
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