[Date Prev][Date Next] [Chronological] [Thread] [Top]

configure error.



Hi,

I'm trying to set up ldap on solaris 8.
 have some trouble with gcc at configure stage. not too sure why. It was 
not doing it when i ran configure before installing BerkeleyDB.4.1 

here are the msgs:

# ./configure
Copyright 1998-2002 The OpenLDAP Foundation,  All Rights Reserved.
        Restrictions apply, see COPYRIGHT and LICENSE files.
Copyright 1998-2002 The OpenLDAP Foundation,  All Rights Reserved.
        Restrictions apply, see COPYRIGHT and LICENSE files.
./configure: build/shtool: cannot execute
./configure: build/shtool: cannot execute
Configuring OpenLDAP 2.1.5-Release ...
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for a BSD compatible install... build/shtool install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gnutar... no
checking for gtar... gtar
checking configure arguments... done
checking for a BSD compatible install... build/shtool install -c
checking for ar... ar
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX OS/2 environment... no
checking how to run the C preprocessor... /usr/local/bin/gcc -E
checking for gcc... /usr/local/bin/gcc
checking whether the C compiler (/usr/local/bin/gcc -O -g
-L/usr/local/BerkeleyDB.4.1/lib) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
# echo $CC
/usr/local/bin/gcc
# echo $CFLAGS
-O -g
# echo $CPPFLAGS

# echo $LDFLAGS
-L/usr/local/BerkeleyDB.4.1/lib
# echo $LIBS
/usr/local/BerkeleyDB.4.1/lib
# echo $PATH
/usr/local/globus/bin:/local/jarrett/ssl/bin:/usr/local/bin:/usr/j2sdk1.4.0_01/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/bin:/usr/local/BerkeleyDB.4.1/bin
# 


thanks for any help rendered
------------------------
Shoaib Burq
http://www.cs.mu.oz.au/~shoaib