----- Original Message ----- 
> > To clearify and remove misspellings, this is my commandline:
> >  
> > # LDFLAGS=-L/usr/lib/mysql ./configure --prefix=/usr/lical/midgard 
>--with-mysql=/usr/share/mysql --with-expat
> 
> s/lical/local/
> 
--with-expat (the path is default)

> > I tried to compile midgard-lib 1.4 (following the step-by-step instructions in the 
>Midgard manual) on an Mandrake 7.2 machine (original install apache/mysql/php), but 
>are
> > unable to complete. The configure process stops with 
> > ---
> > checking for library containing mysql_connect....no
> > configure: error: You need libmysqlclient
> > .
> > From what I understood in the FAQ, I should include 'LDFLASGS=-I/path/to/mysqllib' 
>in front of './configure ',
> > but this does not help either.
> 
> Should not be necesary anymore. What does config.log say?
> 
> Emile

Here are the last three int main() statements in the config.log file, there is a 
couple more (wich also -I /usr/lib/glib/include), in addition to everything that is 
OK, but I hope this will give some clue.

I am not very good at this, but it seems that there is some files in 
/usr/lib/glib/include that are missing (I have only glibconfig.h in this directory). 
Isn't this what expat installed?

Further on, the path's to mysql seem correct both to lib/ and include/ and the file 
/usr/share/mysql/lib/libmysqlclient.a is present. Version of mysql is 3.23.23.

I have tried to put /usr/share/mysql (and ../lib)i n the ld.so.conf file without any 
more success.

As I said above, this is Mandrake 7.2 straight out of the box, and I see that this 
have been the platform for developlment of Midgard, so I certainly hope you guys can 
help me.

Regards,
Thor Vadstein
---
int main() {
compress()
; return 0; }
configure:1982: checking for library containing g_string_new
configure:2000: gcc -o conftest -g -O2 -I/usr/lib/glib/include   conftest.c -lcrypt  
-L/usr/lib -lglib 1>&5
configure:2044: checking for library containing floor
configure:2062: gcc -o conftest -g -O2 -I/usr/lib/glib/include   conftest.c -lcrypt  
-L/usr/lib -lglib 1>&5
/tmp/ccZ3xNsj.o: In function `main':
/tmp/down/midgard-lib-1.4/configure:2058: undefined reference to `floor'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2051 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char floor();

int main() {
floor()
; return 0; }
configure:2084: gcc -o conftest -g -O2 -I/usr/lib/glib/include   conftest.c -lm  
-lcrypt  -L/usr/lib -lglib 1>&5
configure:2106: checking for iconv
configure:2124: gcc -o conftest -g -O2 -I/usr/lib/glib/include   conftest.c -lm 
-lcrypt  -L/usr/lib -lglib 1>&5
configure:2178: checking whether to enable SiteGroups
configure:2203: checking whether to enable PageLinks (experimental)
configure:2238: checking MySQL location
configure:2274: checking Expat location
configure:2318: checking for library containing mysql_connect
configure:2336: gcc -o conftest -g -O2 -I/usr/lib/glib/include  
-I/usr/share/mysql/include -I/usr/local/include  -L/usr/share/mysql/lib 
-L/usr/local/lib conftest.c -lm -lcrypt  -L/usr/lib -lglib 1>&5
/tmp/ccsYBB5a.o: In function `main':
/tmp/down/midgard-lib-1.4/configure:2332: undefined reference to `mysql_connect'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2325 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_connect();

int main() {
mysql_connect()
; return 0; }
configure:2358: gcc -o conftest -g -O2 -I/usr/lib/glib/include  
-I/usr/share/mysql/include -I/usr/local/include  -L/usr/share/mysql/lib 
-L/usr/local/lib conftest.c -lmysqlclient  -lm -lcrypt  -L/usr/lib -lglib 1>&5
/usr/share/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress':
my_compress.o(.text+0x9f): undefined reference to `uncompress'
/usr/share/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
my_compress.o(.text+0x13b): undefined reference to `compress'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2347 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_connect();

int main() {
mysql_connect()
; return 0; }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to