I am trying to install avogadro program under slackware 13.37-current.
However, after installing tons of dependencies I can't figure what went wrong.
Firstly, in order to install avogadro, slackbuild showed openbabel as dependency and here is my problem.
In order to install openbabel I installed the following builds in the order listed below:
ORBit2 -> GConf -> wxPython
Despite some warning errors in almost all of those, I was able to create and install the pkg.
However, when I try to build the openbabel using (
http://slackbuilds.org/repository/13...ies/openbabel/) it respond with a lot of errors like:
Code:
CMake Warning at test/CMakeLists.txt:53 (add_executable):
Cannot generate a safe linker search path for target test_automorphism
because files in some directories may conflict with libraries in implicit
directories:
link library [libm.so] in /usr/lib64 may be hidden by files in:
/usr/X11R6/lib64
link library [libz.so] in /usr/lib64 may be hidden by files in:
/usr/X11R6/lib64
Some of these libraries may not be found correctly.
CMake Warning at test/CMakeLists.txt:125 (add_executable):
Cannot generate a safe linker search path for target test_bond because
files in some directories may conflict with libraries in implicit
directories:
link library [libm.so] in /usr/lib64 may be hidden by files in:
/usr/X11R6/lib64
link library [libz.so] in /usr/lib64 may be hidden by files in:
/usr/X11R6/lib64
Some of these libraries may not be found correctly.
And exit with:
Code:
In file included from /usr/include/eigen2/Eigen/Core:99:0,
from /tmp/SBo/openbabel-2.3.0/include/openbabel/math/align.h:26,
from /tmp/SBo/openbabel-2.3.0/src/math/align.cpp:24:
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h: In instantiation of 'T Eigen::ei_hypot(T, T) [with T = double]':
/usr/include/eigen2/Eigen/src/SVD/SVD.h:331:42: required from 'void Eigen::SVD<MatrixType>::compute(const MatrixType&) [with MatrixType = Eigen::Matrix<double, 3, 3>]'
/usr/include/eigen2/Eigen/src/SVD/SVD.h:71:7: required from 'Eigen::SVD<MatrixType>::SVD(const MatrixType&) [with MatrixType = Eigen::Matrix<double, 3, 3>]'
/tmp/SBo/openbabel-2.3.0/src/math/align.cpp:149:38: required from here
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h:40:18: error: 'ei_abs' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/eigen2/Eigen/Core:99:0,
from /tmp/SBo/openbabel-2.3.0/include/openbabel/math/align.h:26,
from /tmp/SBo/openbabel-2.3.0/src/math/align.cpp:24:
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h:264:20: note: 'long double Eigen::ei_abs(long double)' declared here, later in the translation unit
In file included from /usr/include/eigen2/Eigen/Core:99:0,
from /tmp/SBo/openbabel-2.3.0/include/openbabel/math/align.h:26,
from /tmp/SBo/openbabel-2.3.0/src/math/align.cpp:24:
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h:41:18: error: 'ei_abs' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/eigen2/Eigen/Core:99:0,
from /tmp/SBo/openbabel-2.3.0/include/openbabel/math/align.h:26,
from /tmp/SBo/openbabel-2.3.0/src/math/align.cpp:24:
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h:264:20: note: 'long double Eigen::ei_abs(long double)' declared here, later in the translation unit
In file included from /usr/include/eigen2/Eigen/Core:99:0,
from /tmp/SBo/openbabel-2.3.0/include/openbabel/math/align.h:26,
from /tmp/SBo/openbabel-2.3.0/src/math/align.cpp:24:
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h:45:34: error: 'ei_sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/eigen2/Eigen/Core:99:0,
from /tmp/SBo/openbabel-2.3.0/include/openbabel/math/align.h:26,
from /tmp/SBo/openbabel-2.3.0/src/math/align.cpp:24:
/usr/include/eigen2/Eigen/src/Core/MathFunctions.h:266:20: note: 'long double Eigen::ei_sqrt(long double)' declared here, later in the translation unit
make[2]: *** [src/CMakeFiles/openbabel.dir/math/align.o] Error 1
make[2]: Leaving directory `/tmp/SBo/openbabel-2.3.0/build'
make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
make[1]: Leaving directory `/tmp/SBo/openbabel-2.3.0/build'
make: *** [all] Error 2
Probably i am missing some dependency but I confess that I really don't know what and despite some random posts listing problems with wxWidget I couldn't find anything near this problem in the forum.