Hi Remi,
Thanks so much for putting this together. It's great to be able to
deploy consistent sets of ROOT-CERNLIB-GEANT libraries across both
architectures.
I've built this package successfully on a MBP running 10.4.8 and a G5
running 10.4.8 server (gfortran option). However, one of my
colleagues has encountered errors linking h2root on a PowerBook
running 10.4.8. The offending command is
g++ -O2 -bind_at_load -o bin/h2root main/src/h2root.o hbook/src/
hntvar2.o \
-Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix \
-L/sw/./lib -L/sw/./lib -lpacklib -lkernlib \
-L/sw/lib/gcc4/lib -lgfortran -lgfortranbegin -L/sw/lib -lg2c -
lm -lpthread -ldl
/usr/bin/ld: Undefined symbols:
_inflate
_inflateEnd
_inflateInit2_
_inflateReset
collect2: ld returned 1 exit status
make: *** [bin/h2root] Error 1
I'm a little confused by this error, since my copies of h2root have
no inflate symbols in them. I tried a dirty hack by adding -lz to
the link command. This succeeded, but then Fink blew it away when we
did "fink install root5-cernlib-geant4" again. Any thoughts? He's
tried a fresh rebuild of Fink at least once. Thanks,
Adam
On Jan 27, 2007, at 3:38 PM, Remi Mommsen wrote:
> Hi,
>
> Many of you inquired about the possibility to get CERNLIB (including
> PAW) for MacIntel. Given that the CERNLIB makes extensive use of g77
> features, CERNLIB did not compile properly for a long time using the
> Fortran compilers available on MacIntel.
>
> Thanks to the hard work of Jack Howarth and Jean-François Mertens,
> this changed during the last weeks. The gfortran compiler from recent
> GCC 4.2 snapshots does compile the CERNLIB correctly, i.e. all tests
> of the CERNLIB test suite succeed. Since today, gcc42 and cernlib2005
> are available (*) through fink (http://fink.sourceforge.net/). The
> patches required to make CERNLIB work on Mac (both on intel and ppc)
> are to a large extend based on work of Keisuke Fujii and Harald Vogt.
>
> Note that the CERNLIB package name changed from cernlib2005 to
> cernlib2005-g77 and cernlib2005-gfortran. The former is only
> available for ppc.
>
> I'm looking forward to get feedback from you.
>
> Enjoy,
> Remi
>
>
>
> (*) You have to enable the unstable branch (http://
> www.finkproject.org/faq/usage-fink.php#unstable) to get access to
> them.
>
>
> --
> Truth decays into beauty, while beauty soon becomes merely charm.
> Charm ends up as strangeness, and even that doesn't last, but up and
> down are forever. (Anonymous)
>
> *********************************************************************
> Remigius K. Mommsen e-mail: [EMAIL PROTECTED]
> University of Manchester URL: http://cern.ch/mommsen
> Fermilab, MS 357 voice: ++1 (630) 840-8321
> P.O. Box 500 fax: ++1 (630) 840-2649
> Batavia, Il 60510, US home: ++1 (630) 236-0932
> *********************************************************************
>
>
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Fink-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fink-users
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users