TRIQS / triqs_0.x

DEPRECATED -- This is the repository of the older versions of TRIQS
Other
11 stars 9 forks source link

Triqs intallation problem #103

Closed Adark closed 11 years ago

Adark commented 11 years ago

Hello,

When I install triqs I meet the errors, see https://gist.github.com/4655901.

Thanks for help

aeantipov commented 11 years ago

Hi, Adark. While the compilations of boost_for_triqs is working, it's the linking in your case, that fails. You've got a self-compiled python. It seems it's not compiled with fPIC. Could you please check it?

Adark commented 11 years ago

Hi A32167, Thank you very much. I recompile python. Now I go further and meet new errors, see https://gist.github.com/4663661

aeantipov commented 11 years ago

That one is easier - there's no hdf5 found. Check the list of dependencies - http://ipht.cea.fr/triqs/doc/user_manual/install/dependencies.html

aichhorn commented 11 years ago

It is important that you install the dev versions, I think. I guess you have hdf5 installed, otherwise you do not reach this stage of compilation. But it seems that you don't have header files.

Adark commented 11 years ago

Thank you both. Now I have the errors at 60%. [ 60%] [ 60%] Built target compound_ops_nopy [ 60%] [ 61%] Built target serialization_nopy Built target printing_nopy Built target iterators_nopy CMakeFiles/hdf5_nopy.dir/hdf5.cpp.o: In function H5::FileIException::FileIException(H5::FileIException const&)': hdf5.cpp:(.text._ZN2H514FileIExceptionC2ERKS0_[_ZN2H514FileIExceptionC5ERKS0_]+0x5): undefined reference toH5::Exception::Exception(H5::Exception const&)' hdf5.cpp:(.text.ZN2H514FileIExceptionC2ERKS0[ZN2H514FileIExceptionC5ERKS0]+0xc): undefined reference to `vtable for H5::FileIException'

A lot of errors like "undefined reference to ". It seems that I still have problems with the header files. But I have put all needed header files in the folder $HOME/include and done cmake with -DHDF5_INCLUDE_DIR=$HOME/include. Any suggestions? Thank you.

tayral commented 11 years ago

Hi The problem seems to lie not in the includes but in the libs; if the HDF5 libs are in your $HOME/lib (and includes in $HOME/include), you may want to try cmake -DHDF5_ROOT=$HOME

Le 29/01/13 15:28, Adark a écrit :

Thank you both. Now I have the errors at 60%. [ 60%] [ 60%] Built target compound_ops_nopy [ 60%] [ 61%] Built target serialization_nopy Built target printing_nopy Built target iterators_nopy CMakeFiles/hdf5_nopy.dir/hdf5.cpp.o: In function |H5::FileIException::FileIException(H5::FileIException const&)': hdf5.cpp:(.text.ZN2H514FileIExceptionC2ERKS0[ZN2H514FileIExceptionC5ERKS0]+0x5): undefined reference to|H5::Exception::Exception(H5::Exception const&)' hdf5.cpp:(.text.ZN2H514FileIExceptionC2ERKS0[ZN2H514FileIExceptionC5ERKS0]+0xc): undefined reference to `vtable for H5::FileIException'

A lot of errors like "undefined reference to ". It seems that I still have problems with the header files. But I have put all needed header files in the folder $HOME/include and done cmake with -DHDF5_INCLUDE_DIR=$HOME/include. Any suggestions? Thank you.

— Reply to this email directly or view it on GitHub https://github.com/TRIQS/TRIQS/issues/103#issuecomment-12836733.