#14426 closed enhancement (fixed)
VTK5 - update to 5.0.4
Reported by: | adfernandes (Andrew Fernandes) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | vtk5 |
Description
Almost-trivial patchfile to update vtk5 from 5.0.3 to 5.0.4.
Notes:
- BUILD_SHARED_LIBS now ON, otherwise the python variant won't build
- VTK_TCL_LIBRARY_DIR:FILEPATH=${prefix}/lib/tcl8.5 not tcl8.4
Attachments (3)
Change History (13)
comment:1 Changed 17 years ago by adfernandes (Andrew Fernandes)
comment:2 Changed 17 years ago by adfernandes (Andrew Fernandes)
(There was also a space-bug in the x11 variant.)
comment:3 Changed 17 years ago by adfernandes (Andrew Fernandes)
I'm a cmake newbie and the only way I could figure out to put spaces in the python configure variable was to pre-write the cmakecache.txt file...
Changed 17 years ago by adfernandes (Andrew Fernandes)
Attachment: | Portfile.patch added |
---|
comment:4 follow-up: 5 Changed 17 years ago by jmroot (Joshua Root)
comment:5 follow-up: 6 Changed 17 years ago by adfernandes (Andrew Fernandes)
Replying to jmr@macports.org:
I don't honestly know; all I know is that I had a freshly-synked tree before I worked on VTK5, and I did not get any of the errors reported. (I'm on 10.4.11, not 10.5).
There do appear to be some funky loading issues with dyld load names. My internal version attempts to rename internal/load names and dirs... but doesn't seem to work, and I haven't figured it out... preloading the libs makes the problem go away... but I can't find any load chain that isn't correctly referenced.
Grumble. Too many *nix people not realizing that shared objects may have absolute paths...
Changed 16 years ago by ajb78@…
Update to fix python library issues (from fink)
comment:6 Changed 16 years ago by ajb78@…
There do appear to be some funky loading issues with dyld load names. My internal version attempts to rename internal/load names and dirs... but doesn't seem to work, and I haven't figured it out... preloading the libs makes the problem go away... but I can't find any load chain that isn't correctly referenced.
Grumble. Too many *nix people not realizing that shared objects may have absolute paths...
I just uploaded a modified version of your port file (I am very new to this so bear with me), I took a look at the fink info file and merged in the relevant changes (including their patch file) in order to get the dynamic libraries loading properly. It now seems to work for me (at least with Cocoa settings).
Changed 16 years ago by ajb78@…
Attachment: | vtk-5.0-install.patch added |
---|
comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added; rene.donner@… removed |
---|---|
Owner: | changed from macports-tickets@… to rene.donner@… |
Port: | vtk5 added |
The port got updated to version 5.2.0 in #16613, but BUILD_SHARED_LIBS and VTK_TCL_LIBRARY_DIR:FILEPATH did not get changed. I'm guessing this still needs to be done. Perhaps someone could test and attach an updated patch.
comment:8 Changed 16 years ago by blb@…
Owner: | changed from rene.donner@… to macports-tickets@… |
---|
René no longer maintains vtk5, r44858.
comment:9 Changed 16 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
(There was also a quote missing from the python variant in the original portfile.)