ID: 25463
User updated by: [email]nathanphp.net[/email]
Reported By: [email]nathanphp.net[/email]
-Status: Feedback
+Status: Open
Bug Type: ClibPDF related
Operating System: Linux 2.4
PHP Version: 4.3.3
New Comment:

Ok. --with-gd does not compile, the error is related to cannot find
gd.h from within cpdf.c

--with-gd=somepath does work, using external GD.

I dont have a test machine i can reproduce it on now...since its a
production server I was installing on, now that its on there.


Previous Comments:
------------------------------------------------------------------------

[2003-09-09 23:58:39] [email]sniperphp.net[/email]

Works just fine for me. (as usual)

And is it now with --with-gd=somepath or --with-gd ????
Your 'reproduce code' shows that you used external GD?
So with which does the 'not compile' happen?
And I really, REALLY need to know WHAT doesn't work.
Do you get some error? Or what?

FYI: I do expect a little bit better bug reports from people who's
email address contains php.net...


------------------------------------------------------------------------

[2003-09-09 22:52:29] [email]nathanphp.net[/email]

Description:
------------
When installing with --with-clibpdf, if using the Bundled GD (4.3.2 and
4.3.3), the compile will fail. Compiling GD on its own, and using
--with-gd=/usr/local/gd2 and then compiling with ClibPDF works fine.

Reproduce code:
---------------
../configure --prefix=/usr/local/php
--with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-cli
--disable-cgi --with-zlib --with-bz2 --enable-calendar --enable-exif
--enable-ftp --with-gd=/usr/local/gd2
--with-jpeg-dir=/usr/local/libjpeg
--with-freetype-dir=/usr/local/freetype2 --with-iconv --enable-sockets
--with-curl=/usr --with-mcrypt=/usr --with-cpdflib

Expected result:
----------------
Build fine.

Actual result:
--------------
Do not have exact error. Relates to no such file or directory gd.h,
expecting to find the version in dir --with-gd=x, doesnt know where to
find bundled version.


------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=25463&edit=1[/url]