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

Re: compile problem on solaris (ILD)



> I've used before to compile OpenLDAP on different machines). I dont know
> much about this sort of thing but are you sure its a Sun problem and not
> OpenLDAP problem?

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.

> what flags and configure options did you set?

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

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.