[MacPorts] #17239: vtk5-5.2.0 Missing library/path with python variant, build failure.
#17239: vtk5-5.2.0 Missing library/path with python variant, build failure. ----------------------------------+----------------------------------------- Reporter: macports.b@overt.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: vtk vtk5 | Port: vtk5 ----------------------------------+----------------------------------------- Although vtk5 builds fine in its base variant, when I try to build it with +python, I first get this configure error: {{{ ---> Configuring vtk5 ... Command output: CMake Error at CMakeLists.txt:420 (MESSAGE): VTK_WRAP_PYTHON requires BUILD_SHARED_LIBS to be ON. }}} So I changed the portfile line 44 to read: {{{ configure.args -DBUILD_SHARED_LIBS:BOOL=ON \ }}} Then, the whole thing builds except that right at the end I get a build error linking the vtkpython executable: {{{ [ 96%] Building CXX object Wrapping/Python/CMakeFiles/vtkpython.dir/vtkPythonAppInit.o Linking CXX executable ../../bin/vtkpython ld: library not found for -lhistory collect2: ld returned 1 exit status make[2]: *** [bin/vtkpython] Error 1 make[1]: *** [Wrapping/Python/CMakeFiles/vtkpython.dir/all] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} I can manually add -L/opt/local/bin to a bunch of the link.txt files, but this seems dirty. I'm not familiar with cmake so I didn't attempt to figure it out myself. Thanks! Bryan -- Ticket URL: <http://trac.macports.org/ticket/17239> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17239: vtk5-5.2.0 Missing library/path with python variant, build failure. -----------------------------------+---------------------------------------- Reporter: macports.b@overt.org | Owner: rene.donner@mac.com Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: vtk vtk5 Port: vtk5 | -----------------------------------+---------------------------------------- Changes (by macsforever2000@macports.org): * cc: rene.donner@mac.com (removed) * owner: macports-tickets@lists.macosforge.org => rene.donner@mac.com -- Ticket URL: <http://trac.macports.org/ticket/17239#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17239: vtk5-5.2.0 Missing library/path with python variant, build failure. ----------------------------------+----------------------------------------- Reporter: macports.b@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: vtk vtk5 | Port: vtk5 ----------------------------------+----------------------------------------- Changes (by blb@…): * owner: rene.donner@… => macports-tickets@… Comment: René no longer maintains vtk5, r44858. -- Ticket URL: <http://trac.macports.org/ticket/17239#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17239: vtk5-5.2.0 Missing library/path with python variant, build failure. -----------------------------------+---------------------------------------- Reporter: macports.b@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: vtk vtk5 Port: vtk5 | -----------------------------------+---------------------------------------- Changes (by takeshi@…): * status: new => closed * resolution: => fixed Comment: I think I fixed this problem. Please update the source tree and try again. Note I made python and x11 default variants. -- Ticket URL: <http://trac.macports.org/ticket/17239#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts