[MacPorts] #26554: vtk5: add cmake, tcl and tk dependencies

MacPorts noreply at macports.org
Mon Sep 20 17:10:46 PDT 2010


#26554: vtk5: add cmake, tcl and tk dependencies
-------------------------------+--------------------------------------------
 Reporter:  tonchev1@…         |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.1                                
 Keywords:                     |        Port:  vtk5                                 
-------------------------------+--------------------------------------------

Comment(by tonchev1@…):

 vtk is also unbuildable on arch x86_64. Build error is not related to
 tcl/tk, but rather to the freetype library:
 {{{
 :info:build
 /Users/tonchev1/macports/var/macports/build/_Users_tonchev1_macports_var_macports_sources_svn.macports.org_trunk_dports_dports_graphics_vtk/work/VTK/Utilities/freetype/src/base/ftmac.c:
 In function 'is_dfont':
 :info:build
 /Users/tonchev1/macports/var/macports/build/_Users_tonchev1_macports_var_macports_sources_svn.macports.org_trunk_dports_dports_graphics_vtk/work/VTK/Utilities/freetype/src/base/ftmac.c:138:
 error: 'FSSpec' has no member named 'name'
 ...
 }}}

 It is interesting to note, that on arch i386, vtk build failed because of
 completely different error (at configure step):
 {{{
 :info:configure CMake Error at CMake/vtkLoadCMakeExtensions.cmake:7
 (LOAD_COMMAND):
 :info:configure   load_command Attempt to load the library
 :info:configure   /Users/tonchev1/macports-32bit/var/macports/build
 /_Users_tonchev1_macports-
 32bit_var_macports_sources_svn.macports.org_trunk_dports_graphics_vtk/work/VTK/CMake/libcmVTK_WRAP_TCL2.so
 :info:configure   failed.  Additional error info is:
 :info:configure
 :info:configure
 :info:configure   dlopen(/Users/tonchev1/macports-32bit/var/macports/build
 /_Users_tonchev1_macports-
 32bit_var_macports_sources_svn.macports.org_trunk_dports_graphics_vtk/work/VTK/CMake/libcmVTK_WRAP_TCL2.so,
 :info:configure   1): no suitable image found.  Did find:
 :info:configure
 :info:configure
 :info:configure     /Users/tonchev1/macports-32bit/var/macports/build
 /_Users_tonchev1_macports-
 32bit_var_macports_sources_svn.macports.org_trunk_dports_graphics_vtk/work/VTK/CMake/libcmVTK_WRAP_TCL2.so:
 :info:configure   mach-o, but wrong architecture
 ...
 }}}
 And indeed, when looking at the referenced library it does have only
 x86_64 code in it.

 Unfortunately, I cannot spend more time debugging/investigating this.
 (Sorry!)

-- 
Ticket URL: <https://trac.macports.org/ticket/26554#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list