[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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 <gmatz@matz.org>
- 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.
thanks,
guy
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[2]: 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[2]: *** [getfilter.lo] Error 1
> > make[2]: 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.
>
> > gmatz@matz.org
>
> --
> albert chin (china@thewrittenword.com)
>
-----------------------------------------------
gmatz@matz.org
Guy Matz
Systems Administrator @ matz.org
"Homer: Let the bears pay the bear tax. I pay the Homer
tax.
Lisa: Dad, that's the The Home-owner's Tax.
Homer: Well anyway, I'm still outraged."
- homer