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

Re: failure when doing make test



Ignore the errors of ./data and ./schema creation or linking.

If you look into the tests/Makefile you will see that the results of those commands are intended to be ignored. The commands are preceded with '-'. I agree seeing all this errors while doing tests is at least discouraging.

There are 16 tests in two groups: one for bdb and ldbm databases. If you see that all of them succeed (ignoring the ./data and ./schema errors) you are good for 'make install'

Also if you build the system outside of the source directory with:

mkdir build
cd build
../openldap-2.1.22/configure --srcdir=../openldap-2.1.22 --prefix=/usr/local --with-cyrus-sasl=no
make depend
make
make test


You will see much less errors - only at the end of the whole batch.


Christian Guenther wrote:
Hi Jason - and all the others of course ;-),

unfortunately your hint (make clean or make distclean) did not do the
trick. I still get the error when doing make test. Does anybody else
experience these problems, or is it just me doing something completely
stupid?


I will list my commands here so that someone with more knowledge in
compiling openldap may see what I do wrong - it must have something to
do with the way I'm doing this must'n it?

as an unprivilegd user I issue:

$ make distclean
        - no errors

$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--infodir=/usr/share/info --mandir=/usr/share/man --enable-syslog
--enable-proctitle --enable-dynamic --enable-local --with-cyrus-sasl
--with-readline  --with-threads --with-tls --enable-slapd
--enable-cleartext --enable-crypt --enable-lmpasswd --enable-spasswd
--enable-modules --enable-phonetic --enable-rewrite --enable-rlookups
--enable-wrappers  --enable-ldbm --with-ldbm-api=berkeley
--with-ldbm-module=dynamic --with-ldbm-type=auto --enable-bdb
--with-bdb-module=dynamic --enable-dnssrv --enable-dnssrv-module=dynamic
--enable-ldap --with-ldap-module=dynamic --enable-meta
--with-meta-module=dynamic --enable-monitor
--with-monitor-module=dynamic --enable-null --with-null-module=dynamic
--enable-passwd --with-passwd-module=dynamic --enable-slurpd
        - no errors

$ make depend
        - no errors

$ make
        - no errors

make test
        - lots of errors

make[1]: Entering directory `/usr/src/openldap-2.1.22/tests'
ln: `./data': cannot overwrite directory
make[1]: [test-bdb] Error 1 (ignored)
ln: `./schema': File exists
make[1]: [test-bdb] Error 1 (ignored)
ln: `ucdata/liblunicode': File exists
make[1]: [test-bdb] Error 1 (ignored)
run configure with --enable-bdb
ln: `./data': cannot overwrite directory
make[1]: [test-ldbm] Error 1 (ignored)
ln: `./schema': File exists
make[1]: [test-ldbm] Error 1 (ignored)
ln: `ucdata/liblunicode': File exists
make[1]: [test-ldbm] Error 1 (ignored)
run configure with --enable-ldbm
make[1]: Leaving directory `/usr/src/openldap-2.1.22/tests'

Please can anyone enlight me as to what am I doing wrong?

        chris


On Wed, 2003-07-30 at 15:32, Jason.McGlamary@Medstar.net wrote:

Regarding your errors, if I remember correctly, and assuming you

ran

"make test" in your previous attempt, I believe you need to perform a

"make

clean" or "make dist-clean" which will remove those previous files and
allow you to perform the test again.  I suggest using "make -h" or
something like that from the installation directory to get the correct
usage.  Hope that helps.




Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.


This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the
material in this e-mail is strictly forbidden.




-- Peter Ziobrzynski, mailto:pzi@pzi.net