Opened 19 years ago

Closed 19 years ago

#5217 closed defect (fixed)

mpfr dynamic library

Reported by: vincent-opdarw@… Owned by: leimy@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

As of version 2.2.0, we support the build of an MPFR dynamic library (thanks to libtool) with:

configure --enable-shared

The dynamic library shouldn't be libmpfr.2.2.0.dylib (matching the package version), but libmpfr.1.0.0.dylib (as this denotes an interface version -- see the libtool documentation).

Unfortunately the tarball was built under Debian, which had a buggy autoconf (the autoconf package was fixed just after the MPFR release), and --enable-shared doesn't seem to have any effect under darwin. Running "autoreconf" is a solution for those who have the corresponding tools. Otherwise I don't know if there's one better than the current patch in the mpfr port (but $(VERSION) should be changed by 1.0.0).

Change History (2)

comment:1 Changed 19 years ago by vincent-opdarw@…

A simple patch (thanks to Dave Morrison) is now available on the MPFR 2.2.0 page: http://www.mpfr.org/mpfr-2.2.0/

comment:2 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks - added the new patch to build dylib;

Note: See TracTickets for help on using tickets.