Re: ROOT Installation

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 15 Dec 2010 16:05:17 +0100


Hi,

   there is something wrong with you gfortran setup as the problem is in linking h2root. In this case try ignoring the error and build using make -k (assuming you don't need the h2root program).

If possible try to upgrade to 10.5/6 because 10.4 will reach end of life soon.

Cheers, Fons.

On 22/07/28164 20:59, Hovhannes Khandanyan wrote:
> Dear ROOTers,
>
> I was trying to install ROOT on my Mac OS X 10.4.11
>
> with:
>
> $ gcc -v
> Using built-in specs.
> Target: i686-apple-darwin8
> Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
> --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
> --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
> Thread model: posix
> gcc version
>
> using:
> root_v5.26.00.source.tar
>
> by issuing:
> ./configure --prefix=<dirname>
> make
>
> the error message:
>
> symbol TMatrixTSparse<double>::SetRowIndexArray(int*)used from dynamic
> library lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZN14/usr/bin/ld: Undefined symbols:
> _bigbuf_
> _hbnam_
> _hcbits_
> _hcbook_
> _hcdir_
> _hdcofl_
> _hdelet_
> _hgive_
> _hgiven_
> _hgnf_
> _hgnpar_
> _hgnt_
> _hi_
> _hie_
> _hif_
> _hij_
> _hije_
> _hijxy_
> _hlimit_
> _hnoent_
> _hntvar2_
> _hrin_
> _hropen_
> _pawc_
> _quest_
> _rzcl_
> _rzink_
> _uhtoc_
> _zitoh_
> TMatrixTSparseIdE16SetColIndexArrayEPi.eh used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTSparse<double>::SetColIndexArray(int*)used from dynamic
> library lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZN14TMatrixTSparseIdE16GetRowIndexArrayEv.eh used from dynamic
> library lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTSparse<double>::GetRowIndexArray() used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZN14TMatrixTSparseIdE16GetColIndexArrayEv.eh used from dynamic
> library lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTSparse<double>::GetColIndexArray() used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZN14TMatrixTSparseIdE14SetMatrixArrayEPKdPKc.eh used from dynamic
> library lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTSparse<double>::SetMatrixArray(double const*, char
> const*)used from dynamic library lib/libMatrix.dylib(single module) not
> from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZN14TMatrixTSparseIdE14GetMatrixArrayEv.eh used from dynamic
> library lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTSparse<double>::GetMatrixArray() used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTSparse<double>::NormByDiag(TVectorT<double> const&, char
> const*)used from dynamic library lib/libMatrix.dylib(single module) not
> from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTBase<double>::IsValid() constused from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZNK12TMatrixTBaseIdE7IsValidEv.eh used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol TMatrixTBase<double>::~TMatrixTBase()used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> symbol __ZN12TMatrixTBaseIdED2Ev.eh used from dynamic library
> lib/libMatrix.dylib(single module) not from earlier dynamic library
> /Users/Hovke/WORK/root_5-26-00/lib/root/libHist.dylib(single module)
> collect2: ld returned 1 exit status
> make: *** [bin/h2root] Error 1
> rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
> bash-$
>
> Please let me know what I am doing wrong.
>
> Thanks for any help,
> Hovhannes
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Wed Dec 15 2010 - 16:05:21 CET

This archive was generated by hypermail 2.2.0 : Wed Dec 15 2010 - 23:50:01 CET