[Insight-users] MacPorts upgraded to InsightToolkit 3.14.0

Darren Weber darren.weber.lists at gmail.com
Tue Jun 9 01:54:17 EDT 2009


MacPorts now contains the latest update of InsightToolkit (@3.14.0), in a
port of the same name.

To best of my knowledge, this new release can co-exist with a prior release,
now called InsightToolkit312 @ 3.12.0.  This prior release was modified so
that it will install along with an installation of InsightToolkit
(@3.14.0).  In my testing of this process, I first had to uninstall
InsightToolkit (@3.12.0), then upgrade to InsightToolkit (@3.14.0), and
finally install (or perhaps reinstall) the prior release port, now called
InsightToolkit312.

The command line looks like this:

sudo uninstall InsightToolkit
sudo port selfupdate
sudo port install InsightToolkit
sudo port install InsightToolkit312

If your lucky, you might be able to shorten the above to this:

sudo port selfupdate
sudo port upgrade InsightToolkit
sudo port install InsightToolkit312

If you have 3.12.0 installed, but you don't need 3.12.0 at all, then just
try this:

sudo port selfupdate
sudo port upgrade InsightToolkit

For a new installation of InsightToolkit, all you need is:

sudo port selfupdate
sudo port install InsightToolkit

By default, you get documentation and shared libraries with wrapping for
java, tcl, and python2.5.

During testing, I also built and installed all the examples and the testing
stuff, which looks like this:

sudo port selfupdate
sudo port install InsightToolkit +examples +testing

Be warned, this build and install is one to run overnight.  For a detailed
progress indicator, you can try:

sudo port -d install InsightToolkit +examples +testing

The build and install works, but the functionality has not been extensively
tested (not sure how to run all the tests).  If you discover any problems
with the build and installation process, that could be a MacPorts bug, for
which you can submit a bug report at http://trac.macports.org/.  If you
discover functional bugs after the installation, that's probably an upsteam
issue to fix in the toolkit itself.

Take care,
Darren


PS.

If there are features that are not enabled, but should be, please let me
know.  All the build and install process is "kinda" documented in the
Portfile, which you can read like a pseudo tcl-script.  You can see all the
details of these ports in these files in the MacPorts rsync:

/opt/local/var/macports/sources/
rsync.macports.org/release/ports/graphics/InsightToolkit/Portfile
/opt/local/var/macports/sources/
rsync.macports.org/release/ports/graphics/InsightToolkit312/Portfile

The svn browser is also available, at:
http://svn.macosforge.org/repository/macports/trunk/dports/graphics/InsightToolkit/Portfile
http://svn.macosforge.org/repository/macports/trunk/dports/graphics/InsightToolkit312/Portfile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090608/eaf54bad/attachment.htm>


More information about the Insight-users mailing list