[MacPorts] #33490: vtk5 -r90101 expecting a vtk library that isn't there. /opt/local/lib/vtk-5.8/libvtkftgl.5.8.dylib
MacPorts
noreply at macports.org
Wed Mar 7 01:35:36 PST 2012
#33490: vtk5 -r90101 expecting a vtk library that isn't there.
/opt/local/lib/vtk-5.8/libvtkftgl.5.8.dylib
------------------------------------+---------------------------------------
Reporter: shinko.cheng@… | Owner: adfernandes@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: vtk5
------------------------------------+---------------------------------------
Comment(by shinko.cheng@…):
I found another thing tonight.
I downloaded vtk-5.6 Portfile and attempted to go back a version. The
program fails at a similar location in vtkpython, complaining about this
time libvtkxml2 cannot be found.
So i Added -L../../bin to the g++ command in Wrappers/Python when building
vtkPython, the build succeeds. I suspect if I did the same thing with
vtk-5.8 build, i can succeeded as well. however, this means I need to port
install vtk5 until it failed, go into Wrapeprs/Python, run the command,
and port install again to finish. Seems like a workaround, but still just
a workaround.
{{{
/usr/bin/g++-4.2 -pipe -O2 -arch x86_64 -Wno-deprecated -O3 -DNDEBUG
-arch x86_64 -isysroot / -mmacosx-version-min=10.6 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64
-flat_namespace -undefined suppress -u _PyMac_Error
CMakeFiles/vtkpython.dir/vtkPythonAppInit.cxx.o -o ../../bin/vtkpython
/opt/local/lib/libtk.dylib /opt/local/lib/libtcl.dylib -lm -lpthread
/opt/local/lib/libpython2.7.dylib ../../bin/libvtksys.5.8.0.dylib
../../bin/libvtkCommon.5.8.0.dylib ../../bin/libvtkFiltering.5.8.0.dylib
../../bin/libvtkIO.5.8.0.dylib ../../bin/libvtkGraphics.5.8.0.dylib
../../bin/libvtkImaging.5.8.0.dylib /usr/lib/libutil.dylib
../../bin/libvtkRendering.5.8.0.dylib
../../bin/libvtkVolumeRendering.5.8.0.dylib
../../bin/libvtkHybrid.5.8.0.dylib ../../bin/libvtkWidgets.5.8.0.dylib
../../bin/libvtkCharts.5.8.0.dylib ../../bin/libvtkGeovis.5.8.0.dylib
../../bin/libvtkInfovis.5.8.0.dylib ../../bin/libvtkViews.5.8.0.dylib
../../bin/libvtkInfovis.5.8.0.dylib ../../bin/libvtkWidgets.5.8.0.dylib
../../bin/libvtkVolumeRendering.5.8.0.dylib
../../bin/libvtkHybrid.5.8.0.dylib ../../bin/libvtkRendering.5.8.0.dylib
../../bin/libvtkIO.5.8.0.dylib ../../bin/libvtkGraphics.5.8.0.dylib
../../bin/libvtkImaging.5.8.0.dylib ../../bin/libvtkFiltering.5.8.0.dylib
../../bin/libvtkCommon.5.8.0.dylib ../../bin/libvtksys.5.8.0.dylib -lm -lm
-lpthread /opt/local/lib/libpython2.7.dylib /usr/lib/libutil.dylib \
'''-L../../bin'''
}}}
This finishes the build for vtkpython. I then go back to run sudo port
install (where the vtk5 Portfile resided) and the install succeeded.
--
Ticket URL: <https://trac.macports.org/ticket/33490#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list