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

Re: compile problem on solaris (ILD)



On Wed, 2004-09-29 at 17:01, Aaron Richton wrote:
> ild, a Sun product, is throwing an assertion. Even if the OpenLDAP build
> is feeding it absolute garbage (which I doubt) this is a bug. Since it's
> Sun's product, this is Sun's bug.

ok

> I use
> 
> CC="/opt/SUNWspro/bin/cc" LDFLAGS="-L/usr/local/heimdal/lib -R/usr/local/heimdal/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib" \
> CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/include/db4 -I/usr/local/include -I/usr/local/include/heimdal -D_REENTRANT" CFLAGS='-g -xs' \
> ./configure --enable-wrappers --enable-rlookups --enable-ldap \
> --enable-meta --enable-rewrite --enable-monitor --enable-null \
> --enable-spasswd --with-threads --enable-bdb --enable-hdb

nothing out of the ordinary there then... I can confirm that replacing
-g with -O in .../servers/slapd/Makefile makes the problem go away.

> You should also see Quanah's Solaris/OpenLDAP configuration page
> http://www.stanford.edu/services/directory/openldap/configuration/index.html
> although it looks like he uses gcc.

indeed. Given that I've done this so often, I cant believe I havent seen
this problem before...

thanks for your advice.

GREG

-- 
Greg Matthews
iTSS Wallingford	01491 692445