Mark Seger wrote:
Mike - you're a genius! even with your help I stumpled a tad but it was
You mean Matt.
my own fault. I had all 3 kits, jpeg, png and zlib already installed
but not the devel versions. When I tried installing the latest I got
all kinds of version conflicts and so backed up t
Mike - you're a genius! even with your help I stumpled a tad but it was
my own fault. I had all 3 kits, jpeg, png and zlib already installed
but not the devel versions. When I tried installing the latest I got
all kinds of version conflicts and so backed up to earlier versions of
the devel o
"Mark Seger" <[EMAIL PROTECTED]> Wrote:
> ok, I confess, I must be stupid, but...
>
> ./configure --with-apxs2=/usr/local/bin/apxs --with-mysql --with-gd
>
> generates an error that it can't find libpng. adding
> --with-png-dir=/usr/lib doesn't help. but if I now remove the --with-gd
> switch it
ok, I confess, I must be stupid, but...
./configure --with-apxs2=/usr/local/bin/apxs --with-mysql --with-gd
generates an error that it can't find libpng. adding
--with-png-dir=/usr/lib doesn't help. but if I now remove the --with-gd
switch it builds. so how to I get png AND gd support built
ok, here we go again... I started out with a clean system so I didn't
leave any unsuccessful installations behind.
I installed apache
I installed jpeg
I went to build php with:
./configure --with-apxs2=/usr/local/bin/apxs --with-mysql --with-gd
--with-jpeg-dir=/usr/lib
and it died with:
config
yikes - I just reread what I wrote and the second sentence had magically
changed to 'with-gd' so I guess my eyes were all hazed over from reading
though a bazillion messages on the topic. sorry about that. I'll see
if I can get that to work...
-mark
Mark Seger wrote:
but even on the page you
but even on the page you're pointing me to - http://php.net/image - it
says to use the --enable-gd switch in the second sentence of the
following extract from that page:
" To enable GD-support configure PHP --with-gd[=DIR], where DIR is the
GD base install directory. To use the recommended bun
>I can't believe I have to ask, but I've already blown close to a day
>trying to get this to work. The bottom line is it appears I don't have
>gd configured because when I run a script that uses a library which
>references gd, I get the infamous "Call to undefined function:
>imagecreate()", whic
Mark Seger wrote:
[...]
--with-apxs2=/usr/local/bin/apxs --with-mysql --enable-gd
I think the option is actually '--with-gd', not '--enable-gd'.
Worked for me. Hope this helps.
--
Matt M.