Roger Clarke wrote:
Some time ago I commissioned a colleague who was Mac/Unix expert to
write an ‘idiots’ guide to installing vtk on OSX 10.2.8 and he came up
with these detailed instructions (see below) which worked perfectly
until I upgraded to 10.4
A couple of remarks on the Fink vtk packages:
- There is a "vtk" package which corresponds to version 4.2. Version 4.2
of VTK is seriously out of date, although it also seems to be the
subject of your installation instructions (which I don't have time to
read and comment in detail, sorry). This Fink package remains there for
historical and compatibility reasons only. It is used by the hivision
package, and as soon as the latter will see its long promised (upstream)
update to a newer version of VTK, this Fink package will be removed.
- There are vtk-py23 and vtk-py24 packages. In the stable tree, vtk-py23
installs VTK version 4.4, which is the current official VTK release,
although it is also seriously out of date (the VTK people curiously have
been "not releasing" version 5.0 for a very long time, although it is
there). In the unstable tree, there is vtk-py23 and vtk-py24, which
install VTK version 5.0 from a cvs snapshot. This is the version that I
would recommend to install.
- VTK on Mac OSX can be configured in several very different ways, using
either Carbon or Cocoa or X11 for graphics (exclusive or). The Fink
packages are configured for X11. They also use Fink's tcltk and Fink's
python. On Tiger, it is possible to build VTK with Apple's Python and
the Tcl and Tk frameworks, and it would be a good idea IMHO to have Fink
packages for these variants, but I have not had the time to make such
Fink packages. Maybe sometime in the future. If someone else wants to do
this, it would be fine with me.
- Since the python bindings are an important part of VTK, the Fink vtk
packages have to depend on a specific version of python, which explains
why there are two variants, vtk-py23 and vtk-py24. The "vtk" package
doesn't have python bindings, because they didn't work in that old
version of VTK anyway. The Java bindings are disabled, they don't work
on Mac OSX AFAICT.
- The vtkdata package is only in unstable, for no reason than complete
lack of user feedback. I'll move it to stable soon, it doesn't compile
anything, so it won't interfere with the current cvs chill.
As a conclusion, if you want to install VTK with the help of Fink, and
if you are happy with the use of X11 for graphics, you should:
1. Enable unstable as described in the FAQ. (This may be unnecessary in
the not-so-distant future when version 5.0 makes it to stable).
2. Run the command "fink install vtk-py24 vtkdata".
That's all you have to do.
--
Martin
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users