ladanyi@2131: Installation Instructions ladanyi@2131: ========================= alpar@730: ladanyi@2131: Since you are reading this I assume you already obtained one of the release ladanyi@2131: tarballs and successfully extracted it. The latest version of LEMON is ladanyi@2131: available at our webpage (http://lemon.cs.elte.hu/). alpar@730: ladanyi@2131: In order to install LEMON from the extracted source tarball you have to ladanyi@2131: issue the following commands: alpar@730: ladanyi@2131: 1. `cd lemon-x.y.z' alpar@730: ladanyi@2131: This changes to the directory which was created when you extracted the ladanyi@2131: sources. The x.y.z part is a version number. alpar@730: ladanyi@2131: 2. `./configure' alpar@730: ladanyi@2131: This runs the configure shell script, which does some checks and ladanyi@2131: configuration (creates makefiles etc). alpar@730: ladanyi@2131: 3. `make' alpar@730: ladanyi@2131: This command compiles the non-template part of LEMON into libemon.a file. ladanyi@2131: It also compiles the benchmark and demo programs when enabled. alpar@730: ladanyi@2131: 4. `make check' alpar@730: ladanyi@2131: This step is optional, but recommended. It runs the test programs that we ladanyi@2131: developed for LEMON to check whether the library works properly on your ladanyi@2131: platform. alpar@730: ladanyi@2131: 5. `make install' alpar@730: ladanyi@2131: This command installs LEMON under /usr/local (you will need root ladanyi@2131: privileges to be able to do that). If you want to install it to some ladanyi@2131: other location, then pass the --prefix=DIRECTORY flag to configure in ladanyi@2131: step 1. For example: `./configure --prefix=/home/username/lemon' alpar@730: alpar@730: ladanyi@2131: Configure Flags ladanyi@2131: =============== alpar@730: ladanyi@2131: You can pass the following flags to configure in step 1 (see ./configure ladanyi@2131: --help for more): alpar@730: ladanyi@2131: --with-glpk[=PREFIX] alpar@730: ladanyi@2131: Enable GLPK support (default). You should specify the prefix too if you ladanyi@2131: installed GLPK to some non-standard location (e.g. your home directory). If it ladanyi@2131: is not found, GLPK support will be disabled. alpar@730: ladanyi@2131: --with-glpk-includedir=DIR alpar@730: ladanyi@2131: The directory where the GLPK header files are located. This is only useful ladanyi@2131: when the GLPK headers and libraries are not under the same prefix (which is ladanyi@2131: unlikely). alpar@730: ladanyi@2131: --with-glpk-libdir=DIR alpar@730: ladanyi@2131: The directory where the GLPK libraries are located. This is only useful ladanyi@2131: when the GLPK headers and libraries are not under the same prefix (which is ladanyi@2131: unlikely). alpar@730: ladanyi@2131: --without-glpk alpar@730: ladanyi@2131: Disable GLPK support. alpar@730: ladanyi@2131: --with-cplex[=PREFIX] alpar@730: ladanyi@2131: Enable CPLEX support (default). You should specify the prefix too if you ladanyi@2131: installed CPLEX to some non-standard location (e.g. /opt/ilog/cplex75). If it ladanyi@2131: is not found, CPLEX support will be disabled. alpar@730: ladanyi@2131: --with-cplex-includedir=DIR alpar@730: ladanyi@2131: The directory where the CPLEX header files are located. This is only useful ladanyi@2131: when the CPLEX headers and libraries are not under the same prefix (e.g. ladanyi@2131: /usr/local/cplex/cplex75/include). alpar@730: ladanyi@2131: --with-cplex-libdir=DIR alpar@730: ladanyi@2131: The directory where the CPLEX libraries are located. This is only useful ladanyi@2131: when the CPLEX headers and libraries are not under the same prefix (e.g. ladanyi@2131: /usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt). alpar@730: ladanyi@2131: --without-cplex alpar@730: ladanyi@2131: Disable CPLEX support. alpar@730: ladanyi@2131: --enable-demo alpar@730: ladanyi@2131: Build the demo programs too. alpar@730: ladanyi@2131: --disable-demo alpar@730: ladanyi@2131: Do not build the demo programs (default). alpar@730: ladanyi@2131: --enable-benchmark alpar@730: ladanyi@2131: Build the benchmark programs too. alpar@730: ladanyi@2131: --disable-benchmark alpar@730: ladanyi@2131: Do not build the benchmark programs (default).