← Back to team overview

yade-users team mailing list archive

[Question #665049]: error when installing yade on centos

 

New question #665049 on Yade:
https://answers.launchpad.net/yade/+question/665049

When I try to install yade on centos, it reports like this:

CMake Error at /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find minieigen (missing: PY_minieigen)
Call Stack (most recent call first):
  /usr/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cMake/FindPythonModule.cmake:22 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:519 (find_python_module)


I guess I should install minieigen, so I download minieigen source from [1] and type "python setup.py install". And it reports like this :
running install
running build
running build_ext
building 'minieigen' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DEIGEN_DONT_ALIGN -Isrc -I/usr/include/eigen3 -I/usr/local/include/eigen3 -Iminieigen -I/usr/include/python2.6 -c src/minieigen.cpp -o build/temp.linux-x86_64-2.6/src/minieigen.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DEIGEN_DONT_ALIGN -Isrc -I/usr/include/eigen3 -I/usr/local/include/eigen3 -Iminieigen -I/usr/include/python2.6 -c src/expose-boxes.cpp -o build/temp.linux-x86_64-2.6/src/expose-boxes.o
In file included from src/expose-boxes.cpp:1:
src/visitors.hpp:107: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:107: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:107: error: template argument 1 is invalid
src/visitors.hpp:107: error: expected identifier before ‘>’ token
src/visitors.hpp:107: error: expected ‘,’ or ‘...’ before ‘>’ token
src/visitors.hpp:108: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:108: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:108: error: template argument 1 is invalid
src/visitors.hpp:108: error: expected identifier before ‘>’ token
src/visitors.hpp:108: error: expected ‘,’ or ‘...’ before ‘>’ token
src/visitors.hpp:108: error: ‘template<class MatrixBaseT> template<class Scalar, class PyClass> static void MatrixBaseVisitor::visit_reductions_noncomplex(PyClass&, int)’ cannot be overloaded
src/visitors.hpp:107: error: with ‘template<class MatrixBaseT> template<class Scalar, class PyClass> static void MatrixBaseVisitor::visit_reductions_noncomplex(PyClass&, int)’
src/visitors.hpp:121: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:121: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:121: error: template argument 1 is invalid
src/visitors.hpp:121: error: expected identifier before ‘>’ token
src/visitors.hpp:121: error: expected ‘,’ or ‘...’ before ‘>’ token
src/visitors.hpp:122: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:122: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:122: error: template argument 1 is invalid
src/visitors.hpp:122: error: expected identifier before ‘>’ token
src/visitors.hpp:122: error: expected ‘,’ or ‘...’ before ‘>’ token
src/visitors.hpp:122: error: ‘template<class MatrixBaseT> template<class Scalar> static bool MatrixBaseVisitor::prune_element(const Scalar&, typename MatrixBaseT::RealScalar, int)’ cannot be overloaded
src/visitors.hpp:121: error: with ‘template<class MatrixBaseT> template<class Scalar> static bool MatrixBaseVisitor::prune_element(const Scalar&, typename MatrixBaseT::RealScalar, int)’
src/visitors.hpp:361: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:361: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:361: error: template argument 1 is invalid
src/visitors.hpp:361: error: expected identifier before ‘>’ token
src/visitors.hpp:361: error: expected ‘,’ or ‘...’ before ‘>’ token
src/visitors.hpp:363: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:363: error: ‘is_complex’ is not a member of ‘boost’
src/visitors.hpp:363: error: template argument 1 is invalid
src/visitors.hpp:363: error: expected identifier before ‘>’ token
src/visitors.hpp:363: error: expected ‘,’ or ‘...’ before ‘>’ token
In file included from src/expose-boxes.cpp:1:
src/visitors.hpp:363: error: ‘template<class MatrixT> template<class Scalar, class PyClass> static void MatrixVisitor::visit_if_decompositions_meaningful(PyClass&, int)’ cannot be overloaded
src/visitors.hpp:361: error: with ‘template<class MatrixT> template<class Scalar, class PyClass> static void MatrixVisitor::visit_if_decompositions_meaningful(PyClass&, int)’
error: command 'gcc' failed with exit status 1



It really confuses me....  BTW I have already installed Boost 1.66.0 and eigen 3.3.4.   Any instructions?

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.