Dear Remi,

I was trying to install ROOT 5.32 on 10.7, as using Fink for this seemed a bit 
easier than compiling XRootD and ROOT by hand. (In the past few years I always 
compiled ROOT by hand, as Fink was always trailing in version numbers by a lot.)

Unfortunately the configuration script of ROOT fails like this (sorry for the 
long log...):

gzip -dc /sw/src/root_v5.32.00.source.tar.gz | /sw/bin/tar -xf -  
--no-same-owner --no-same-permissions 
[ -r /sw/fink/dists/stable/main/finkinfo/sci/root5.patch ]
patch -p1 < /sw/fink/dists/stable/main/finkinfo/sci/root5.patch
patching file configure
patching file cint/configure
patching file cint/ROOT/cintdlls.mk
patching file build/unix/makelib.sh
patching file config/Makefile.macosx64
patching file etc/Makefile.arch
/var/tmp/tmp.1.X1ETA7
#!/bin/sh -ev
./configure macosx64 --prefix=/sw --etcdir=/sw/etc/root \
--docdir=/sw/share/doc/root5 \
--libdir=/sw/lib/root \
--testdir=/sw/share/root/test \
--tutdir=/sw/share/root/tutorials \
--with-fftw3-incdir=/sw/include --with-fftw3-libdir=/sw/lib \
--with-gviz-incdir=/sw/include --with-gviz-libdir=/sw/lib \
--with-gsl-incdir=/sw/include --with-gsl-libdir=/sw/lib \
--with-mysql-incdir=/sw/include/mysql --with-mysql-libdir=/sw/lib/mysql \
--with-xml-incdir=/sw/include/libxml2 --with-xml-libdir=/sw/lib \
--with-xrootd=/sw \
--disable-afs \
--disable-builtin-freetype \
--disable-builtin-glew \
--disable-builtin-lzma \
--disable-builtin-pcre \
--disable-builtin-zlib \
--disable-builtin_ftgl \
--enable-gdml \
--enable-minuit2 \
--enable-roofit \
--enable-ruby \
--enable-soversion \
--enable-table \
--enable-unuran --with-f77=' '
Checking for source directory ... /sw/src/fink.build/root5-5.32.00-11/root
Configuring for macosx64
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... clang
Checking for C++ compiler ... clang++
Checking for linker (LD) ... clang++
Checking for F77 compiler ... no F77 compiler   found
Checking for libX11 ... /usr/X11R6/lib
Checking for X11/Xlib.h ... /usr/include
Checking for X11/xpm.h ... /usr/include
Checking for X11/Xft/Xft.h ... /sw/include
Checking for X11/extensions/shape.h ... /usr/include
Checking for libXpm ... /usr/X11R6/lib
Checking for libXft ... /sw/lib
configure: libXft not in same directory as libX11
For consistency they should be in the same directory
### execution of /var/tmp/tmp.1.X1ETA7 failed, exit code 1

"fink install root5" at least installed xrootd, so I should be able to install 
ROOT 5.32 by hand now, but it would be a nice feature if I could go back to 
using the Fink version of ROOT.

But to do this, I should give another warning: I haven't had much success with 
XCode's compilers and ROOT on Snow Leopard. With ROOT 5.30.05 for instance I 
got a fully functional installation by specifying these options to ROOT's 
configure script:

--enable-table --enable-roofit --enable-builtin-pcre --with-cc=gcc-4 
--with-cxx=g++-4 --with-f77=gfortran --with-ld=g++-4

So as you can see, I chose to use Fink's GCC 4.6 for the compilation instead of 
Apple's. (One of my analysis codes uses exceptions extensively, and for some 
reason this code always crashed when I used Apple's compiler. With Fink's GCC 
it has no problems.)

All in all, you should strongly consider using Fink's GCC for the compilation 
as well when you're updating the root5 package.

Cheers,
                Attila

P.S. My system is like this:

Package manager version: 0.31.5
Distribution version: selfupdate-rsync Tue Jan  3 17:45:09 2012, 10.7, x86_64
Trees: local/main stable/main
Xcode: 4.1

-----------------------------------------------------
 Attila Krasznahorkay  [email protected]
 New York University      Phone: +41-22-76 77368
 The ATLAS Collaboration     Room: 32-S-A19
-----------------------------------------------------



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to