Your message dated Wed, 04 Jun 2008 19:02:00 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#474080: fixed in mpfi 1.3.4~rc4~cvs20080519-1
has caused the Debian Bug report #474080,
regarding mpfi: Please add shared library support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
474080: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=474080
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mpfi
Version: 1.3.4~rc3-1
Severity: wishlist

Hello,

I'm working on packaging SAGE for Debian, which links against libmpfi. However, I'm getting linking problems on amd64 because libmpfi in debian is not compiled with -fPIC (as it should be).

The right solution to this is that I should link against the shared library version of libmpfi which would be built with -fPIC.

Making mpfi build a shared library requires some minor changes to the Makefile.am and configure.ac files and running autotools (patch attached). There's additional work that needs to be done in terms of setting up the right shared library versioning and making the new shared library package (and ideally convincing upstream to include the shared library), but I've attached the patch I constructed to build the shared library for my development use in case it saves you some time.

        -Tim Abbott
--- mpfi-1.3.4~rc3/configure.ac	2006-01-03 04:03:52.000000000 -0500
+++ mpfi-1.3.4~rc3tabbott/configure.ac	2008-04-02 23:50:22.000000000 -0400
@@ -12,6 +12,9 @@
 MPFI_SUBDIRS="src tests doc"
 AC_SUBST(MPFI_SUBDIRS)
 
