| Article: |
PHP 4.3 and Mac OS X | |
| Subject: | Configuring with PHP 4.3's bundled libgd | |
| Date: | 2003-01-17 08:24:44 | |
| From: | trachtenberga | |
|
Response to: Configuring with PHP 4.3's bundled libgd
|
||
|
From ./configure --help:
|
||
Showing messages 1 through 3 of 3.
-
Configuring with PHP 4.3's bundled libgd
2003-01-18 04:33:45 pierre_ [View]
-
Configuring with PHP 4.3's bundled libgd
2003-01-20 13:33:37 Adam Trachtenberg |
[View]
You're right. I got PHP to compile with the bundled version of GD.
In addition to --with-gd, I needed to pass --with-png-dir=/sw because my libgd.a was in /sw/lib instead of /usr/lib.
-adam -
Configuring with PHP 4.3's bundled libgd
2003-02-28 18:45:24 tychay [View]
don't you mean libpng.a? ;-)
The issue is that gd requires either libtiff or libpng (I think) to be available somewhere in your ld library path. Since neither is included by default in the Mac OS, the ./configure will fail with a very unhelpful error.
Take care,
terry chay
tychay at php dot net



I do not meet any problem on MacOS X. But if you got any problem to compile php with the bundled lib, feel free to post a bugreport on bugs.php.net, we will fix asap.
hth
pierre