[Date Prev][Date Next]
Re: problem compiling 1.2.2 under Solaris
- To: openldap-devel@OpenLDAP.org
- Subject: Re: problem compiling 1.2.2 under Solaris
- From: Guy Matz <email@example.com>
- Date: Tue, 1 Jun 1999 19:28:54 -0400 (EDT)
- In-reply-to: <19990601155408.A24968@postal.thewrittenword.com>
in previous releases i got around the thread problem by setting
LIBS="-lpthread -lposix4" . . .
i'll try out your suggestion.
On Tue, 1 Jun 1999, Albert Chin-A-Young wrote:
> On Mon, May 31, 1999 at 07:03:27PM -0400, Guy Matz wrote:
> > hola,
> > anyone have the following problem while compiling libldap . . ?
> > Entering subdirectory libldap
> > make: Entering directory `/tmp/stable/ldap/libraries/libldap'
> > /bin/sh /tmp/stable/ldap/libtool --mode=compile gcc -g -O2 -I../../include
> > -I../../include -L/usr/local/include -I/usr/local/lib -c getfilter.c
> > gcc -g -O2 -I../../include -I../../include -L/usr/local/include
> > -I/usr/local/lib -c -fPIC -DPIC getfilter.c
> > getfilter.c: In function `ldap_init_getfilter_buf':
> > getfilter.c:93: `regex_t' undeclared (first use in this function)
> > getfilter.c:93: (Each undeclared identifier is reported only once
> > getfilter.c:93: for each function it appears in.)
> > getfilter.c:93: parse error before `re'
> > getfilter.c:123: `re' undeclared (first use in this function)
> > getfilter.c: In function `ldap_getfirstfilter':
> > getfilter.c:233: `regex_t' undeclared (first use in this function)
> > getfilter.c:233: parse error before `re'
> > getfilter.c:245: `re' undeclared (first use in this function)
> > make: *** [getfilter.lo] Error 1
> > make: Leaving directory `/tmp/stable/ldap/libraries/libldap'
> What was the command-line you entered? I just compiled with:
> CC=cc CFLAGS="-mr -Qn -xdepend -xO3"
> CPPFLAGS="-I/opt/TWWfsw/libdb2/include -I/opt/TWWfsw/tcpwrap/include"
> LDFLAGS="-L/opt/TWWfsw/libdb2/lib -L/opt/TWWfsw/tcpwrap/lib"
> ./configure --enable-static --enable-shared --enable-wrappers
> --with-threads=no --prefix=/opt/TWWfsw/openldap1
> and got it to compile. For some reason, configure dies when it checks
> for thread support. I'm going to start looking into that now.
> > firstname.lastname@example.org
> albert chin (email@example.com)
Systems Administrator @ matz.org
"Homer: Let the bears pay the bear tax. I pay the Homer
Lisa: Dad, that's the The Home-owner's Tax.
Homer: Well anyway, I'm still outraged."