+AC_PROG_LIBTOOL
+AC_SUBST(LIBTOOL_DEPS)
+
 # ajout des options sur la ligne de commande du configure
 # Initialisation des repertoires GMP
 AC_ARG_WITH(gmp-dir,
--- mpfi-1.3.4~rc3/src/Makefile.am	2006-01-03 04:04:02.000000000 -0500
+++ mpfi-1.3.4~rc3tabbott/src/Makefile.am	2008-04-02 23:46:51.000000000 -0400
@@ -1,6 +1,6 @@
-lib_LIBRARIES = libmpfi.a 
+lib_LTLIBRARIES = libmpfi.la 
 include_HEADERS = mpfi.h mpfi_io.h
-libmpfi_a_SOURCES = mpfi.h mpfi-impl.h mpfi_io.h mpfi.c mpfi_io.c mpfi_trigo.c
+libmpfi_la_SOURCES = mpfi.h mpfi-impl.h mpfi_io.h mpfi.c mpfi_io.c mpfi_trigo.c
 #test_mpfi_LADD = @LIBS@ ../src/libmpfi.a
 
 INCLUDES =-I$(top_srcdir) @INCLUDES@
--- mpfi-1.3.4~rc3/tests/Makefile.am	2006-01-03 04:04:06.000000000 -0500
+++ mpfi-1.3.4~rc3tabbott/tests/Makefile.am	2008-04-03 01:53:58.000000000 -0400
@@ -1,8 +1,8 @@
 noinst_PROGRAMS = test_mpfi test_trigo
 test_mpfi_SOURCES = test_mpfi.c
 test_trigo_SOURCES = test_trigo.c
-test_mpfi_LDADD = ${top_srcdir}/src/libmpfi.a @LDADD@
-test_trigo_LDADD = ${top_srcdir}/src/libmpfi.a @LDADD@
+test_mpfi_LDADD = ${top_srcdir}/src/.libs/libmpfi.a @LDADD@
+test_trigo_LDADD = ${top_srcdir}/src/.libs/libmpfi.a @LDADD@
 
 # ici on utilise la variable GMP_INC_PATH declaree par le configure
 

--- End Message ---
--- Begin Message ---
Source: mpfi
Source-Version: 1.3.4~rc4~cvs20080519-1

We believe that the bug you reported is fixed in the latest version of
mpfi, which is due to be installed in the Debian FTP archive:

libmpfi-dev_1.3.4~rc4~cvs20080519-1_amd64.deb
  to pool/main/m/mpfi/libmpfi-dev_1.3.4~rc4~cvs20080519-1_amd64.deb
libmpfi0_1.3.4~rc4~cvs20080519-1_amd64.deb
  to pool/main/m/mpfi/libmpfi0_1.3.4~rc4~cvs20080519-1_amd64.deb
mpfi_1.3.4~rc4~cvs20080519-1.diff.gz
  to pool/main/m/mpfi/mpfi_1.3.4~rc4~cvs20080519-1.diff.gz
mpfi_1.3.4~rc4~cvs20080519-1.dsc
  to pool/main/m/mpfi/mpfi_1.3.4~rc4~cvs20080519-1.dsc
mpfi_1.3.4~rc4~cvs20080519.orig.tar.gz
  to pool/main/m/mpfi/mpfi_1.3.4~rc4~cvs20080519.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laurent Fousse <[EMAIL PROTECTED]> (supplier of updated mpfi package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 23 May 2008 16:18:30 +0200
Source: mpfi
Binary: libmpfi-dev libmpfi0
Architecture: source amd64
Version: 1.3.4~rc4~cvs20080519-1
Distribution: unstable
Urgency: low
Maintainer: Laurent Fousse <[EMAIL PROTECTED]>
Changed-By: Laurent Fousse <[EMAIL PROTECTED]>
Description: 
 libmpfi-dev - multiple precision floating-point interval computation library
 libmpfi0   - multiple precision floating-point interval computation library
Closes: 474080
Changes: 
 mpfi (1.3.4~rc4~cvs20080519-1) unstable; urgency=low
 .
   * Package current CVS version.
   * Add new dynamic library package (closes: #474080).
   * Upgrade Standard-Version to 3.7.3 (no change needed).
   * Drop cdbs.
Checksums-Sha1: 
 7f597a84468087406ddccd4e281dc8ef614f0be4 1112 mpfi_1.3.4~rc4~cvs20080519-1.dsc
 7a742ab1344ff13083c01bd63b1e11900992d56c 379300 
mpfi_1.3.4~rc4~cvs20080519.orig.tar.gz
 650c215ee9e79cddff54bcc3f2a0a4ba5e4c9f32 3984 
mpfi_1.3.4~rc4~cvs20080519-1.diff.gz
 cd4bcdd1e0e37d81175d35f922e145e89fd286f1 49968 
libmpfi-dev_1.3.4~rc4~cvs20080519-1_amd64.deb
 9a6930dd409c22a0d30ddf8889bdf3bd7d3a8fcb 27474 
libmpfi0_1.3.4~rc4~cvs20080519-1_amd64.deb
Checksums-Sha256: 
 df3973c64f4457d674addbe5439cc5f75d8d44a33b82b911c9cb4f7e1951e1ab 1112 
mpfi_1.3.4~rc4~cvs20080519-1.dsc
 9a1be8ceea0284b54482ed0089604bcc47ab47ad41e091ff8f3c9576f3a3a97e 379300 
mpfi_1.3.4~rc4~cvs20080519.orig.tar.gz
 3a63f44bbfbf5fada628b44102b6fd81c9a8f1681a57fbde307e707f354efef4 3984 
mpfi_1.3.4~rc4~cvs20080519-1.diff.gz
 adc9ba3dca5500e69f9d47793af77c363374d76d5855985cfb00ea95eaf80bfa 49968 
libmpfi-dev_1.3.4~rc4~cvs20080519-1_amd64.deb
 8857e6065c0687b67787d7ed435d496c51afd95b011db5e4ca6b214c6f316893 27474 
libmpfi0_1.3.4~rc4~cvs20080519-1_amd64.deb
Files: 
 d1d6fa4df2d39f78dd23295c699725ef 1112 math optional 
mpfi_1.3.4~rc4~cvs20080519-1.dsc
 aeef1a6be21d4b7c199b3e9541c00642 379300 math optional 
mpfi_1.3.4~rc4~cvs20080519.orig.tar.gz
 74d95eba072b1a128c0e448042c4129a 3984 math optional 
mpfi_1.3.4~rc4~cvs20080519-1.diff.gz
 993fee674b51eb33bfd635367fd75ba3 49968 libdevel optional 
libmpfi-dev_1.3.4~rc4~cvs20080519-1_amd64.deb
 b7a9935a5e62f46afa3b4225cd6e5696 27474 libs optional 
libmpfi0_1.3.4~rc4~cvs20080519-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFINuxVTUld8sb4OVwRAvOFAKCAczSdzDpKll4VQv+QDGT0evtN7QCfW/PF
wYJybBofFVknq99xZaV/4Ow=
=6arD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to