Hi people,

I have 2 small problems that I really hope you can help me with.

I am trying to install Midgard 1.2.5 on a Slackware Linux server (kernel
2.2.13, Apache 1.3.9) but when I try to compile the midgard-php-1.2.5
package, I get the following error:

/usr/local/lib/libgd.a(gd.o): In function `gdImageColorResolve':
gd.o(.text+0x2f4): multiple definition of `gdImageColorResolve'
libmodphp3-so.a(gd.o):/home/difadm/pakud/midgard-php-1.2.5/functions/gd.c:29
1: first defined here
/usr/i386-slackware-linux/bin/ld: Warning: size of symbol
`gdImageColorResolve' changed from 243 to 226 in gd.o
collect2: ld returned 1 exit status
apxs:Break: Command failed with rc=65536
make: *** [libphp3.so] Error 1


This is a known issue with PHP and is fixed in PHP 3.0.14, so my question is
this; is there any way to use PHP 3.0.14 with midgard 1.2.5 ? or some other
way to work around this problem ?

In case you want to know, here is the ./configure line I use to configure
midgard-php-1.2.5 :

./configure --with-midgard=/usr/local/lib --with-mysql=/usr/local/mysql
--with-config-file-path=/etc/httpd --enable-track-vars --with-system-regex
--with-apxs=/usr/local/apache/bin/apxs
--with-apache=/usr/local/apache/include


Also when compiling mod_midgard-1.2.5 I get the following error when trying
to configure it with "./configure --with-midgard=/usr/local
--with-apache=/usr/local/apache" :

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking for apxs... /usr/local/apache/bin/apxs
checking for mgd_connect in -lmidgard... no
*** You need the Midgard library for using mod_midgard.      ***
*** Use the --with-midgard option to tell                    ***
*** the configure script where to look for the library.      ***
*** Check also that both the Midgard library and the MySQL   ***
*** client library are on your dynamic library load path.    ***
configure: error: Midgard library libmidgard not found


At this point I think I should tell you that I /did/ run "ldconfig", and
midgard-php-1.2.5 has no problem finding the midgard-lib (instead it has the
GD problem)...

I hope somebody is able to help me resolv these issues as I'd really like to
use midgard.


Best regards
Jesper Juhl


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