Opened 10 years ago

Closed 10 years ago

#1268 closed defect (fixed)

[with spkg, tested] new version of MPFI

Reported by: cwitty Owned by: was
Priority: major Milestone: sage-2.8.15
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by cwitty)

I've built a new MPFI spkg that switches to using the current MPFI CVS. (They have all the bug fixes from the previous Sage spkg, and more.) Plus, they've started installing shared and static libraries, so we end up using the shared library version.

The new spkg is at

testall passes on 32-bit x86 linux with the new spkg.

By the way, if you're going to test it, you can't just install the new spkg, because the old library will still be statically linked in to the relevant extension modules. You also need to do:

touch devel/sage/sage/rings/mpfi.pxi
sage -b

[EDITED 2007-11-29 to point to new version of spkg]

Change History (5)

comment:1 Changed 10 years ago by cwitty

As mentioned above, simply installing the new spkg isn't enough; we need to ensure that extensions depending on the library get rebuilt. One way to do this for upgrades to 2.8.15 is to apply the patch from #1270 (or any other patch that touches mpfi.pxi).

comment:2 Changed 10 years ago by robertwb

(cd .libs && rm -f libmpfi.0 && ln -s libmpfi.0.0.0 libmpfi.0)
(cd .libs && rm -f libmpfi && ln -s libmpfi.0.0.0 libmpfi)
ar cru .libs/libmpfi.a  mpfi.o mpfi_io.o mpfi_trigo.o~ranlib .libs/libmpfi.a
ar: mpfi_trigo.o~ranlib: No such file or directory
make[1]: *** [] Error 1
make: *** [install-recursive] Error 1
An error occurred while building mpfi.

real    0m19.460s
user    0m4.463s
sys     0m8.673s
sage: An error occurred while installing mpfi-1.3.4-cvs20071125

OS X 10.4, Intel (core duo)

comment:3 Changed 10 years ago by cwitty

  • Description modified (diff)

I edited the Description to point at a new version of the spkg, that may fix the above OSX compilation failure.

comment:4 Changed 10 years ago by rlm

  • Summary changed from [with spkg] new version of MPFI to [with spkg, tested] new version of MPFI

Installs fine on Intel OS X 10.5.1.

comment:5 Changed 10 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in 2.8.15.alpha0.

Note: See TracTickets for help on using tickets.