#44237: CMake @3.0.0_2: fails to configure when Gtk.framework exists (bug in FindGTK2.cmake) ------------------------------+------------------- Reporter: luc_j_bourhis@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cmake | ------------------------------+------------------- Comment (by air_drummer@…): Replying to [comment:3 ryandesign@…]:
Installing frameworks into /Library/Frameworks is just as bad for MacPorts as installing libraries into /usr/local, so you should remove them.
tried that, still fails: {{{ :info:configure sh: /bin/ps: Operation not permitted :info:configure CMake Error at Modules/FindGTK2.cmake:181 (file): :info:configure file STRINGS file :info:configure "/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h" cannot be :info:configure read. :info:configure Call Stack (most recent call first): :info:configure Modules/FindGTK2.cmake:796 (_GTK2_GET_VERSION) :info:configure Tests/CMakeLists.txt:1197 (find_package) :info:configure :info:configure :info:configure CMake Error at Modules/FindGTK2.cmake:181 (file): :info:configure file STRINGS file :info:configure "/Library/Frameworks/Gtk.framework/Headers/gtk/gtk/gtkversion.h" cannot be :info:configure read. :info:configure Call Stack (most recent call first): :info:configure Modules/FindGTK2.cmake:796 (_GTK2_GET_VERSION) :info:configure Tests/FindGTK2/CMakeLists.txt:1 (find_package) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! :info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0/CMakeFiles/CMakeOutput.log". :info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0/CMakeFiles/CMakeError.log". :info:configure --------------------------------------------- :info:configure Error when bootstrapping CMake: :info:configure Problem while running initial CMake :info:configure --------------------------------------------- :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=8 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.0.0/macports.cmake --system-libs :info:configure Exit code: 11 :error:configure org.macports.configure for port cmake returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing "portconfigure::configure_main org.macports.configure" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:configure Warning: targets not executed for cmake: org.macports.install org.macports.configure org.macports.build org.macports.destroot }}} -- Ticket URL: <https://trac.macports.org/ticket/44237#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X