Dear support team,
I am trying to install latest trunk version on my mac ( Mountain Lion v10.8.5 ) and having some problems.
I believe that all the extrnal libraries are properly installed. The configuration step goes well but then
I have a compilation error that it's hard for me to cope with. The error is copied below and it is evident
that the necessary dictionaries are not properly linked/compiled. I tried to see whether an inc directory
was not properly passed in the Makefile but w/o success.
Any thought or suggestion will be much appreciated ...
Many thanks, Leonidas
info :
Mac OS X 10.8.5
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
macosx64 --enable-pythia6 --with-pythia6-libdir=/Users/kalousis/pythia/v6_424/lib/ --enable-minuit2 --enable-roofit --enable-table --enable-gdml
--enable-pgsql --enable-mysql --with-gsl-incdir=/opt/local/include/ --with-gsl-libdir=/opt/local/lib/
error :
The following config options were set:
GENIE_INSTALLATION_PATH=/usr/local/
GOPT_ENABLE_PROFILER=NO
GOPT_ENABLE_DOXYGEN_DOC=NO
GOPT_ENABLE_DYLIBVERSION=YES
GOPT_ENABLE_LOW_LEVEL_MESG=NO
GOPT_ENABLE_LHAPDF=YES
GOPT_ENABLE_CERNLIB=NO
GOPT_ENABLE_FLUX_DRIVERS=YES
GOPT_ENABLE_GEOM_DRIVERS=YES
GOPT_ENABLE_VLE_EXTENSION=NO
GOPT_ENABLE_VHE_EXTENSION=NO
GOPT_ENABLE_VALIDATION_TOOLS=NO
GOPT_ENABLE_MUELOSS=YES
GOPT_ENABLE_TEST=NO
GOPT_ENABLE_GSL=NO
GOPT_ENABLE_T2K=NO
GOPT_ENABLE_NUMI=NO
GOPT_ENABLE_ATMO=NO
GOPT_ENABLE_NUCLEON_DECAY=NO
GOPT_ENABLE_RWGHT=NO
GOPT_ENABLE_FASTSIM=NO
GOPT_ENABLE_MASTERCLASS=NO
GOPT_WITH_CXX_DEBUG_FLAG=
GOPT_WITH_CXX_OPTIMIZ_FLAG=-O2
GOPT_WITH_PROFILER_LIB=
GOPT_WITH_DOXYGEN_PATH=
GOPT_WITH_PYTHIA6_LIB=/Users/kalousis/pythia/v6_424/lib
GOPT_WITH_CERN_LIB=
GOPT_WITH_LHAPDF_LIB=/usr/local/lib
GOPT_WITH_LHAPDF_INC=/usr/local/include
GOPT_WITH_LIBXML2_INC=/usr/include/libxml2
GOPT_WITH_LIBXML2_LIB=/usr/lib
GOPT_WITH_LOG4CPP_INC=/opt/local/include
GOPT_WITH_LOG4CPP_LIB=/opt/local/lib
*** To continue building GENIE type: gmake
***** Building GENIE from source tree at: /Users/kalousis/trunk_genie/
***** The source tree corresponds to GENIE version 999.999.999
** Creating GENIE lib and bin directories...
cd /Users/kalousis/trunk_genie/; \
[ -d bin ] || mkdir bin; chmod 755 bin;\
[ -d lib ] || mkdir lib; chmod 755 lib;
** Taking a snapshot of the build environment...
perl /Users/kalousis/trunk_genie//src/scripts/setup/genie-build-env-snapshot
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/quota) is setuid or setgid
** Adding automatically generated code...
perl /Users/kalousis/trunk_genie//src/scripts/setup/genie-write-gbuild
perl /Users/kalousis/trunk_genie//src/scripts/setup/genie-write-gversion
** Building base-framework...
cd /Users/kalousis/trunk_genie//src;\
cd Algorithm; make; cd ..; \
cd Messenger; make; cd ..; \
cd Registry; make; \
cd /Users/kalousis/trunk_genie/
g++ -c -m64 -pipe -W -Wall -fsigned-char -fno-common -flat_namespace -O2 -Wno-strict-aliasing -ffriend-injection -I/Users/kalousis/root/include -I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/Users/kalousis/trunk_genie//src/ AlgConfigPool.cxx
clang: warning: argument unused during compilation: '-flat_namespace'
clang: warning: argument unused during compilation: '-ffriend-injection'
g++ -c -m64 -pipe -W -Wall -fsigned-char -fno-common -flat_namespace -O2 -Wno-strict-aliasing -ffriend-injection -I/Users/kalousis/root/include -I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/Users/kalousis/trunk_genie//src/ AlgFactory.cxx
clang: warning: argument unused during compilation: '-flat_namespace'
clang: warning: argument unused during compilation: '-ffriend-injection'
g++ -c -m64 -pipe -W -Wall -fsigned-char -fno-common -flat_namespace -O2 -Wno-strict-aliasing -ffriend-injection -I/Users/kalousis/root/include -I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/Users/kalousis/trunk_genie//src/ AlgId.cxx
clang: warning: argument unused during compilation: '-flat_namespace'
clang: warning: argument unused during compilation: '-ffriend-injection'
g++ -c -m64 -pipe -W -Wall -fsigned-char -fno-common -flat_namespace -O2 -Wno-strict-aliasing -ffriend-injection -I/Users/kalousis/root/include -I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/Users/kalousis/trunk_genie//src/ Algorithm.cxx
clang: warning: argument unused during compilation: '-flat_namespace'
clang: warning: argument unused during compilation: '-ffriend-injection'
rm -f _ROOT_DICT_Algorithm.*
[package: Algorithm] Generating ROOT dictionary ...
rootcint -f _ROOT_DICT_Algorithm.cc -c -I/Users/kalousis/root/include -I/Users/kalousis/trunk_genie//src -I/Users/kalousis/trunk_genie//src/NuValidator AlgConfigPool.h AlgFactory.h AlgId.h Algorithm.h LinkDef.h
g++ -c -m64 -pipe -W -Wall -fsigned-char -fno-common -flat_namespace -O2 -Wno-strict-aliasing -ffriend-injection -I/Users/kalousis/root/include -I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/Users/kalousis/trunk_genie//src/ _ROOT_DICT_Algorithm.cc
clang: warning: argument unused during compilation: '-flat_namespace'
clang: warning: argument unused during compilation: '-ffriend-injection'
_ROOT_DICT_Algorithm.cc:404:31: error: no matching function for call to 'operator<<'
const ostream& obj = genie::operator<<(*(ostream*) libp->para[0].ref, *(genie::AlgId*) libp->para[1].ref);
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate template ignored: failed template argument deduction
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:414:31: error: no matching function for call to 'operator<<'
const ostream& obj = genie::operator<<(*(ostream*) libp->para[0].ref, *(genie::Registry*) libp->para[1].ref);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate template ignored: failed template argument deduction
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:424:31: error: no matching function for call to 'operator<<'
const ostream& obj = genie::operator<<(*(ostream*) libp->para[0].ref, *(genie::Algorithm*) libp->para[1].ref);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate template ignored: failed template argument deduction
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:434:31: error: no matching function for call to 'operator<<'
const ostream& obj = genie::operator<<(*(ostream*) libp->para[0].ref, *(genie::AlgConfigPool*) libp->para[1].ref);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate template ignored: failed template argument deduction
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:444:31: error: no matching function for call to 'operator<<'
const ostream& obj = genie::operator<<(*(ostream*) libp->para[0].ref, *(genie::AlgFactory*) libp->para[1].ref);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate template ignored: failed template argument deduction
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:1454:178: error: address of overloaded function 'operator<<' does not match required type 'std::basic_ostream<char> &(std::basic_ostream<char> &, const genie::AlgId &)'
"u 'basic_ostream<char,char_traits<char> >' 'ostream' 1 - stream u 'genie::AlgId' - 11 - alg", (char*)NULL, (void*) G__func2void( (ostream& (*)(ostream&, const genie::AlgId&))(&genie::operator<<) ), 0);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate function
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:1456:189: error: address of overloaded function 'operator<<' does not match required type 'std::basic_ostream<char> &(std::basic_ostream<char> &, const genie::Registry &)'
"u 'basic_ostream<char,char_traits<char> >' 'ostream' 1 - stream u 'genie::Registry' - 11 - registry", (char*)NULL, (void*) G__func2void( (ostream& (*)(ostream&, const genie::Registry&))(&genie::operator<<) ), 0);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate function
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:1458:186: error: address of overloaded function 'operator<<' does not match required type 'std::basic_ostream<char> &(std::basic_ostream<char> &, const genie::Algorithm &)'
"u 'basic_ostream<char,char_traits<char> >' 'ostream' 1 - stream u 'genie::Algorithm' - 11 - alg", (char*)NULL, (void*) G__func2void( (ostream& (*)(ostream&, const genie::Algorithm&))(&genie::operator<<) ), 0);
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate function
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:1460:193: error: address of overloaded function 'operator<<' does not match required type 'std::basic_ostream<char> &(std::basic_ostream<char> &, const genie::AlgConfigPool &)'
"u 'basic_ostream<char,char_traits<char> >' 'ostream' 1 - stream u 'genie::AlgConfigPool' - 11 - cp", (char*)NULL, (void*) G__func2void( (ostream& (*)(ostream&, const genie::AlgConfigPool&))(&genie::operator<<) ), 0);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate function
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
_ROOT_DICT_Algorithm.cc:1462:189: error: address of overloaded function 'operator<<' does not match required type 'std::basic_ostream<char> &(std::basic_ostream<char> &, const genie::AlgFactory &)'
"u 'basic_ostream<char,char_traits<char> >' 'ostream' 1 - stream u 'genie::AlgFactory' - 11 - algf", (char*)NULL, (void*) G__func2void( (ostream& (*)(ostream&, const genie::AlgFactory&))(&genie::operator<<) ), 0);
^~~~~~~~~~~~~~~~~
/Users/kalousis/trunk_genie//src/Registry/RegistryItem.h:35:13: note: candidate function
ostream & operator << (ostream & stream, const RegistryItem<T> & rec);
^
10 errors generated.
make[1]: *** [_ROOT_DICT_Algorithm.o] Error 1
g++ -c -m64 -pipe -W -Wall -fsigned-char -fno-common -flat_namespace -O2 -Wno-strict-aliasing -ffriend-injection -I/Users/kalousis/root/include -I/usr/include/libxml2 -I/opt/local/include -I/usr/local/include -I/Users/kalousis/trunk_genie//src/ Messenger.cxx
clang: warning: argument unused during compilation: '-flat_namespace'
clang: warning: argument unused during compilation: '-ffriend-injection'
^Cmake[1]: *** [Messenger.o] Interrupt: 2
gmake: *** [base-framework] Interrupt: 2
|