If FBSD support is in the clouds couldn`t sage be compiled on linux
(could be virtualized on FBSD) and then run on FBSD as a linux binary?
Are there any problems when running as linux binary? FBSD 8.0 should
have 2.6 kernel support ready...

On Jul 27, 12:41 pm, Minh Nguyen <nguyenmi...@gmail.com> 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
>
> Stop in /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4/src.
> *** Error code 1
>
> Stop in /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4/src.
> *** Error code 1
>
> Stop in /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4/src.
> *** Error code 1
>
> Stop in /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4/src.
> Error installing MPIR.
>
> real    5m58.954s
> user    1m55.129s
> sys     5m52.480s
> sage: An error occurred while installing mpir-1.2.p4
> Please email sage-develhttp://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /usr/scratch/mvngu/sage-4.1.1.alpha1/install.log.  Describe your computer, 
> o\
> perating system, etc.
> If you want to try to fix the problem, yourself *don't* just cd to
> /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4 and type 'make'.
> Instead type "/usr/scratch/mvngu/sage-4.1.1.alpha1/sage -sh"
> in order to set all environment variables correctly, then cd to
> /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/mpir-1.2.p4
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> *** Error code 1
>
> Stop in /usr/scratch/mvngu/sage-4.1.1.alpha1/spkg.
>
> real    6m10.853s
> user    1m59.821s
> sys     6m0.205s
> Error building Sage.
>
> --
> Regards
> Minh Van Nguyen

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