[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
OpenLDAP Solaris 2.6 porting
Hello:
been running into problems porting OpenLDAP 1.2 to the Solaris 2.6
platform. After applying the environment changes suggested in
doc/install/hints/Solaris, I am able to successfully run 'configure' and
compile the associated binaries. However, the tests fail with the below:
{tsunami} /roothome/software/ldap # cd tests
{tsunami} /roothome/software/ldap/tests # make
ln: cannot create ./data: File exists
make: [all-local] Error 2 (ignored)
Initiating LDAP tests...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Starting test001-ldif2ldbm ...
running defines.sh .
Datadir is ./data
Cleaning up in ./test-db...
Running ldif2ldbm to build slapd database...
id2entry file: Bad file number
stopping: child exited with status 1
ldif2ldbm failed!
>>>>> ./scripts/test001-ldif2ldbm failed (exit 1)
make: *** [all-local] Error 1
Porting environment:
uname -a: SunOS tsunami 5.6 Generic sun4m sparc SUNW,SPARCstation-10
compiler: gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
environmental variables:
MANPATH=/usr/man:/usr/local/man:/usr/ccs/man:/usr/openwin/man
HZ=
PATH=/usr/sbin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/ccs/bin:/usr/local/sbin:/usr/local/libexec:/usr/openwin/bin:/usr/dt/bin
EDITOR=/usr/bin/vi
LOGNAME=root
PS1={tsunami} $PWD #
CC=gcc
SHELL=/bin/ksh
HOME=/roothome
LD_LIBRARY_PATH=/usr/local/Berkeley2.3.16/lib:/usr/lib:/usr/local/lib:/usr/ucb/lib
PWD=/roothome/software/ldap/tests
TZ=EST5EDT
ENV=/roothome/.kshrc
LIBS=-lpthread -lposix4
-tom
ps. i also have truss output available (rather verbose for this
posting). Others whove seen it recognize it, but did not know how to
work around it.
--
"You can only be -so- accurate with a claw-hammer" -- Me.