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

Re: C compiler cannot create executables (ITS#1003)



On Tue, Jan 30, 2001 at 03:57:40PM +0000, jack.crosson@tekelec.com wrote:
> 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

Looks to me like you are missing some quotes on the comand line. IMO,
you are typing:

CFLAGS="-I/home/raleigh/crosson/SIP_stuff/db-3.0.55/BerkeleyDB.3.0/include LDFLAGS="-L/home/raleigh/crosson/SIP_stuff ./configure

When you need to type:

CFLAGS="-I/home/raleigh/crosson/SIP_stuff/db-3.0.55/BerkeleyDB.3.0/include" LDFLAGS="-L/home/raleigh/crosson/SIP_stuff" ./configure

Note the change in quotes before and after the values for CFLAGS and
LDFLAGS.


-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'