On 12/11/2009, at 14:39, Peter Skands wrote: > I'm trying to install cernlib-2005 on Snow Leopard (10.6). Currently, > sudo fink install cernlib-2005 > fails since cernlib-2005 depends on gcc44, which in turn fails to > compile on my > system. The installation of gcc44 gets quite far, but then fails > somewhere in > java, with the message (see below for full output): > > ld: absolute addressing (perhaps -mdynamic-no-pic) used in > ___gmpn_add_n from > /usr/local/lib/libgmp.a(add_n.o) not allowed in slidable image. Use > '-read_only_relocs suppress' to enable text relocs > > Q1: is gcc44 supposed to work without problems on 10.6 (i.e., is my > /usr/local/lib/libgmp.a the culprit)?
Yup. See FAQ entry Q6.8: http://www.finkproject.org/faq/comp-general.php#usr-local-libs > Q2: since I really only need cernlib, is it possible to get an > alternative > version of cernlib-2005 which only requires the standard C compiler > you get with > XCode (4.2) ? cernlib depends on gcc44 not because of the C compiler but because of the Fortran compiler (Xcode doesn't ship one). Most, if not all of our packages that depend on gcc44 do so because of gfortran. Cheers, -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel