Summary: | <=kde-base/kdelibs-4.4.0 problem with FindEigen2.cmake (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 313999 | ||
Attachments: | Build LOG from MAKEOPTS='-j1' emerge -1 kde-base/step |
Description
Helmut Jarausch
2009-12-02 10:08:16 UTC
So your eigen doesn't install those files? Or -I/usr/include/eigen2 is missing? # emerge portage-utils $ qfile -v IterativeSolvers dev-cpp/eigen-2.0.9 (/usr/include/eigen2/unsupported/Eigen/IterativeSolvers) dev-cpp/eigen-2.0.9 (/usr/include/eigen2/unsupported/Eigen/src/IterativeSolvers) Could you attach complete build.log? Also could you try "MAKEOPTS="-j" emerge -1 step" (In reply to comment #1) > So your eigen doesn't install those files? > > Or -I/usr/include/eigen2 is missing? probably (the files are there!) > > # emerge portage-utils > $ qfile -v IterativeSolvers > dev-cpp/eigen-2.0.9 (/usr/include/eigen2/unsupported/Eigen/IterativeSolvers) > dev-cpp/eigen-2.0.9 > (/usr/include/eigen2/unsupported/Eigen/src/IterativeSolvers) > Created attachment 211744 [details]
Build LOG from MAKEOPTS='-j1' emerge -1 kde-base/step
It seems the recognition of the Eigen include directory is broken. (cmake-2.8.0 / eigen-2.0.9) The temporary patch of CMakeLists.txt (in the base directory) fixes the problem --- CMakeLists.txt.ORIG 2009-12-03 09:07:39.287389203 +0100 +++ CMakeLists.txt 2009-12-03 09:07:39.288389190 +0100 @@ -60,7 +60,7 @@ include(MacroBoolTo01) add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) -include_directories (${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) +include_directories ( "/usr/include/eigen2" ${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) add_subdirectory(cmake) #DONOTCOMPILE add_subdirectory(data) *** Bug 304333 has been marked as a duplicate of this bug. *** What does command `pkg-config --cflags-only-I eigen2` return as output? It should return "/usr/include/eigen2" and does here. (In reply to comment #7) > What does command `pkg-config --cflags-only-I eigen2` return as output? > It should return "/usr/include/eigen2" and does here. > Yes, the same here: -I/usr/include/eigen2 *** Bug 305375 has been marked as a duplicate of this bug. *** Please try with a fresh start (something like emerge -C cmake kdelibs eigen and re-emerging them) (In reply to comment #10) > Please try with a fresh start (something like emerge -C cmake kdelibs eigen and > re-emerging them) > I did that and the error looks a bit different. Eigen2 has been located but there is an error while compiling step.stepcore/constraintsolver.cc patching this by replacing #include <unsupported/Eigen/IterativeSolvers> by #include <eigen2/unsupported/Eigen/IterativeSolvers> makes step build and install just fine. That isn't required (In reply to comment #12) > That isn't required > I applied the patch AFTER the build has failed. And it succeeded with the patch. So, here at least, it was necessary. Probably an -I /usr/include/eigen2 is/was missing somewhere. Is this still happening with kde-4.4.2? hmmm, 4.4.3 emerges fine here OK, I'm closing this as worksforme now. Seems like we have no idea what's wrong, and it affects only one system. If you still have problems with 4.4.2/4.4.3 and want to figure out what's happening, please just reopen... |