installing GD 2.0.15 on linux/rh9/plesk cannot find jpeg/png

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
syragon
Forum Newbie
Posts: 1
Joined: Sat Nov 29, 2003 2:59 pm
Location: canada
Contact:

installing GD 2.0.15 on linux/rh9/plesk cannot find jpeg/png

Post by syragon »

hey... im really frustrated... il buy bags of candy, boxes of beer, and nuts for anyone who can help me

please dont say to upgrade to php 4.3.* because im using the PLESK control panel and im being advised not to, and im worried if i do PLESK will act up...

not to mention i tried RPMs and compiling PHP 4.3.4 with no luck (couldnt find libraries that were already in php 4.2.2?)



anyways... i have the GD 2.0.15 tarball... untarred in /home/gd/gd-2.0.15

i currently have GD 1.6.2 installed, with jpeg, png and wbmp/freetype etc.

./configure



checking for png_create_read_struct in -lpng... no
configure: WARNING: libpng is required - see http://www.libpng.org/pub/png/
checking for freetype-config... no
checking for FT_Init_FreeType in -lfreetype... no
configure: WARNING: not found - disabling freetype support
checking freetype/freetype.h usability... no
checking freetype/freetype.h presence... no
checking for freetype/freetype.h... no
checking for jpeg_set_defaults in -ljpeg... no
checking for XpmReadFileToXpmImage in -lXpm... no

** Configuration summary for gd 2.0.15:

Support for PNG library: no
Support for JPEG library: no
Support for Freetype 2.x library: no
Support for Xpm library: no

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands





however my PHPinfo page says PNG, JPEG and FreeType support is installed...

my php configure has --with-jpeg=/usr

so i am assuming that jpeg is in /usr...

i tried ./configure --with-jpeg=/usr on GD

same errors...

why does it say non of it is supported?

i went ahead and compiled it... but it didnt change the version of GD in phpinfo...

im a bit new to linux compiling... please help me!

thank you so much....
Post Reply