there is an option for the PHP3 configure script to leave out the gd* 
functions. It is called --without_gd (or something similar, I don't have access 
to the Linux system right now). Search the configure script for this option.

After fixing that, midgard runs just fine on my SuSE 6.4 system.

Arne

-----Original Message-----
From:   Gerhard Kraemmer [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, September 13, 2000 12:33 PM
To:     [EMAIL PROTECTED]
Subject:        [midgard] SuSE 6.4 - problems with compiling PHP3

Hi,

I tried to install midgard 1.2.5 on SuSE 6.4, MySQL and Apache are
preinstalled (as *.rpm).

When I try to compile the midgard PHP3 the following error appears (on two
different server):

gcc -O2 -m486 -O6 -DLINUX=2 -DMOD_SSL=206102 -DUSE_HSREGEX -DEAPI
-DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE
-I/usr/include/apache -I. -I.  -c ./mod_php3.c
gcc -shared -o libphp3.so mod_php3.o libmodphp3-so.a -L/usr/local/lib -lgd
-L/usr/lib/mysql -lmysqlclient -lgdbm pcrelib/libpcre.a -L/usr/local/lib
-lmidgard -lpam -lm -ldl -lcrypt -lnsl -lresolv -Lpcrelib -lpcre
-Wl,-rpath /usr/lib/mysql
/usr/lib/libgd.a(gd.o): In function `gdImageColorResolve':
gd.o(.text+0x320): multiple definition of `gdImageColorResolve'
libmodphp3-so.a(gd.o):/usr/src/midgard-php-1.2.5/functions/gd.c:291: first
defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `gdImageColorResolve'
changed from 220 to 224 in gd.o
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=65536
make: *** [libphp3.so] Error 1

Did anyone have the same problems ????

Thanks in advance

Gerhard



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to