Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old August 14th, 2000, 03:57 AM
H.Bonenkamp H.Bonenkamp is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Veenendaal, The Netherlands
Posts: 3 H.Bonenkamp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I installed gd-1.8.3, jpeg-6b and zlib-1.1.3
I configured php-4.0.1pl2 with following:
./configure --with-apache=../apache_1.3.12 --with-gd=../gd-1.8.3 --with-jpeg-dir=../jpeg-6b --with-zlib=/usr/local
--with-xml --with-ftp

make
install

Then I compiled apache-1.3.12 to use php as a shared modude.
The ./configure with all the correct options works fine.
make returns in an error:
size of symbol gdImageColorResolve changed from 274 to 266 in gd.o.(gd.c)
Aparently the variable gdImageColorResolve is defined two times but with different sizes.

Does anyone have ideas on how to get rid of this error?

It perhaps has to do with the gd.c file in php-4.0.1pl2/ext/gd directory and the gd.c file in gd-1.8.3 directory.

Reply With Quote
  #2  
Old August 14th, 2000, 10:12 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 2 m 4 sec
Reputation Power: 43
Your configuration of PHP was meant for static linking to apache, not shared object. For shared object compiling, it should look like:

./configure --with-apxs=/usr/local/apache/bin/apxs
--with-gd=../gd-1.8.3 --with-jpeg-dir=../jpeg-6b --with-zlib=/usr/local --with-xml --with-ftp

As for your GD error, I spent my counless frustrating hours with GD, Freetype, and PHP, to come up with a documented method. I'm not saying it's the only method but it works in FreeBSD, and (I think) Linux:

I posted it in the "Image Functions" section of the PHP annotated manual. http://www.php.net/manual/ref.image.php

Look for the post at the bottom by rick@e-possibility.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > gd enabled php -apache module: make error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway