#35324 closed defect (fixed)
vtk5: python25 and python26 variants fail
Reported by: | watsodw | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | vtk5 |
Description
Trying to upgrade py26-mayavi from 3.4.1_0 to 4.1.0_o fails because it needs vtk5, but installing vtk5 for python26 fails, and I can't tell what the error is from the log.
Attachments (1)
Change History (6)
Changed 12 years ago by watsodw
comment:1 Changed 12 years ago by adfernandes (Andrew Fernandes)
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; adfernandes@… removed |
---|---|
Owner: | changed from macports-tickets@… to adfernandes@… |
Summary: | Install of vtk5 for python26 fails → vtk5: python25 and python26 variants fail |
I confirmed the failure of the python26 and python25 variants. The port builds fine with the python27 variant but the other python variants don't appear to have been tested. The error in the log is:
:info:build make[2]: *** No rule to make target `/opt/macports/Library/Frameworks/Python.framework/Versions/2.6/lib/libpython2.6.dylib', needed by `bin/vtkWrapPython'. Stop.
I'm testing a fix now; please hold...
comment:3 Changed 12 years ago by adfernandes (Andrew Fernandes)
Thanks, Ryan... according to my googling the python wrappers for vtk5, python 2.5 should be supported... but it was pretty clear that the pages were all quite old. I'd be rather surprised if they tested on 2.6 or earlier.
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The problem is entirely confined to the layout of the python ports in MacPorts, so it's not an upstream issue. The location for libpython that you had coded into the vtk5 portfile was only correct for python27. Should be fixed in r95916.
comment:5 Changed 12 years ago by adfernandes (Andrew Fernandes)
Heh... not me, I inherited this sucker... I've been caught by the "hardcoded python path" problem with boost
before. More than once, to my shame... :-)
Thanks muchly, Ryan!
Hmm... hard to tell from the info CMake logs. Thanks for attaching it, though!
I've just version-bumped
vtk5
to the latest 5.10.0 in r95914. I've verified that this works on Mac OS 10.7 with python 2.7, but I can't test 10.6 and python 2.6.Can you please do a
sudo port sync
and try to re-update?Please let me know what happens, either way!