Bug #60385 [Com]: Make Failure - pdflib
| From: | hhcbrg at gmail dot com | Date: | Mon, 30 Apr 2012 20:31:24 +0000 |
| Subject: | Bug #60385 [Com]: Make Failure - pdflib | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-9346@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60385&edit=1
ID: 60385
Comment by: hhcbrg at gmail dot com
Reported by: richard at bizznix dot com
Summary: Make Failure - pdflib
Status: Open
Type: Bug
Package: PECL
Operating System: OS X 10.7
PHP Version: 5.4.0RC2
Block user comment: N
Private report: N
New Comment:
I have the same problem running a linux debian testing version with php 5.4, the followind solution
work for me.
after attempting installing pdflib with :pecl install pdflib
I got the same error so when the program creates the tmp file /tmp/pear/temp/pdflib/pdf7.c and
before I enter the path to pdflib installation? : /usr/local
I manually modify the pdf7.c in the temp directory in the line 336 where it says
"default_properties" just change it to "default_properties_table", that is the
NEW name for that property in the zend struct.
After that I was able to build the "pdf.so".
Note that I am not a 'C' programmer or a PHP developer, so I do not know if this is good
solution, but for now, it works.
Hope this information will be helpful.
Previous Comments:
------------------------------------------------------------------------
[2011-12-10 20:02:22] richard at bizznix dot xom
This is the same as Bug #60397.
------------------------------------------------------------------------
[2011-11-25 12:55:40] richard at bizznix dot com
Description:
------------
When using PECL to install PDFLIB in 5.4.0 RC2, make fails with the following:
In file included from /private/tmp/pear/temp/pdflib/pdf.c:131:
/private/tmp/pear/temp/pdflib/pdf7.c: In function âpdflib_object_new_exâ:
/private/tmp/pear/temp/pdflib/pdf7.c:336: error: âzend_class_entryâ has no member
named âdefault_propertiesâ
make: *** [pdf.lo] Error 1
ERROR: `make' failed
Note that make for PDFLIB succeeds for 5.3.9 RC2.
This problem also occurred with 5.4.0 RC1.
Expected result:
----------------
Make for PDFLIB should succeed.
Actual result:
--------------
Make for PDFLIB fails.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60385&edit=1