[MacPorts] #47277: eigen3: The source directory does not appear to contain CMakeLists.txt

MacPorts noreply at macports.org
Thu Mar 26 21:06:14 PDT 2015


#47277: eigen3: The source directory does not appear to contain CMakeLists.txt
-------------------------+--------------------------------
 Reporter:  sk-public@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.3
 Keywords:               |       Port:  eigen3
-------------------------+--------------------------------
 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:[[BR]]
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/47277>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list