Im Studium müssen wir mit der Optimierungssoftware Lingo von
Lindo Systems arbeiten.
Es gibt eine "kostenlose" (gegen Registrierung) Studentenversion, welche nicht alle Funktionen beinhaltet. Version 11 gibt es auch für Linux.
Meine Frage ist, wie ich aus der heruntergeladenen Datei:
LINGO-LINUX-IA32-11.0.tar.gz
ein Paket bauen kann.
Hier noch ein Auszug zur Installation aus dem Readme:
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.
Bin über Hilfe sehr dankbar.