GD with MRTG?

Shahid

Verified User
Joined
Dec 10, 2003
Messages
51
I know GD is installed on my machine, when I check in "info.php (<? phpinfo(); ?>) file. GD is listed as enable.

The problem I am having that MRTG wont compile on FreeBSD, it is having problem finding MRTG path include/lib?

./configure --with-gd-lib=/usr/local/lib/ --with-gd-inc=/usr/local/include/

-----
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gdImageGd in -lgd... no
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes
-----

Any clue?

Thanks
 
You may need gd version 1.x which has gif support. gd 2 doesn't have gif support for some reason (rumors im hearing).

If you have the gd rpm installed (probably 1.8.x), you can try using /usr/lib and /usr/include instead.

John
 
DirectAdmin Support said:
You may need gd version 1.x which has gif support. gd 2 doesn't have gif support for some reason (rumors im hearing).

If you have the gd rpm installed (probably 1.8.x), you can try using /usr/lib and /usr/include instead.

John

Thanks for reply.

I have tried to install gd version 1.x from ports (/usr/ports/) and ./configure MRTG with many path I've tried but still no luck.

It found:
checking gd.h usability... yes
checking gd.h presence... yes
checking for gd.h... yes

but not:
checking for gdImageGif in -lgd... no
checking for gdImagePng in -lgd... no
checking for gdImagePng_jpg in -lgd... no
checking for gdImagePng_jpg_ft in -lgd... no
checking for gdImageGd in -lgd... no


very strange, have anyone here manage to install MRTG on FreeBSD without problem?
 
I've the same problem here.

I tried to reinstall apache, but nothing changes.
 
Back
Top