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

Re: 1.2.1 compiles, fails test



My problem is exactly the same, this time on LinuxPPC pre-5.0.  I know
these two platforms share glibc2.1 in common (at least I think they do).

Hugh

David Mitchell wrote:

> Good day
>
> OpenLDAP looks wonderful, but I can't get it to run. Can anyone offer
> some suggestions?
>
> Thanks
>
> David Mitchell
>
> Platform: Red Hat 6.0, with kernel 2.2.9
>
> Freshly-downloaded openldap-release.tgz
>
> ./configure --enable-crypt
>
> The first pass through produced the "macro 'strdup'" errors mentioned by
> Trevor Harrison in his post on Friday, so I applied the patch
> openldap-990504-strdup.patch that Jochen Wiedmann recommended.
>
> Now make depend proceeds without any errors.
>
> make produces the following warnings:
>
> testavl.c: In function `main':
> testavl.c:28: warning: passing arg 2 of `avl_free' from incompatible
> pointer type
> libtool: link: warning: `-version-info' is ignored while linking
> programs
> libtool: link: warning: `-version-info' is ignored while linking
> programs
> libtool: link: warning: `-version-info' is ignored while linking
> programs
> libtool: link: warning: `-version-info' is ignored while linking
> programs
> libtool: link: warning: `-version-info' is ignored while linking
> programs
> util.c: In function `mygetpass':
> util.c:87: warning: assignment makes pointer from integer without a cast
> edit.c: In function `load_editor':
> edit.c:191: warning: assignment makes pointer from integer without a
> cast
> replica.c: In function `start_replica_thread':
> replica.c:59: warning: passing arg 2 of `ldap_pvt_thread_create' makes
> integer f
> rom pointer without a cast
>
> Running (as root) make in ./tests fails as follows:
>
> [root@magdalena tests]# make
> ln: ./data: cannot overwrite directory
> make: [all-local] Error 1 (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: Success
> dn2id file: Success
> Starting slapd on TCP/IP port 9009...
> Using ldapsearch to retrieve all the entries...
> Waiting 5 seconds for slapd to start...
> ldapsearch failed!
> >>>>> ./scripts/test001-ldif2ldbm failed (exit 32)
> make: *** [all-local] Error 32

--
"Brain-eating mutants are bad for business..." - Battle Angel
Hugh "Batmensch" Caley