Re: STILL having Troubles getting GD support with jpegs, possiblity:
| From: | David Robley | Date: | Tue, 30 Apr 2002 10:53:30 +0000 |
| Subject: | Re: STILL having Troubles getting GD support with jpegs, possiblity: | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95356@lists.php.net to get a copy of this message | ||
In article <3CCE5750.3060707@bigpond.net.au>, arevill@bigpond.net.au
says...
>
> =============================
> CC all Replies to arevill@bigpond.net.au
> =============================
> Ok, im STILL having problems, im close to tears here that this is not
> working, its INFURIATING
>
> so basically, I was hoping php 4.2 has support for Jpeg GD OR if someone
> has a prebuilt GD with JPEG they could send me? i would not ask normally
> but this just plain is NOT working and its getting to the point where im
> giving up in frustration
> Here is the error, but i seriously doubt much can be done:
>
> (p.s no response from the GD developer when i asked about installation
> issues)
>
>
> [root gd-1.8.4]# make
> gcc -I. -I/usr/include/freetype2 -I/usr/include/X11
> -I/usr/X11R6/include/X11 -I/usr/local/include
> -I/home/sites/www.gni.ms/users/develop/jpeg-6b
if your jpeg lib is in /home/sites/www.gni.ms/users/develop then that is
allyou have to specify: use the parent directory not the absolute file
name
> -I/usr/local/include/libpng -I/usr/local/bin pngtogd.o -o pngtogd
here you probably want /usr/local for libpng - assuming that it is
located in /usr/local/lib
> -L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lm -lgd -lz -jpeg
wtf is -jpeg?
> gcc: unrecognized option `-jpeg'
> pngtogd.o: In function `main':
> pngtogd.o(.text+0x6b): undefined reference to `gdImageCreateFromPng'
> collect2: ld returned 1 exit status
> make: *** [pngtogd] Error 1
>
>
> Anyone could help it would be greatly appreciated
> =============================
> CC all Replies to arevill@bigpond.net.au
> =============================
>
>
--
David Robley
Temporary Kiwi!
Quod subigo farinam