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