GMP Compile Errors on Solaris 9

David L uolsysassist at hotmail.com
Thu May 13 18:47:53 CEST 2004


Hello All,
Sorry  to trouble you but for the life of me I cannot get GMP 4.1.3 to 
compile on my Solaris machines.  Frankly, I am desperate for a suggestion.

I have run default configures and I have also specified build=none, the host 
as an ultrasparc2i running Solaris 2.9; ABI=64.  I get the exact same 
compile error in either case.  I'm not sure if I am missing something 
obvious or if it is just an issue with my Sun boxes.

Here is the compile error:

/bin/sh ../libtool --mode=link cc  -fast -fns=no -fsimple=1 -xarch=v9    -o
libmpn.la   mp_bases.lo add.lo add_1.lo add_n.lo sub.lo sub_1.lo sub_n.lo
mul_1.lo addmul_1.lo submul_1.lo lshift.lo rshift.lo dive_1.lo diveby3.lo
divis.lo divrem.lo divrem_1.lo divrem_2.lo fib2_ui.lo mod_1.lo 
mod_34lsub1.lo
mode1o.lo pre_divrem_1.lo pre_mod_1.lo dump.lo mul.lo mul_fft.lo mul_n.lo
mul_basecase.lo sqr_basecase.lo random.lo random2.lo pow_1.lo rootrem.lo
sqrtrem.lo get_str.lo set_str.lo scan0.lo scan1.lo popcount.lo hamdist.lo 
cmp.lo
perfsqr.lo bdivmod.lo gcd_1.lo gcd.lo gcdext.lo tdiv_qr.lo dc_divrem_n.lo
sb_divrem_mn.lo jacbase.lo copyi.lo copyd.lo sqr_diagonal.lo
rm -fr  .libs/libmpn.a
ar cq .libs/libmpn.a .libs/mp_bases.o .libs/add.o .libs/add_1.o 
.libs/add_n.o
.libs/sub.o .libs/sub_1.o .libs/sub_n.o .libs/mul_1.o .libs/addmul_1.o
.libs/submul_1.o .libs/lshift.o .libs/rshift.o .libs/dive_1.o 
.libs/diveby3.o
.libs/divis.o .libs/divrem.o .libs/divrem_1.o .libs/divrem_2.o 
.libs/fib2_ui.o
.libs/mod_1.o .libs/mod_34lsub1.o .libs/mode1o.o .libs/pre_divrem_1.o
.libs/pre_mod_1.o .libs/dump.o .libs/mul.o .libs/mul_fft.o .libs/mul_n.o
.libs/mul_basecase.o .libs/sqr_basecase.o .libs/random.o .libs/random2.o
.libs/pow_1.o .libs/rootrem.o .libs/sqrtrem.o .libs/get_str.o 
.libs/set_str.o
.libs/scan0.o .libs/scan1.o .libs/popcount.o .libs/hamdist.o .libs/cmp.o
.libs/perfsqr.o .libs/bdivmod.o .libs/gcd_1.o .libs/gcd.o .libs/gcdext.o
.libs/tdiv_qr.o .libs/dc_divrem_n.o .libs/sb_divrem_mn.o .libs/jacbase.o
.libs/copyi.o .libs/copyd.o .libs/sqr_diagonal.o
- at true .libs/libmpn.a
../libtool: - at true: execute permission denied
*** Error code 1
make: Fatal error: Command failed for target `libmpn.la'
Current working directory /home/sysassist/temp/GMP/gmp-4.1.3/mpn
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/sysassist/temp/GMP/gmp-4.1.3
*** Error code 1
make: Fatal error: Command failed for target `all'

I do not understand why it is saying "execute permission denied".  The 
libtool that is in the directory is executable and I can run it just fine.  
As I watch it compile I can see libtool being used previously and not 
bailing.  I'm not sure why at this point it cannot be used.

I've read the install manual a couple of times and have had no difficulty 
getting this to compile and install on both my Linux machine and my 
Powerbook.  Unfortunately I need it to run in the Sun Labs which means I'm 
going to need to get this to compile.  I've also done some google work but I 
cannot seem to find anyone with a similar situation.

Any help at all would be very much appreciated,
David Lenz

_________________________________________________________________
MSN Premium helps eliminate e-mail viruses. Get 2 months FREE*  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines



More information about the gmp-discuss mailing list