Hi Attila, sorry for the slow reply. I was pretty busy after the xmas break.
On Jan 3, 2012, at 7:18 PM, Attila Krasznahorkay wrote: > 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 Why do you have libXft in /sw/lib? On my box, it's buried under /sw/lib/xft2/lib/. Thus, root picks up the system one in /usr/X11R6/lib as it should. > "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. ROOT adopted clang as the official compiler for root 5.32 on 10.7. Thus, if you see any problems with 5.32 and clang, you should ask the root developers for help. Remi
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________ 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
