2 messages in net.sourceforge.lists.courier-users[courier-users] error in configure
FromSent OnAttachments
Nancy PettigrewJul 24, 2000 2:34 pm 
Nancy PettigrewJul 25, 2000 10:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] error in configureActions...
From:Nancy Pettigrew (nan@bigfishmail.com)
Date:Jul 24, 2000 2:34:44 pm
List:net.sourceforge.lists.courier-users

I'm getting an error running configure, and I'm confused about what it's actually failing on. The only auth module I'm using is the mysql one, but the config.log seems to indicate an error looking for ldap.h. Is this correct? The options I'm using and error messages are below.

Thanks.

./configure \ --with-waitfunc=wait3 \ --without-authuserdb \ --without-authpam \ --without-authcram \ --without-ipv6 \ --without-authshadow \ --without-authpwd \ --without-authldap \ --with-authmysql

stdout: checking for mysql_connect in -lmysqlclient... no configure: error: --with-authmysql specified configure: error: ./configure failed for authlib

config.log: configure:1940: ldap.h: No such file or directory configure: failed program was: #line 1939 "configure" #include "confdefs.h" #include <ldap.h> configure:1934: checking for lber.h configure:1944: gcc -E conftest.c >/dev/null 2>conftest.out configure:1940: lber.h: No such file or directory configure: failed program was: #line 1939 "configure" #include "confdefs.h" #include <lber.h> configure:1934: checking for syslog.h configure:1944: gcc -E conftest.c >/dev/null 2>conftest.out configure:2182: checking for shadow.h configure:2192: gcc -E conftest.c >/dev/null 2>conftest.out configure:2221: checking for getspent in -lshadow configure:2240: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c -lshadow 1>&5 /usr/bin/ld: cannot find -lshadow collect2: ld returned 1 exit status configure: failed program was: #line 2229 "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 getspent();

int main() { getspent() ; return 0; } configure:2263: checking for getspent configure:2291: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c 1>&5 configure:2615: checking for mysql_connect in -lmysqlclient configure:2634: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c -lmysqlclient 1>&5 /usr/local/lib/libmysqlclient.so(.got+0x0): multiple definition of `_GLOBAL_OFFSET_TABLE_' /usr/lib/crti.o(.got.plt+0x0): first defined here /usr/lib/crti.o(.dynamic+0x0): multiple definition of `_DYNAMIC' /usr/local/lib/libmysqlclient.so(.dynamic+0x0): first defined here collect2: ld returned 1 exit status configure: failed program was: #line 2623 "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; }