#47277 closed defect (fixed)
eigen3: The source directory does not appear to contain CMakeLists.txt
Reported by: | sk-public@… | Owned by: | eborisch (Eric A. Borisch) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | eigen3 |
Description
eigen3 doesn't build, apparently because a bunch of options and the configuration directory are appended after the source directory (../eigen_src).
It builds again if
configure.args-append ../eigen_src
is changed to
configure.post_args ../eigen_src
But I'm not familiar enough with the macports build process (including this cmake out-of-source transition, which looks related) to tell if this is a coincidence or a solution.
The error is:
CMake Error: The source directory "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Command failed: cd "/opt/macports/var/macports/build/macports_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4" && /opt/macports/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/macports -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/macports/lib -DCMAKE_INSTALL_NAME_DIR=/opt/macports/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/macports;/usr" -DCMAKE_MODULE_PATH=/opt/macports/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev ../eigen_src -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.10" -DCMAKE_OSX_SYSROOT="/" /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4
Change History (4)
comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | eborisch@… removed |
---|---|
Owner: | changed from macports-tickets@… to eborisch@… |
comment:2 Changed 10 years ago by eborisch (Eric A. Borisch)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r134500.
comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)
Uh, okay, but why not use the portgroup's support?
comment:4 Changed 10 years ago by eborisch (Eric A. Borisch)
To minimize changes to the Portfile at this point. Perhaps I will at the next version bump...
Replying to sk-public@…:
It is related. The
opencv
port had a similar problem in #47256, which was solved with r134472.eigen3
needs a similar fix.