[Samba] Error in configure Last CVS and 3.0.alpha21 on Solaris 8

Alessandro.Bruni at cec.eu.int Alessandro.Bruni at cec.eu.int
Mon Feb 3 14:07:36 GMT 2003


Hi all,

I'm having problems trying to configure samba with the lastest source.
The command I'm using is

env CPPFLAGS="-I/usr/local/kerberos/include -I/usr/local/ldap/include"
LDFLAGS="-L/usr/local/kerberos/lib -L/usr/local/ldap/lib"
./configure --with-ads --with-ldap --with-kerberos=/usr/local/kerberos
--with-pam --with-winbind

and the error is

checking whether to check to support sendfile... no
checking whether to build winbind... yes
checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... no
checking whether to use included popt... yes
checking configure summary... configure: error: summary failure. Aborting
config

In the config.log nothing I can understand

configure:16008: gcc -o conftest -O    -I/usr/local/kerberos/include
-I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lpopt  -lsec
-lgen -lresolv -lsocket -lnsl -ldl  -lcom_err -lk5crypto -lkrb5
-lgssapi_krb5 -llber -lldap 1>&5
ld: fatal: library -lpopt: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 15997 "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 poptGetContext();

int main() {
poptGetContext()
; return 0; }
configure:16032: checking whether to use included popt
configure:16086: checking configure summary
configure:16095: gcc -o conftest -O    -I/usr/local/kerberos/include
-I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lsec -lgen
-lresolv -lsocket -lnsl -ldl  -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5
-llber -lldap 1>&5
configure: failed program was:
#line 16091 "configure"
#include "confdefs.h"
#include "./tests/summary.c"

I've made some search in the newsgroup, but nothing seems to be fixed.

Anyone has some ideas to fix it?

Thanks in advance

Alessandro Bruni
Brussels, Belgium


More information about the samba mailing list