BZ #29: make check fails when run before make install

Status fields:

creation_ts:2006-10-30 21:19
component:unspecified
version:default branch
rep_platform:All
op_sys:Linux
bug_status:RESOLVED
resolution:FIXED
reporter:psj@harker.dyndns.org
make check fails on uninstalled build as it appears to look for libjvm in
install location:

lt_dlopenext failed:
/home/psj/software/install/cacao-cvs-20061030-2001/lib/libjvm.so: cannot open
shared object file: No such file or directory
make[3]: *** [build] Aborted
make[2]: *** [check-recursive] Error 1

Run make install before make check and checks pass.

To reproduce:

1) configure to install in previously unused location
2) make
3) make check

To resolve:

4) make install
5) make check

Comment #1 by twisti@complang.tuwien.ac.at on 2006-10-31 10:20:08

We just released 0.97 and, of course, we tried make check and it worked.  Are
you sure you were on trunk?  Can you try 0.97?

Comment #2 by psj@harker.dyndns.org on 2006-10-31 20:50:49

Still fails for me with Cacao 0.97. I should have added that I am building in a
separate build dir:

1) download cacao 0.97 and unpack
2) cd into sourcedir
3) mkdir build
4) cd build
5) ../configure --prefix=<something not used before>
--with-classpath-prefix=<path to Classpath install>
6) make
7) make check

Fails with:

lt_dlopenext failed:
/home/psj/software/install/cacao-0.97-cp-0.92/lib/libjvm.so: cannot open shared
object file: No such file or directory
make[3]: *** [build] Aborted
make[3]: Leaving directory
`/mnt/disk2/psj/software/java/apps/cacao/cacao-0.97/build/tests/regression/codepatching'
make[2]: *** [check-recursive] Error 1

make install then make check succeeds.

Comment #3 by twisti@complang.tuwien.ac.at on 2006-10-31 23:51:39

Hmm, I really don't know as we do build directory testing with tgolem.  This is
the latest output before the release:

http://www.complang.tuwien.ac.at/cacaojvm/tgolem/2006-10-30T14-18/23-55-2-cacao-c1-make_
check.output.gz

Comment #4 by psj@harker.dyndns.org on 2006-11-12 16:30:18

Hmm... SVN HEAD works for me with my autobuilder now.

Sorry for the noise - an odd one!