[MacPorts] #19869: vtk-devel fails to build with Tk related undefined symbol
MacPorts
noreply at macports.org
Thu Jul 9 12:54:28 PDT 2009
#19869: vtk-devel fails to build with Tk related undefined symbol
-----------------------------------+----------------------------------------
Reporter: greg.novak@… | Owner: dweber@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Resolution: worksforme | Keywords:
Port: vtk-devel |
-----------------------------------+----------------------------------------
Comment(by dweber@…):
There should be a revision 5 available soon for vtk-devel. This revision
has more explicit control over the tcl/tk build options. The fix switches
off VTK_USE_TK by default. So this build failure is fixed in that
revision, where this works for me:
{{{
sudo port build vtk-devel +x11 +py25
}}}
Note that -cocoa is not required here, because the cocoa variant is
automatically switched off whenever an +x11 or a +carbon variant are
specified. All of those variants conflict, so it's not possible to
specify any combination of +cocoa +x11 +carbon.
If you need any of the tcl/tk system, you might try:
{{{
sudo port install vtk-devel +x11 +py25 +tcl
# OR
sudo port install vtk-devel +x11 +py25 +tcl_apple
}}}
This has not been tested yet, but it might resolve this problem. In the
prior revision, the automatic dependency resolution system in cmake was
using Apple framework libs for some things (like includes), but a macports
tcl lib for the linking. If that inconsistency is resolved by using the
explicit tcl variants, we might expect the entire build to work with one
of the +tcl variants above.
--
Ticket URL: <http://trac.macports.org/ticket/19869#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list