2009/7/27 Minh Nguyen <nguyenmi...@gmail.com>:
>
> 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

I've seen this on Solaris x86 too.

The other day I downloaded Sage on my Solaris x86 laptop and tried
building Sage on the train. I bet other passengers must have thought I
was mad, stairing at a screen and rarely touching the keyboard.

I got the same sort of error while building mpir - unable to find the
gmp library. I should have reported this earlier, but see it on the
train when I had no internet access.

I did not spend a lot lf time on it, but I noticed there was an option
in the mpir sources to add libraries and headers with the name gmp
rather than mpir. I tried that, and still got the same issue.

I'll dig out the log later and submit this as a trac item. If someone
knows the best place to send this upstream, perhaps they can copy it.
I'm not on my usual computer and don't have as much information on
this as I do on my Blade 2000.

Dave

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