[MacPorts] #45531: install cmake problem OS X 10.10

MacPorts noreply at macports.org
Mon Jan 18 16:46:27 PST 2016


#45531: install cmake problem OS X 10.10
-------------------------+--------------------------------
  Reporter:  ypeysson@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:  invalid     |   Keywords:
      Port:  cmake       |
-------------------------+--------------------------------

Comment (by ironstorm@…):

 Hit this problem, the problem is not the existence of
 /Library/Frameworks/Gtk.framework, rather it is that the port looks for
 gtkversions.h and other headers in
 /Library/Frameworks/Gtk.framework/Headers/gtk/gtk/ instead of just
 /Library/Frameworks/Gtk.framework/Headers/gtk/.

 I was able to manually work around it by symlinking Headers/gtk to
 Headers/gtk/gtk:


 {{{
 sudo ln -s /Library/Frameworks/Gtk.framework/Headers/gtk
 /Library/Frameworks/Gtk.framework/Headers/gtk/gtk
 }}}

 All together, I did the following:

 {{{
 sudo ln -s /Library/Frameworks/Gtk.framework/Headers/gtk
 /Library/Frameworks/Gtk.framework/Headers/gtk/gtk
 cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1"
 sudo ./configure --prefix=/opt/local --docdir=share/doc/cmake --parallel=4
 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/macports.cmake
 --system-libs --no-system-jsoncpp --no-qt-gui
 sudo make
 sudo make install
 }}}

 And that seemed to get CMake installed and working.

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


More information about the macports-tickets mailing list