>
> > I guess I don't understand the LDFLAGS="-L/usr/local/lib/mysql..." There
> > isn't anything for mysql in /usr/local/lib so I assume we're
> > telling...hmmm, suddenly waking to the futility of my assumptions and
> > not...
>
> I've installed MySQL from source since I didn't find any debian packages
> for it. Default install puts things in /usr/local/include/mysql and
> /usr/local/lib/mysql
Here's the contents of /usr/lib/
libmysqlclient.a
libmysqlclient.la
libmysqlclient.so
libmysqlclient.so.6
libmysqlclient.so.6.0.0
Here's the modified "configure" using /usr/lib and following is the
contents from the configure.log.
LDFLAGS="-L/usr/lib/mysql -L/usr/lib -mysqlclient -midgard -lm"
./configure --with-mysql
configure:591: checking for a BSD compatible install
configure:650: checking for apxs
configure:685: checking for mgd_connect in -lmidgard
configure:704: cc -o conftest -L/usr/lib/mysql -L/usr/lib -mysqlclient
-midgar
d -lm conftest.c -lmidgard 1>&5
cc1: Invalid option `ysqlclient'
cc1: Invalid option `idgard'
configure: failed program was:
#line 693 "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 mgd_connect();
int main() {
mgd_connect()
; return 0; }
Thanks for the help,
parker
>
> > I tried the obvious "--with-midgard=/usr/local/lib" and every
> > concievable variation on the line and get the same result.
>
> --with-midgard specifies the location of both libs and includes so
> if includes are in /usr/local/include and libs are in /usr/local/lib
> you can use --with-midgard=/usr/local (although I seem to recall that
> simply --with-midgard will test both /usr and /usr/local).
>
> 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]