[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Install Make Test Issue
Hello:
I have /usr/bin/ln & /usr/xpg4/bin/ln which are part of the Solaris 8
install. I modified the Makefile in /openldap-2.0.23/tests to call
/usr/xpg4/bin/ln and I got the same results during the make test.
It appears to me that there is a loop created by the Makefile in
/openldap-2.0.23/tests which causes the issue.
from Makefile in /openldap-2.0.23/tests:
srcdir = .
@-$(LN_S) $(srcdir)/data .
It looks to me like this is causing a loop which ends in the MAXSYMLINKS
error from the OS. If the source directory is the current directory and we
create the link to be in the current directory....
Maybe I am missing something???
Thanks,
Lauri-
At 12:22 PM 8/17/2002 -0700, Kurt D. Zeilenga wrote:
You likely have an odd version of ln(1) in your path...
At 11:31 AM 2002-08-16, Lauri Bettencourt wrote:
>Hello:
>
>I have a Solaris 8 system I am trying to install openldap-2.0.23. There
have been a few bumps in the road here but I can't seem to get past one
specific point in the testing portion of the install as noted below. I
have reviewed the defines.sh script located in
/openldap-2.0.23/tests/scripts and it points to the
/openldap-2.0.23/tests/data file for information. Base on an ls of that
directory the data file appears to be a continual loop as noted below. If
this isn't the case any information you can provide will be greatly
appreciated.
>
>
>
>cd tests; make test
>Initiating LDAP tests for LDBM...
>>>>>> Executing all LDAP tests...
>>>>>> Test Directory: .
>>>>>> Backend: ldbm
>>>>>> Starting test000-rootdse ...
>running defines.sh . ldbm
>Datadir is ./data
>Cleaning up in ./test-db...
>Starting slapd on TCP/IP port 389...
>Using ldapsearch to retrieve all the entries...
>./scripts/test000-rootdse: kill: no such process
>>>>>> Test succeeded
>>>>>> ./scripts/test000-rootdse completed OK.
>>>>>> waiting 10 seconds for things to exit
>
>>>>>> Starting test001-slapadd ...
>running defines.sh . ldbm
>Datadir is ./data
>Cleaning up in ./test-db...
>Running slapadd to build slapd database...
>./data/test.ldif: Number of symbolic links encountered during path name
traversal exceeds MAXSYMLINKS
>slapadd failed (1)!
>>>>>> ./scripts/test001-slapadd failed (exit 1)
>*** Error code 1
>make: Fatal error: Command failed for target `test-ldbm'
>Current working directory /usr/local/src/openldap-2.0.23/tests
>*** Error code 1
>make: Fatal error: Command failed for target `test'
>
>pooh:/usr/local/src/openldap-2.0.23/tests# ls -al
>total 38
>drwxr-xr-x 6 2000 2000 512 Aug 16 14:29 .
>drwxr-xr-x 10 2000 2000 1024 Aug 16 14:18 ..
>-rw-r--r-- 1 root other 7809 Aug 16 14:18 Makefile
>-rw-r--r-- 1 2000 2000 1342 Jan 4 2002 Makefile.in
>-rw-r--r-- 1 2000 2000 410 Jun 8 2001 README
>lrwxrwxrwx 1 root other 6 Aug 16 14:29 data -> ./data
>drwxr-xr-x 3 2000 2000 512 Aug 16 14:28 progs
>lrwxrwxrwx 1 root other 23 Aug 16 14:29 schema ->
../servers/slapd/schema
>drwxr-xr-x 2 2000 2000 512 Feb 11 2002 scripts
>drwxr-xr-x 2 root other 512 Aug 16 14:29 test-db
>drwxr-xr-x 2 root other 512 Aug 2 14:42 test-repl
>
>Thanks,
>
>Lauri-
>
>~~~~~~~~~~~~~~~
>Lauri Bettencourt
>WorldNET
>Unix System Admin
>lbetten@wn.net
>~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
Lauri Bettencourt
WorldNET
Unix System Admin
lbetten@wn.net
~~~~~~~~~~~~~~~