Installation of 5.28.00b fails on 64-bit Mac OS X

From: Mojca Miklavec <mojca.miklavec.lists_at_gmail.com>
Date: Fri, 1 Apr 2011 14:53:35 +0200


Hello,

I'm having problem installing the latest root (5.28.00b).

A while ago I have successfully installed root v5.26.00 on my 64-bit Mac OS X 10.6.7 (I'm using macports for other libraries and possible dependencies, but not for root itself which I install from source, independently).

When tried to install GATE (opengatecollaboration.org) it did compile, but it "crashes" when I try to run it:

bash> Gate
dyld: Symbol not found: __ZN15G4UserRunAction11GenerateRunEv  Referenced from: /path/to/gate/gate_v6.1/tmp/Darwin-g++/Gate/libGate.dylib  Expected in: flat namespace
 in /path/to/gate/gate_v6.1/tmp/Darwin-g++/Gate/libGate.dylib

so I decided that it might make sense to at least try to install the latest version of Root (I'm not sure if error in GATE has something to do with ROOT or not). Due to some weird @rpath-s in library dependencies of Gate I decided to build Root to a "static location" and did the following:

    cd /path/to/root
    tar xvzf root_v5.28.00b.source.tar.gz     cd root
    ./configure macosx64 --prefix=$PWD
    make -j2

However the compilation didn't succeed:

Creatiing version header...
[I] No git repository info found. Trying to interpret VERSION_INFO g++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual
-fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG -D_REENTRANT
-pthread -DR__KRB5 -DR__SSL -DOPENSSL_NO_KRB5
-I/opt/local/include -o net/rpdutils/src/ssh.o -c
/path/to/root/root/net/rpdutils/src/ssh.cxx [I] src/XrdVersion.hh successfuly generated Making sys component...
cd src/XrdSys;\

        make all ARCH=x86_64_macosx --no-print-directory Make XrdSys done.
Making ouc component...
cd src/XrdOuc;\

        make all ARCH=x86_64_macosx --no-print-directory bin/rmkdepend -R -fnet/auth/src/DaemonUtils.d -Y -w 1000 -- -m64 -pipe
-Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common
-Iinclude -DR__HAVE_CONFIG -D_REENTRANT -pthread -D__cplusplus --
/path/to/root/root/net/auth/src/DaemonUtils.cxx g++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual
-fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG -D_REENTRANT
-pthread -o net/auth/src/DaemonUtils.o -c
/path/to/root/root/net/auth/src/DaemonUtils.cxx make[5]: *** No rule to make target `XrdOucFactoryBonjour.hh', needed by `../../obj/XrdOucBonjour.o'. Stop.

make[4]: *** [Darwinall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdOuc] Error 2
make[1]: *** [all] Error 2

*** Error condition reported by make (rc = 2): make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1 make: *** Waiting for unfinished jobs....

Did I misunderstand/misinterpret some instructions for building? Do you have any hints how I could solve the problem?

Thanks a lot for any hints,

     Mojca Received on Fri Apr 01 2011 - 14:53:41 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 17:50:01 CEST