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.

4.  I'll take a closer look at it tonight and see if I can find a clean fix.

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


-- 
Jason Worth Martin
Asst. Prof. of Mathematics
James Madison University
http://www.math.jmu.edu/~martin
phone: (+1) 540-568-5101
fax: (+1) 540-568-6857

"Ever my heart rises as we draw near the mountains.
There is good rock here." -- Gimli, son of Gloin

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

Reply via email to