David Fang wrote:
Hi all,
Having trouble updating the gcc4 (4.0.1-2) package, 10.4-transitional.
Is gcc4 missing a BuildDepends on libmpfr-dev? Because having
only gmp installed, configure gives me:
--------- sniplet ------------
checking for correct version of gmp.h... yes
checking for MPFR... no
configure: error: GMP with MPFR support is required to build f95
--------- end sniplet --------
gmp should be enough - it includes mpfr.h. If you run 'dpkg
--listfiles gmp' you should see a /sw/include/mpfr.h in there. If you
don't, try rebuilding and/or reinstalling gmp.
I mistakenly thought it was already installed with gmp, but that wasn't
enough. Upon attempting to install libmpfr-dev, I encountered errors in
its installation:
--------- sniplet ------------
<build goes smoothly...>
Selecting previously deselected package libmpfr-dev.
(Reading database ... 103949 files and directories currently installed.)
Unpacking libmpfr-dev (from .../libmpfr-dev_2.1.0-1_darwin-powerpc.deb)
...
/sw/bin/dpkg: error processing
/sw/fink/dists/unstable/main/binary-darwin-powerpc/libs/libmpfr-dev_2.1.0-1_darwin-powerpc.deb
(--install):
trying to overwrite `/sw/include/mpf2mpfr.h', which is also in package
gmp
/sw/bin/dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/sw/fink/dists/unstable/main/binary-darwin-powerpc/libs/libmpfr-dev_2.1.0-1_darwin-powerpc.deb
### execution of dpkg failed, exit code 1
Failed: can't install package libmpfr-dev-2.1.0-1
--------- end sniplet --------
Yes, the libmpfr-dev package clashes with gmp (maintainer cc'ed).
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449
325 Broadway Web : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel