Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#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)

Portfile.patch (2.5 KB) - added by adfernandes (Andrew Fernandes) 17 years ago.
Portfile (4.1 KB) - added by ajb78@… 16 years ago.
Update to fix python library issues (from fink)
vtk-5.0-install.patch (4.5 KB) - added by ajb78@… 16 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 17 years ago by adfernandes (Andrew Fernandes)

(There was also a quote missing from the python variant in the original portfile.)

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 Changed 17 years ago by jmroot (Joshua Root)

Would this help with #13349 and/or #13627?

comment:5 in reply to:  4 ; Changed 17 years ago by adfernandes (Andrew Fernandes)

Replying to jmr@macports.org:

Would this help with #13349 and/or #13627?

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@…

Attachment: Portfile added

Update to fix python library issues (from fink)

comment:6 in reply to:  5 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: newclosed

Looks like takeshi took care of the python/Tcl bits in r47841 and r48149.

comment:10 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.