FORTRAN-lint version 4.x quick-start instructions ---------------------------------------------------------------------- 1. Download the appropriate ".tar.Z" or ".tar.gz" file to the "/tmp" directory. If you use FTP, remember to set "binary" mode. ---------------------------------------------------------------------- 2. Create a "flint" installation directory and unpack the "flint" archive: mkdir -p /usr/local/flint cd /usr/local/flint tar zxvf /tmp/flint.tar.gz Notes: (a) Any directory may be used for installation. (b) Substitute the appropriate filename for "flint.tar.gz". (c) Under Linux, "tar zxvf" may be used to unpack ".tar.Z" or ".tar.gz" files directly. Separate "compress" or "gzip" commands are not required. ---------------------------------------------------------------------- 3. Set environment variables. Edit the appropriate user login scripts. Add the following commands: "sh" example "csh" example -------------------------- --------------------------------- FLINTHOME=/usr/local/flint setenv FLINTHOME /usr/local/flint FLINTHOST=localhost setenv FLINTHOST localhost export FLINTHOME export FLINTHOST PATH=$FLINTHOME:$PATH set path = ( $FLINTHOME $path ) rehash Note: "FLINTHOME" should specify the installation directory used in step 2. After making the changes, log out, then log-in again. ---------------------------------------------------------------------- 4. Install license keys. Execute the following command: flint activate This should print a server code. Copy the code, then press Control-C to abort "flint". Call Cleanscape at (800) 944-5468 and ask for a FORTRAN-lint activa- tion key. Alternatively, mail the server code to "support@cleanscape. net", along with your name, company name, and telephone number. Men- tion "FORTRAN-lint" in your message. Cleanscape will provide you with an activation key. When you receive the activation key, run "flint activate" again and enter the key. This should create a script named "startup" in the "FLINTHOME" dir- ectory. Note: You may receive two activation keys. If so, run "flint activate" twice (once for each key). ---------------------------------------------------------------------- 5. Install license manager daemon. The "startup" script starts a license manager daemon. To install the daemon: (a) Make the "startup" script executable: chmod a+x /usr/local/flint/startup (b) If you have "root" access, edit the appropriate system startup script, add a line similar to the following, and reboot the system: /usr/local/flint/startup (c) If you don't have "root" access, execute the script man- ually. ---------------------------------------------------------------------- 6. Set up XLINT (optional). If you plan to use the XLINT GUI, set two additional environment var- iables "XAPPLRESDIR" and "XLINTHOME" as follows: "sh" example "csh" example -------------------------- --------------------------------- XAPPLRESDIR=$FLINTHOME setenv XAPPLRESDIR $FLINTHOME XLINTHOME=$FLINTHOME setenv XLINTHOME $FLINTHOME export XAPPLRESDIR export XLINTHOME You may also need to set the standard "DISPLAY" variable. Note: Presently, XLINT assumes that the display is set to a resolution of at least 1024x768. ---------------------------------------------------------------------- 7. Install "man" page (optional): cd $FLINTHOME mkdir -p /usr/local/man/man1 cp -p flint.1 /usr/local/man/man1 ---------------------------------------------------------------------- "flint" should now be installed and ready for use. For additional in- formation, see the files in "$FLINTHOME/Doc".