On Monday 05 March 2007 5:38 am, Jason Martin wrote: > 1. Sorry for not replying sooner, but I was pleasantly removed from > technology for the last several days :-) > > 2. It's the MPFI code that isn't building, not the MPFR code. > > 3. I manually executed the compile line where the Makefile was > failling and added the "-Z" option. It isn't something that you can > add to the global CFLAGS for the package because you probably will > need to link against system libraries at some point in time (e.g. for > printf, etc.). I was hoping that someone who knew the code better > could suggest where to tweak the make options so that local libraries > (e.g. sage/local/lib) get searched before system libraries. The > Makefile is built with automake/autoconf so I don't know exactly where > to tweak it... I guess it's time to learn automake.
Thanks for the clarification. I added "-Z" to the CFLAGS for the mpfi package only. I hope that's enough. > > --jason > > On 3/2/07, William Stein <[EMAIL PROTECTED]> wrote: > > On Friday 02 March 2007 8:30 am, Jason Martin wrote: > > > The problem is that the linker is picking up my 64-bit version of > > > libmpfr.a located in /usr/local/lib instead of the 32-bit libmpfr.a > > > located in sage-2.2/local/lib. I fixed it by adding a -Z flag (which > > > tells the linker not to search the system directories). There should > > > be a cleaner fix, but I'm not familiar with the MPFI source tree. > > > > Thanks! > > > > Where did you add the -Z flag? I would like to modify the mpfr > > build script so this doesn't happen to anybody else. > > > > -- William -- William Stein Associate Professor of Mathematics University of Washington --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---