The Liberty Eiffel install tool is not used anymore, as it is
replaced by a shell script install.sh and its manual.
The eiffel install tool is still available in the Liberty repository, but it is - like this page
The Liberty Eiffel install tool is not used anymore, as it is
replaced by a shell script install.sh and its manual.
The eiffel install tool is still available in the Liberty repository, but it is - like this page here - obsolete. Maybe once upon a time it may resurrect, so we keep this page until it's buried.
The install command is the installation program for Liberty Eiffel The GNU Eiffel Compiler. This command does not support any option. This command (class install.e) is written entirely in Eiffel and is the one recommended for installing Liberty Eiffel The GNU Eiffel Compiler.
The install.e source code as well as the generated C code install.c are in the Liberty Eiffel directory.
The very first step in installing Liberty Eiffel is to unpack the Liberty Eiffel directory somewhere on disk. The second step (not mandatory) is to set the Liberty Eiffel environment variable to the full path leading to the SmartEiffel/sys/system.se file. The last step is to compile the install.c file (it is pre-compiled for Windows) and to run it from the Liberty Eiffel directory.
For Unix, Elate and OpenVMS people, a Makefile is also provided, that does just that. Look at the comments in the Makefile itself for details.
The install command will do the rest of the work and will try to report possible problems. See the examples below.
See also at the end of the page for more details on how to use the interactive installer.
Example for UNIX
As an example, we assume below that we want to install Liberty Eiffel in the directory /foo/SmartEiffel/. If you are using bash, add the following two lines to your.bashrc file:
export SmartEiffel=/foo/SmartEiffel/sys/system.se export PATH=/foo/SmartEiffel/bin:$PATH
If you are using csh or tcsh, add the following two lines to your.cshrc file:
setenv SmartEiffel /foo/SmartEiffel/sys/system.se setenv PATH /foo/SmartEiffel/bin:$PATH
Don't forget to open a new terminal window in order to take into account the new settings of the SmartEiffel and PATH variables. Then, in this new terminal window, just type the following commands:
cd /foo gunzip se.tgz (or bunzip2 se.tar.bz2) tar xvf se.tar cd SmartEiffel make
You now just have to wait for the compiler installation to complete. Actually, it may take some time because all of the tools are recompiled from scratch using the Eiffel source code of SmartEiffel itself.
If you want to use the menus (as explained below), you should consider typing make interactive instead of just make. If your system has no gcc installed, compile install.c yourself and run it.
Example for Windows
The first step under Windows is to get a C compiler working on your computer. If you don't already have a C compiler installed, we recommend the LCC-Win32 compiler (a free C compiler system for Windows by Jacob Navia, http://www.cs.virginia.edu/~lcc-win32/ or http://www.q-software-solutions.com/lccwin32/).
At this point, it is assumed you have a C compiler installed. Further, we assume below that we want to install SmartEiffel in