I've Fixed this in trunk SVN , and this also fixes the extra requirement of make install-gmpcompat , we dont require it anymore. We can issue a mpir-1.2.2 ?
On Monday 27 July 2009 23:07:27 Jason Moxham wrote: > The problem is this , when we install libgmpxx we have to relink it against > libgmp and libgmp is not installed yet . For libmpir this is not a problem > as libtool knows this is the library we are installing and so looks > elsewhere for the library. For libgmp , libtool doesn't know this ( and we > couldn't figure out how to tell it) , so the install fails with libgmpxx , > but on other unices it does get as far as installing libgmp , so a second > attempt at installation is successful(and this is what we do at the mo) . > For some reason bsd does the libgmp and libgmpxx as a pair and if libgmpxx > fails then libgmp is not installed either. If I install libgmp manualy , > then we can install libgmpxx as normal. > > On Monday 27 July 2009 15:40:12 Jason Moxham wrote: > > Hi , I'll give it go > > > > My guess is that this is what is wrong > > > > ./configure blah --enable-gmpcompat > > test ret code > > make > > test ret code > > make install > > test ret code > > # this can return a fail , but for gmp-compat we have to ignore it > > make install-gmpcompat > > test ret code > > > > Jason > > > > On Monday 27 July 2009 14:24:41 William Stein wrote: > > > Hi, > > > > > > Do of you mpir devs want to try to debug that Sage fails to build on > > > FreeBSD because of MPIR? I can give you an account on the relevant > > > freebsd box. > > > > > > William > > > > > > > > > ---------- Forwarded message ---------- > > > From: Minh Nguyen <[email protected]> > > > Date: Mon, Jul 27, 2009 at 3:41 AM > > > Subject: [sage-devel] status of FreeBSD 64-bit support > > > To: [email protected] > > > > > > > > > > > > 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-devel http://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 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---
