Minh Nguyen wrote:
> Hi folks,
> 
> As of Sage 4.1.1.alpha1, the compilation of Sage now dies when it
> comes to compiling MPIR. The full log is up at
> 
> http://sage.math.washington.edu/home/mvngu/patch/install-freebsd64.log
> 
> Here's a relevant snippet from my attempt:
> 
>  /usr/local/bin/bash ./libtool --mode=install /usr/bin/install -c  
> 'libgmpxx.la\
> ' '/usr/scratch/mvngu/sage-4.1.1.alpha1/local/lib/libgmpxx.la'
> libtool: install: warning: relinking `libgmpxx.la'
> (cd /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4/src; 
> /usr/local\
> /bin/bash ./libtool  --tag=CXX --mode=relink g++ -O2 -m64 -march=k8 -mtune=k8 
> -\
> o libgmpxx.la -rpath /usr/scratch/mvngu/sage-4.1.1.alpha1/local/lib 
> -version-in\
> fo 4:4:1 dummy.lo cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo 
> cxx/ismp\
> znw.lo cxx/osdoprnti.lo cxx/osfuns.lo cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo 
> li\
> bgmp.la )
> g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/dummy.o 
> cxx/.\
> libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o 
> cxx/.libs/i\
> smpznw.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o 
> cxx/.libs/o\
> smpq.o cxx/.libs/osmpz.o  -Wl,--rpath 
> -Wl,/usr/scratch/mvngu/sage-4.1.1.alpha1/\
> local/lib -L/usr/scratch/mvngu/sage-4.1.1.alpha1/local/lib -lgmp -L/usr/lib 
> -ls\
> tdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -m64 -march=k8 
> -mtune\
> =k8 -Wl,-soname -Wl,libgmpxx.so.4 -o .libs/libgmpxx.so.4
> /usr/bin/ld: cannot find -lgmp
> libtool: install: error: relink `libgmpxx.la' with the above command before 
> ins\
> talling it
> *** Error code 1
> 

Not sure if I said this before, but I've seen this error on a laptop 
running Solaris x86 - the build is around 98 or so. It is NOT 
OpenSolaris, but its open-source. (I lose track of the names Sun come up 
for with Solaris, SXCE, SXDE, Solaris, OpenSolaris).

Anyway, I was running Solaris Express Community Edition (build 98 or so) 
and I got the same error, about being unable to link to gmp.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to