Kirjoittaja Aihe: Lingo11 ubuntuun  (Luettu 2238 kertaa)

(J)Aloittelija

  • Käyttäjä
  • Viestejä: 20
    • Profiili
Lingo11 ubuntuun
« : 03.01.10 - klo:21.58 »
Mitä pielessä? En saa Lingoa toimimaan vaikka teen kuten ohjelman toimittajan ohjeissa sanotaan:

"2.2. Unix/Linux Platforms: Follow the steps below to complete the installation.

Step 1. Go to lingo11/bin/<PLATFORM> binaries directory and make sure all the files are in executable mode. If they are not, you should change their mode by typing

        %> chmod 755 *

Step 2. Update the $LD_LIBRARY_PATH environment variable. It is assumed that the installation directory is $HOME/lingo11.

        LD_LIBRARY_PATH=$HOME/lingo11/bin/<PLATFORM>:$LD_LIBRARY_PATH
        export LD_LIBRARY_PATH

Step 3. Set the $LINGO_11_LICENSE_FILE environment variable to refer to the license file for your installation. For example, if your installation directory is $HOME/lingo11 and you have a 32-bit version of LINGO, then the environment variable should be set as

        LINGO_11_LICENSE_FILE=$HOME/lingo11/license/lndlng11.lic
        export LINGO_11_LICENSE_FILE

or, for 64-bit versions of LINGO do the following :

        LINGO64_11_LICENSE_FILE=$HOME/lingo11/license/lndlng64_11.lic
        export LINGO64_11_LICENSE_FILE

Alternatively, you can execute the shell script lingo11/bin/<PLATFORM>/lingovars.sh to perform the required updates in these environment variables.

To execute this script manually, enter the following at command line
   
        source $HOME/lingo11/bin/<PLATFORM>/lingovars.sh

Alternatively, to execute the script automatically at logon, append this line to the end of your startup script (.bashrc or .bash_profile for bash shell).

Step 4. If you do not already have a valid LINGO license file and you wish to create a demo license, then go to the lingo11/license folder and run the create_demo_license script as follows:

        cd $HOME/lingo11/license
        source create_demo_license.sh


Step 4. You should now be able to run LINGO by going to the $HOME/lingo11/bin/<PLATFORM> folder and entering “lingo11” for 32-bit versions and ‘lingo64_11” for 64-bit versions.  If the LINGO_11_LICENSE_FILE or LINGO64_11_LICENSE_FILE environment variable is not set up correctly, you will receive the following error message every time you start LINGO.

- - -
        [Error Code: 171]

        License key was not found or is invalid.
- - -

Step 5. On Linux platforms, you may prefer to include the lingo11/bin/<PLATFORM> directory into the /etc/ld.so.conf file and then run ldconfig. This operation generally requires super user privileges. You may also update the $PATH environment variable accordingly to include the lingo11/bin/<PLATFORM> folder in the search path.

NOTE: Unlike the Windows version of LINGO, which has a GUI front end, Unix/Linux versions are command-line applications.  All commands are typed into LINGO’s command-line prompt that begins with a colon character (:).  Available commands are discussed in detail in Chapter 6, Command-Line Commands, of the LINGO Users Manual."

Käynnistäessä:

.../lingo11/bin/linux32# lingo11
lingo11: command not found


mrl586

  • Käyttäjä
  • Viestejä: 4638
    • Profiili
Vs: Lingo11 ubuntuun
« Vastaus #1 : 04.01.10 - klo:00.34 »
PATH-ympäristömuuttujaa ei ole määritelty.