[[Property:title|Solaris]]
[[Property:weight|8]]
[[Property:uuid|3b85b8dc-c2b8-021a-f4bc-a8d19ad63b81]]
==Requirements==
{| class="doctable"
|-
| '''Computer/Processor'''
| UltraSparc, x86 or x86-64
|-
| '''Operating System'''
| Solaris 9.0 or greater for UltraSparc, Solaris 10 or greater for x86 and x86-64 with either Gnome 2.6 or GTK+ 2.4.
|-
| '''C compiler'''
| Sun Studio 12 C compiler
|-
| '''Memory'''
| 4GB of RAM
|-
| '''Hard Disk'''
| 1GB of free space
|-
| '''ISE_PLATFORM'''
| '''solaris-sparc''' for 32 bits version of Solaris on Sparc processor, '''solaris-sparc-64''' for 64 bits versions, '''solaris-x86''' and '''solaris-x86-64''' for the Intel processor on 32 and 64 bits.
|}
==Checking your environment==
EiffelStudio requires GTK+ 2.4.0 or above to function properly. You can check that you have this installed correctly by typing the following command:
pkg-config --modversion gtk+-2.0
The command should succeed and the version number of GTK+ should appear. If it is not 2.4.0 or above then you cannot continue the installation of EiffelStudio. You first need to install GTK+ 2.4.0.
EiffelStudio requires the library file libmlib.so.2
. If this file is missing from your Solaris installation, you can install it by installing medialib
.
==Installing EiffelStudio from the Web==
After downloading the installation package, you should manually extract its contents to your hard drive. For example, you can extract it into /usr/local using the following commands (assuming that you have permission to /usr/local and that the installation package was saved in /tmp/EiffelXX.tar.bz2, where XX stands for the EiffelStudio version):
cd /usr/local
tar xvfj /tmp/EiffelXX.tar.bz2
This will install EiffelStudio files into /usr/local/EiffelXX. Once this is done, jump to the [[#Setting up EiffelStudio|Setting up EiffelStudio]] section in order to complete the installation of EiffelStudio.
==Installing EiffelStudio from a CD-ROM==
Insert the CD into your CD-ROM drive. You should manually extract its contents to your hard drive. For example you can extract it in /usr/local using the following commands (assuming that you have permission to /usr/local and that the CD is mounted on /mnt/cdrom):
cd /usr/local
cp -r /mnt/cdrom/EiffelXX .
This will install the EiffelStudio files into /usr/local/EiffelXX. To complete the installation of EiffelStudio, jump to the next section, [[#Setting up EiffelStudio|Setting up EiffelStudio]] .
==Setting up EiffelStudio==
Once the files have been installed, you should define the following environment variables in order to run EiffelStudio:
* '''ISE_EIFFEL''' to /usr/local/EiffelXX
* '''ISE_PLATFORM''' to solaris-sparc for the 32 bits version or solaris-sparc-64 for the 64 bits version, respectively solaris-x86 and solaris-x86-64 for Solaris on Intel processors. We will be using '''solaris-sparc''' in the examples below.
and add $'''ISE_EIFFEL'''/studio/spec/$'''ISE_PLATFORM'''/bin to your '''PATH''' environment variable.
Using sh or bash as a shell, it suffices to type the following commands:
export ISE_EIFFEL=/usr/local/EiffelXX
export ISE_PLATFORM=solaris-sparc
export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin
Using csh or tcsh as a shell, it suffices to type the following commands:
setenv ISE_EIFFEL /usr/local/EiffelXX
setenv ISE_PLATFORM solaris-sparc
set path = ($path $ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin)
If you are using the Enterprise edition, please follow the instructions of the next section, [[#Registering the Enterprise Edition|Registering the Enterprise Edition]] , otherwise jump to the [[#Using EiffelStudio|Using EiffelStudio]] section at the end of this document.
==Registering the Enterprise Edition==
This step assumes you have followed the instructions in the [[#Setting up EiffelStudio|Setting up EiffelStudio]] section. Perform the following commands to start the registration process:
cd $ISE_EIFFEL
./register
A dialog asking for your '''Username''' and '''CD Key''' should appear as it does below: