Lars Hecking wrote:
>> > Starting a test installation of PHP 4 now, and while I can get
> > everything working without GD, any attempt to include it causes
> > the whole thing to refuse to compile. Very annoying, and quite
> > a common complaint from the PHP lists.
>> Well, it never failed for me. Why not share the relevant configure
> and/or make output so that we can diagnose the problem?
Solved it myself, finally ;-)
The problem is with existing installations of gd, which aren't being
correctly overridden by a new (gd-1.8.3) install. Even trying to force
PHP to look at the new installation was failing.
I eventually solved this by finding and nuking the gd-1.2 installation
which was placed by default in /usr/lib, and leaving my new install of
gd-1.8.3 in /usr/local/lib
Then I reconfigured php-4.02 with with '--with-gd' flag (no args),
together with all of the other args for Apache, MySQL, etc., and
this time it compiled and installed perfectly.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!