| iMatix home page|
| Libero home page | Libero documentation
| << | < | > | >>
To install Libero for a UNIX system you must compile it. Download one of:
lrsrc230.tgz 144126 97/07/14 16:20:26 Gzip/tar archive lrsrc230.zip 192945 97/07/14 16:20:08 ZIP archive lrsrc231.tgz 151603 98/11/27 12:30:10 Gzip/tar archive lrsrc231.zip 207869 98/11/27 12:29:10 ZIP archive lrsrc232.tgz 162260 99/12/05 19:35:02 Gzip/tar archive lrsrc232.zip 222169 100/01/01 19:33:29 ZIP archive
You'll need an ANSI C compiler. The source kit comes with build scripts for UNIX and VMS. To unpack the sources in portable Zip format, load lrsrc232.zip into a working directory and extract the contents using unzip:
$ mkdir temp $ mv lrsrc232.zip temp $ cd temp $ unzip -a lrsrc $ chmod +x install
To unpack the sources in GNU gzip format, load lrsrc232.tgz into a working directory and extract the contents using gunzip and tar:
$ mkdir temp $ mv lrsrc232.tgz temp $ cd temp $ gunzip lrsrc $ tar -xvf lrsrc232.tar
The install script is smart enough to detect the UNIX system and use appropriate compile switches. It proposes various options: start with (b)uild to compile and (maybe) install Libero. You can run Libero as soon as it is built; you don't need to install it into an install directory. Run install like this (you may need root access if you want to install Libero into a system directory):
$ su root $ chmod +x install $ ./install
The install script uses the Korn shell, which is not available on all UNIX systems. You can use install.sh instead, which uses the Bourne shell. On some UNIX systems the Bourne shell does not support functions; then this script will not run either. If you have trouble running install or install.sh, try something like this (it's what the scripts basically try to do):
$ cc <switches> lr.c lr????.c -o lr $ cp lr lrmesg.txt lrschema.* installdir $ rm *.o
The <switches> are the compiler switches that do an ANSI C compile. Type man cc for details.
Once you have built the lr file, and installed it and its data files, you should check that the install directory is on the PATH definition. By default the install script proposes /usr/local/bin as an install directory.
If you do not like placing non-executable files into a /bin directory, you can place lr there, and the remaining files (lrmesg.txt, lrschema.*) into another directory. This second directory may be on the PATH or be defined in another, arbitrary environment variable; for example, LRPATH. You must then tell Libero which variable you are using with a command-line switch like: -path=LRPATH. You can also specify the path literally: -path=/usr/local/tools/bin. Place such global options in the lr.ini file.
Note that on UNIX, all filenames are lower-case. If you do not manage to install Libero on a non-MS-DOS system, you can always run Libero on a PC, then upload the generated code. You can also run Libero for Windows or MS-DOS, accessing your UNIX disk via a network. This works pretty well for many people.
| << | <
| > | >>
| Installing Libero | What You Will Need | Installing Libero for UNIX | Installing the MS Windows Kit | Installing the MS-DOS Kit | Installing the 32-bit MS-DOS Kit | Installing the OS/2 Kit | Installing the VAX/VMS Kit | Installing the Examples | Configuring and Testing Libero
Copyright © 1996-97 iMatix