Ok. Here is the end of the config.log

configure:1953: gcc -o
onftest -g -O2  -I/usr/include/mysql  -L/usr/lib/mysql
conftest.c -lmysqlclient  -lcrypt  1>&5
/usr/lib/mysql/libmysqlclient.a(password.o): In function `scramble':
password.o(.text+0x260): undefined reference to `floor'
password.o(.text+0x320): undefined reference to `floor'
/usr/lib/mysql/libmysqlclient.a(password.o): In function `check_scramble':
password.o(.text+0x52c): undefined reference to `floor'
password.o(.text+0x5fc): undefined reference to `floor'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1942 "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; }

That is way beyond me, but it looks like it finds the library ok..??

-----Original Message-----
From: Emiliano [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 1:08 PM
To: midgard (E-mail)
Subject: Re: [midgard] midgar-lib build problem


Derek J. Lambert wrote:

> I'm trying to install midgard 1.2.5 on redhat 6.2. I am getting the
> following message when I do a ./configure with the midgard-lib package:
>
> checking MySQL location... /usr
> checking for mysql_connect in -lmysqlclient... no
> *** You need the libmysqlclient library for Midgard.         ***
> *** Use the --with-mysql option to tell                      ***
> *** the configure script where to look for the library.      ***
> configure: error: MySQL client library mysqlclient not found.

Look in config.log, it has more details.

> ./configure --with-mysql=/usr/lib/mysql

That would probably need to be --with-mysql=/usr, but that's what the
default configure looks anyway.

Emile


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