Make install required before make check David.Pitt at
Wed Apr 19 04:30:55 CEST 2006

Hi Torbjorn,

Thanks for your response. I discovered the cause of the problem, I had both
LD_LIBRARY_PATH and LD_LIBRARY_PATH_64 set in my environment.
LD_LIBRARY_PATH_64 overrides LD_LIBRARY_PATH, man for details.
Unsetting LD_LIBRARY_PATH_64 allowed 'make check' to work without 'make

Please close this bug report as Resolved - User Error.


David Pitt  | Enterprise Services Technology | National Australia Bank
Phone +61 3 8641 2014 | Email david.pitt at | Level 6, 500 Bourke
Street, Melbourne

             Torbjorn Granlund                                            
             <tege at>                                              
             Sent by:                                                   To
             tege at         David.Pitt at              
                                       gmp-bugs at                  
             18/04/2006 11:08                                      Subject
             PM                        Re: Make install required before   
                                       make check                         

David.Pitt at 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

  $ ./configure --prefix=$HOME/local
  $ make
  $ make test
  make: *** No rule to make target `test'.  Stop.
  $ make check

The GNU project uses "make check", else the sequence is correct.

  make[4]: Entering directory `/home/dpitt/oss/gmp-4.2/tests' t-bswap: fatal: open failed: No such file or
  FAIL: t-bswap

  After some puzzlement (no help from INSTALL), I divined the correct order

  make install
  make check

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
  '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


National Australia Bank Limited - ACN 004 044 937
This email may contain confidential information. If you are not the intended recipient, please immediately notify us at postmaster at or by replying to the sender, and then destroy all copies of this email. Except where this email indicates otherwise, views expressed in this email are those of the sender and not of National Australia Bank Limited. Advice in this email does not take account of your objectives, financial situation, or needs. It is important for you to consider these matters and, if the e-mail refers to a product(s), you should read the relevant Product Disclosure Statement(s)/other disclosure document(s) before making any decisions. If you do not want email marketing from us in future, forward this email with "unsubscribe" in the subject line to Unsubscribe at in order to stop marketing emails from this sender. National Australia Bank Limited does not represent that this email is free of errors, viruses or interference

More information about the gmp-bugs mailing list