[MacPorts] #37792: vtk5 at 5.10.1 Build error - failure

MacPorts noreply at macports.org
Fri Mar 15 13:29:37 PDT 2013


#37792: vtk5 at 5.10.1 Build error - failure
--------------------------------+---------------------------
  Reporter:  dialkforkaushik@…  |      Owner:  adfernandes@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.2
Resolution:                     |   Keywords:
      Port:  vtk5               |
--------------------------------+---------------------------

Comment (by jovo@…):

 A workaround for the ":info:build cc1plus: error: /usr/lib/libIOKit.dylib:
 not a directory" error, as suggested in the VTK user forum
 [http://vtk.1045678.n5.nabble.com/VTK-5-6-compilation-on-Mac-
 OS-X-10-6-7-td4388683.html]  to get VTK5 staged into OS X 10.6.8:[[BR]]
 1) port clean vtk5[[BR]]
 2) port install vtk5[[BR]]
 3) vi
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/CMakeCache.txt[[BR]]

 {{{
 399 //Path to a library.
 400 //IOKit:FILEPATH=/usr/lib/libIOKit.dylib
 401 IOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework
 }}}

 4) port install vtk5[[BR]]

 Of course this should be done in a Portfile but this works for me.[[BR]]
 Regards,
 Johan

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


More information about the macports-tickets mailing list