Bug #11014 Updated: Can't build PDFlib with PHP successfully
| From: | sniper@php.net | Date: | Tue, 22 May 2001 21:50:57 +0000 |
| Subject: | Bug #11014 Updated: Can't build PDFlib with PHP successfully | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56363@lists.php.net to get a copy of this message | ||
ID: 11014
Updated by: sniper
Reported By: leo@sayya.org
Old-Status: Open
Status: Bogus
Bug Type: PDF related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
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
Previous Comments:
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
[2001-05-22 07:07:29] 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?
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11014&edit=2