To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-02-2002, 10:01 AM   #1
korksoft
Junior Member
 
Join Date: Nov 2002
Location: Florida, USA
Posts: 1
Exclamation PHP 4.2.3 + GD 2.0.4 + FreeType 2.1.2

We're trying to setup PHP4.2.3 with GD 2.0.4 and FreeType 2.1.2, we contineously get the following error (see below).

The configure string is as follows:

./configure --with-fdftk --with-gettext --with-mysql --with-xml --enable-ftp --enable-sockets --enable-pclnt --with-apxs=/home/httpd/bin/apxs --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr/local --enable-gd-native-ttf --enable-gd-imgstrttf

We are enabling several other extensions at the same time as well, which, shouldn't effect the compilation.

While compiling, we get the following error. I reviewed the source code (briefly) and it seems to be OK. Following suggestions that we found elsewhere, we removed the previous version of GD 1.8.4 which was already installed on the server.

Any ideas? We've been working on this for DAYS now!

make[3]: Entering directory `/root/kits/php-4.2.3/ext/gd'
/bin/sh /root/kits/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/root/kits/php-4.2.3/ext/gd -I/root/kits/php-4.2.3/main -I/root/kits/php-4.2.3 -I/home/httpd/include -I/root/kits/php-4.2.3/Zend -I/usr/local/include/freetype2/freetype -I/root/kits/php-4.2.3/ext/mysql/libmysql -I/root/kits/php-4.2.3/ext/xml/expat -DLINUX=22 -DMOD_SSL=208108 -DUSE_HSREGEX -DEAPI -I/root/kits/php-4.2.3/TSRM -g -O2 -prefer-pic -c gd.c
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/root/kits/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/kits/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kits/php-4.2.3/ext'
make: *** [all-recursive] Error 1
korksoft is offline   Reply With Quote
Old 11-03-2002, 11:06 PM   #2
mattwade
Senior Member
 
mattwade's Avatar
 
Join Date: Jan 2002
Posts: 252
Recently the GD folks have been making some changes to GD.....i would recommend using GD 2.0.1 rather than 2.0.4....if you really want to use 2.0.4, here is a message that was posted to the php.dev mailing list that will show you how to get it to work:

http://news.php.net/article.php?grou...&article=90126
__________________
Matt Wade
http://codewalkers.com/ - Home of the PHP Coding Contest
http://phphosts.codewalkers.com/ - Directory of PHP Web Hosts. Free Listing.
mattwade is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:17 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.