Hello people,

Could someone please help me?
(redhat6.1+sqwebmail1.2.4+openldap2.0.7)
I want to use the authdaemond proxy with authldap module. It doesn't
matter what I do, authtest failed!

My configure is:
./configure --enable-cgibindir=/usr/local/etc/httpd/cgi-bin
--enable-imagedir=/usr/local/etc/httpd/htdocs/webmail
--enable-mimetypes=/usr/local/etc/httpd/conf/mime.types
--without-authpwd --without-authshadow --without-authpam
--without-authuserdb --without-authvchkpw --without-authmysql
--with-authldap --with-authdaemon 

My config.log is :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:599: checking for a BSD compatible install
configure:652: checking whether build environment is sane
configure:709: checking whether make sets ${MAKE}
configure:748: checking for working aclocal
configure:761: checking for working autoconf
configure:774: checking for working automake
configure:787: checking for working autoheader
configure:800: checking for working makeinfo
configure:822: checking for gawk
configure:854: checking for gcc
configure:967: checking whether the C compiler (gcc  ) works
configure:983: gcc -o conftest    conftest.c  1>&5
configure:1009: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1014: checking whether we are using GNU C
configure:1042: checking whether gcc accepts -g
configure:1074: checking how to run the C preprocessor
configure:1165: checking for a BSD compatible install
configure:1218: checking whether ln -s works
configure:1241: checking for ranlib
configure:1275: checking for perl5
configure:1318: checking for sysconftool...
configure:1344: checking for perl5
configure:1395: checking for setgroups
configure:1423: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1395: checking for initgroups
configure:1423: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1485: checking whether -lm is needed for floor
configure:1498: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
/tmp/ccTasMzk.o: In function `main':
/www/sqwebmail-1.2.4/authlib/configure:1494: undefined reference to `floor'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1487 "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:1596: checking whether -lnsl is needed for inet_addr
configure:1609: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1644: checking whether -lsocket is needed for socket
configure:1657: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:1817: checking for stdio.h
configure:1827: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2099: checking for ldap.h
configure:2109: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2099: checking for lber.h
configure:2109: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2099: checking for syslog.h
configure:2109: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2144: checking for ber_scanf in -llber
configure:2163: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c -llber    1>&5
configure:2184: checking whether -lresolv is needed for res_query
configure:2197: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c -llber   1>&5
/tmp/ccxHpraq.o: In function `main':
/www/sqwebmail-1.2.4/authlib/configure:2193: undefined reference to `res_query'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2186 "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 res_query();

int main() {
res_query()
; return 0; }
configure:2217: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c -lresolv -llber  
 1>&5
configure:2231: checking for ldap_open in -lldap
configure:2250: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c -lldap  -lresolv 
-llber   1>&5
configure:2271: checking for ldap_search_st
configure:2299: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c -lldap -lresolv 
-llber   1>&5
configure:2378: checking for endpwent
configure:2406: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:2449: checking for shadow.h
configure:2459: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2488: checking for getspent in -lshadow
configure:2507: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c -lshadow   1>&5
/usr/bin/ld: cannot open -lshadow: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2496 "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:2530: checking for endspent
configure:2558: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:2530: checking for getspent
configure:2558: gcc -o conftest -g -O2 -Wall -I.. -I./..   conftest.c  1>&5
configure:2815: checking for mysql_config
configure:3083: checking for ANSI C header files
configure:3187: checking for sys/wait.h that is POSIX.1 compatible
configure:3232: checking for sys/stat.h
configure:3232: checking for sys/time.h
configure:3232: checking for sys/wait.h
configure:3232: checking for unistd.h
configure:3232: checking for fcntl.h
configure:3232: checking for crypt.h
configure:3270: checking for working const
configure:3345: checking for pid_t
configure:3378: checking for uid_t in sys/types.h
configure:3414: checking for crypt in -lcrypt
configure:3456: checking for crypt
configure:3508: checking for crypt() prototype

thanks!

51�����ʾ֣���ͨ���ޣ�

http://www.51.com

����Դ��WebWare!

Reply via email to