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

Re: make test correct?

Rachel Chew wrote:
> Hi,
> while performing the make test (openldap-2.0.11 & berkeleyDB 3.1.17), I have the
> following:
> > env CPPFLAGS="-I/home/rachel/db/include" LDFLAGS="-L/home/rachel/db/lib"
> ./configure --prefix=/home/rachel/openldap --with-ldbm-api=berkeley
> ================================================================
> [~/openldap-2.0.11]lab4% make testcd tests; make test
> make[1]: Entering directory `/home/rachel/openldap-2.0.11/tests'
> ln: ./data: cannot overwrite directory          <---- ??
> make[1]: [test-ldbm] Error 1 (ignored)          <---- ??
> although the test was successful for all the 10 test, I found the
> >Error1 (ignored)          //the one shown above
> Is it alright? Did I miss out something? Please reply soon. Thanks.

Yes, it is. This was not the first time 
you were running the test, right? So the
directory "./data" was already there.
Maybe we'd better use "ln -sf" to force
rewriting the link; anyway the command
is prefixed with "-" that instructs "make"
to ignore errors.

Dr. Pierangelo Masarati    mailto:ando@sys-net.it
Developer, SysNet s.n.c.   http://www.sys-net.it