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

C compiler cannot create executables (ITS#1003)



Full_Name: jack Crosson
Version: 1.2.11
OS: Solaris 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.89.32.228)


Trying to configure and make LDAP 1.2.11 on Solaris 2.6 using gcc and Berkley
DB.
Ran configure as provided by the instructions, getting past the pthreads problem

according to the Platform hints:
env ac_cv_func_pthread_create=no ol_cv_kthread_flag=no ol_cv_pthread_flag=no
ol_
cv_pthreads_flag=no ol_cv_thread_flag=no
CPPFLAGS="-I/home/raleigh/crosson/SIP_s
tuff/db-3.0.55/BerkeleyDB.3.0/include
LDFLAGS="-L/home/raleigh/crosson/SIP_stuff
/db-3.0.55/BerkeleyDB.3.0/lib ./configure --with-ldbm-api=db2

configure fails with:
checking whether the C compiler (gcc 
-I/home/raleigh/crosson/SIP_stuff/db-3.0.5
5/BerkeleyDB.3.0/include
LDFLAGS=-L/home/raleigh/crosson/SIP_stuff/db-3.0.55/Ber
keleyDB.3.0/lib ) works... no
configure: error: installation or configuration problem: C compiler cannot
creat
e executables.

config.log is no help.  It says the following:
configure:1885: checking for gcc
configure:1998: checking whether the C compiler (gcc 
-I/home/raleigh/crosson/SI
P_stuff/db-3.0.55/BerkeleyDB.3.0/include
LDFLAGS=-L/home/raleigh/crosson/SIP_stu
ff/db-3.0.55/BerkeleyDB.3.0/lib ) works
configure:2014: gcc -o conftest 
-I/home/raleigh/crosson/SIP_stuff/db-3.0.55/Ber
keleyDB.3.0/include LDFLAGS=-L/home/raleigh/crosson/SIP_stuff/db-3.0.55/Berkeley
DB.3.0/lib  conftest.c  1>&5
gcc: LDFLAGS=-L/home/raleigh/crosson/SIP_stuff/db-3.0.55/BerkeleyDB.3.0/lib: No
such file or directory
configure: failed program was:

#line 2009 "configure"
#include "confdefs.h"

main(){return(0);}      

Where, obviously, the -I and -L paths point to the Berkley DB.

There is no conftest.c file that I can see.  It was either removed or never
created.

Please, help me get this fixed.

Jack Crosson