Difference between revisions of "Slicer3:Solaris"

From Slicer Wiki
Jump to: navigation, search
Line 60: Line 60:
A blog entry on Solaris 10 and libcrypto/libssl:
A blog entry on Solaris 10 and libcrypto/libssl:

Revision as of 23:54, 23 August 2010

Home < Slicer3:Solaris

The compilation of Slicer3 on Solaris (Getbuildtest on Solaris)

At present (as of August 2010) the build of Slicer3 is only supported on Opensolaris (or on SXCE, but that is discontinued).

On Solaris 10 the build will likely fail, as Slicer3's build process involves the building of Python 2.6, and that needs a newer version of libcrypto (>0.9.7) that is not included with the OS. According to Oracle there won't be a newer version either, but they going to patch the current release (see the link bellow). This is good for security, but bad for missing symbols.

Oracle Studio is used to compile Slicer3 on Solaris. Both Studio 12.1 and Studio Express have some bugs that make the compilation harder, but the bugs have been reported and being worked on.

Building with gcc is not supported on Solaris.

Should you still use SXCE, the needed packages are:

SUNWgmake SUNWcvs SUNWsvn SUNWTcl SUNWxwplt SUNWxorg-mesa SUNWxorg.

In case there are missing packages, you can install them from the install CD/DVD:

Put it in the drive, or mount the iso via lofi, and browse to the Solaris_11/Product directory, and

pkgadd -d . SUNWgmake SUNWcvs SUNWsvn SUNWTcl SUNWxwplt SUNWxorg-mesa SUNWxorg

cvs or svn may complain for a newer version. In this case it is recommended that you download and install the CBE tools from opensolaris.org (link below).

On OpenSolaris you can use the IPS system to add missing packages. The names for the needed packages can be found in the "Links" section below.

If you need, you can install newer versions of the above tools either from blastwave, or from sunfreeware too. In both cases check your paths! Put /opt/csw/bin in case of blastwave, and /usr/local/bin in case of sunfreeware in your profile.

You can check your 3D acceleration by running: /usr/X11/demo/glxgears.

Best results can be achieved with nVidia cards, as there do not exist drivers with 3D acceleration for Ati cards on Solaris. Intel's chipsets should be fine too.

Download of the binary version

As of August 2010 the current stable version of Slicer is 3.6.1. You can download a 64 bit binary for Opensolaris x86_64 here:



you can download a Virtualbox appliance with a preinstalled (although earlier) version of Slicer. After the extraction of the files from the archive, you can import them into Virtualbox and test Slicer. Virtualbox provides both 2D and 3D acceleration for guests. You can download the above, 3.6.1 version of Slicer3 into this VM too.


Beware, this is a big download, around 2.5 GB in size!


A blog entry on Solaris 10 and libcrypto/libssl: http://blogs.sun.com/janp/entry/on_openssl_versions_in_solaris

A link to the mail about Solaris and gcc: http://www.vtk.org/pipermail/vtkusers/2009-August/102167.html

Download link to Oracle Studio: http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index.html

Renamed packages for Opensolaris: http://hub.opensolaris.org/bin/view/Project+indiana/Renamed+Packages+in+Build+133

Packages containing newer versions of cvs/svn should yo need them: http://dlc.sun.com/osol/jds/downloads/cbe/ or http://dlc.sun.com/osol/jds/downloads/cbe/test/