JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for NEUTRINO-MC-SUPPORT Archives


NEUTRINO-MC-SUPPORT Archives

NEUTRINO-MC-SUPPORT Archives


NEUTRINO-MC-SUPPORT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

NEUTRINO-MC-SUPPORT Home

NEUTRINO-MC-SUPPORT Home

NEUTRINO-MC-SUPPORT  October 2013

NEUTRINO-MC-SUPPORT October 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Dictionary linking/compilation problem

From:

"Leonidas N. Kalousis" <[log in to unmask]>

Reply-To:

Leonidas N. Kalousis

Date:

Thu, 31 Oct 2013 19:09:36 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (171 lines)

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

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
July 2023
June 2023
May 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
October 2018
July 2018
May 2018
February 2018
January 2018
October 2017
May 2017
April 2017
March 2017
January 2017
December 2016
October 2016
September 2016
August 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
July 2015
May 2015
April 2015
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
April 2014
February 2014
December 2013
November 2013
October 2013
September 2013
August 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
October 2012
April 2012
March 2012
September 2011
July 2011
June 2011
May 2011
December 2010
November 2010
October 2010
September 2010
June 2010
May 2010
April 2010
March 2010
February 2010
July 2009
June 2009
May 2009
April 2009
March 2009
January 2009
December 2008
June 2008
December 2007
August 2007
July 2007


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager