Re: Installing PHP With GD
| From: | Brad Hubbard | Date: | Tue, 09 Jan 2001 22:41:39 +0000 |
| Subject: | Re: Installing PHP With GD | ||
| References: | 1 | Groups: | php.general php.install |
| Request: | Send a blank email to php-general+get-33571@lists.php.net to get a copy of this message | ||
I've had the same problem. Try just --with-gd and no path i.e.
./configure --with-pgsql --with-apache=/usr/src/local/apache-_1.3.12 \
--with-gd --enable-track-vars
This forces PHP to do a "static" build of GD (someone who knows more about
this could
probably explain it better, anyone?).
I believe your original syntax of --with-gd-dir=/usr/lib/ is wrong anyway
and should be --with-gd=/usr/lib
you'll also need the gd-devel-1.8.3-4.i386.rpm off the RH7 CD installed.
HTH,
Brad
----- Original Message -----
From: "James Snelling" <fatboy2000@btinternet.com>
To: <php-install@lists.php.net>
Cc: <php-general@lists.php.net>
Sent: Tuesday, January 09, 2001 11:30
Subject: [PHP] Installing PHP With GD
> Hi, I have been trying to configure PHP 4 with GD, but not getting very
far!
>
> I'm running a red hat 7.0 box, fresh install with all packages apart from
> postgres, PHP and apache (I'll build them from tar.gz's later)
>
> GD, Libpng, Zlib are all on the system by nature of the rpm's installed
with
> the main linux install.
>
> I've been using the configue option
>
>
./configure --with-pgsql --with-apache=/usr/src/local/apache-_1.3.12 --with-
> gd-dir=/usr/lib/ --enable-track-vars
>
> but the configure bombs out every time saying it cannot find libgd
anywhere
> below the /usr/lib directory.
>
> Has anyone else out there seen any web page tutorials that could help, or
> used php with GD?
>
> Thanks in advance, James (Stressed out university student!)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>