Make install required before make check
tege at swox.com
Tue Apr 18 15:08:06 CEST 2006
David.Pitt at nab.com.au writes:
1. The website bangs on about the importance of 'make check', but INSTALL
only mentions it in passing.
I'll expand the warning text in INSTALL.
2. I tried the traditional configure/make/make test/make install sequence:
$ ./configure --prefix=$HOME/local
$ make test
make: *** No rule to make target `test'. Stop.
$ make check
The GNU project uses "make check", else the sequence is correct.
make: Entering directory `/home/dpitt/oss/gmp-4.2/tests'
ld.so.1: t-bswap: fatal: libgmp.so.3: open failed: No such file or
After some puzzlement (no help from INSTALL), I divined the correct order
That is not the correct order.
I don't know what happens on your system, gmp 4.2 builds and checks
fine on other sparc-solaris systems, without any need for a premature
This is bizarre, I don't want to install if 'make check' fails. This
shouldn't be hard to fix, update INSTALL when you do. And please include a
'test' target in the Makefile as an alias for 'check'.
It is indeed bizarre. I cannot debug the linking failure, since I
cannot reproduce it. I will have to reply on you to debug it. Start
by looking in your environment for suspect settings of
More information about the gmp-bugs