INSTALL
changeset 21 40d6f625e549
child 245 da1d220b176b
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/INSTALL	Thu Jan 03 11:12:27 2008 +0100
     1.3 @@ -0,0 +1,117 @@
     1.4 +Installation Instructions
     1.5 +=========================
     1.6 +
     1.7 +   Since you are reading this I assume you already obtained one of the release
     1.8 +tarballs and successfully extracted it. The latest version of LEMON is
     1.9 +available at our webpage (http://lemon.cs.elte.hu/).
    1.10 +
    1.11 +   In order to install LEMON from the extracted source tarball you have to
    1.12 +issue the following commands:
    1.13 +
    1.14 +  1. `cd lemon-x.y.z'
    1.15 +
    1.16 +     This changes to the directory which was created when you extracted the
    1.17 +     sources. The x.y.z part is a version number.
    1.18 +
    1.19 +  2. `./configure'
    1.20 +
    1.21 +     This runs the configure shell script, which does some checks and
    1.22 +     configuration (creates makefiles etc).
    1.23 +
    1.24 +  3. `make'
    1.25 +
    1.26 +     This command compiles the non-template part of LEMON into libemon.a file.
    1.27 +     It also compiles the benchmark and demo programs when enabled.
    1.28 +
    1.29 +  4. `make check'
    1.30 +
    1.31 +     This step is optional, but recommended. It runs the test programs that we
    1.32 +     developed for LEMON to check whether the library works properly on your
    1.33 +     platform.
    1.34 +
    1.35 +  5. `make install'
    1.36 +
    1.37 +     This command installs LEMON under /usr/local (you will need root
    1.38 +     privileges to be able to do that). If you want to install it to some
    1.39 +     other location, then pass the --prefix=DIRECTORY flag to configure in
    1.40 +     step 1. For example: `./configure --prefix=/home/username/lemon'
    1.41 +
    1.42 +
    1.43 +Configure Flags
    1.44 +===============
    1.45 +
    1.46 +   You can pass the following flags to configure in step 1
    1.47 +(see ./configure --help for more):
    1.48 +
    1.49 +CXX=comp
    1.50 +
    1.51 +  Change the C++ compiler to 'comp'.
    1.52 +
    1.53 +CXXFLAGS='flags'
    1.54 +
    1.55 +  Pass the 'flags' to the compiler. For example
    1.56 +  CXXFLAGS='-O3 -march=pentium-m'
    1.57 +  turns  on generation of aggressively optimized
    1.58 +  Pentium-M specific code.
    1.59 +
    1.60 +--enable-demo
    1.61 +
    1.62 +   Build the demo programs too.
    1.63 +
    1.64 +--disable-demo
    1.65 +
    1.66 +   Do not build the demo programs (default).
    1.67 +
    1.68 +--enable-benchmark
    1.69 +
    1.70 +   Build the benchmark programs too.
    1.71 +
    1.72 +--disable-benchmark
    1.73 +
    1.74 +   Do not build the benchmark programs (default).
    1.75 +
    1.76 +--with-glpk[=PREFIX]
    1.77 +
    1.78 +   Enable GLPK support (default). You should specify the prefix too if
    1.79 +   you installed GLPK to some non-standard location (e.g. your home
    1.80 +   directory). If it is not found, GLPK support will be disabled.
    1.81 +
    1.82 +--with-glpk-includedir=DIR
    1.83 +
    1.84 +   The directory where the GLPK header files are located. This is only
    1.85 +   useful when the GLPK headers and libraries are not under the same
    1.86 +   prefix (which is unlikely).
    1.87 +
    1.88 +--with-glpk-libdir=DIR
    1.89 +
    1.90 +   The directory where the GLPK libraries are located. This is only
    1.91 +   useful when the GLPK headers and libraries are not under the same
    1.92 +   prefix (which is unlikely).
    1.93 +
    1.94 +--without-glpk
    1.95 +
    1.96 +   Disable GLPK support.
    1.97 +
    1.98 +--with-cplex[=PREFIX]
    1.99 +
   1.100 +   Enable CPLEX support (default). You should specify the prefix too
   1.101 +   if you installed CPLEX to some non-standard location
   1.102 +   (e.g. /opt/ilog/cplex75). If it is not found, CPLEX support will be
   1.103 +   disabled.
   1.104 +
   1.105 +--with-cplex-includedir=DIR
   1.106 +
   1.107 +   The directory where the CPLEX header files are located. This is
   1.108 +   only useful when the CPLEX headers and libraries are not under the
   1.109 +   same prefix (e.g.  /usr/local/cplex/cplex75/include).
   1.110 +
   1.111 +--with-cplex-libdir=DIR
   1.112 +
   1.113 +   The directory where the CPLEX libraries are located. This is only
   1.114 +   useful when the CPLEX headers and libraries are not under the same
   1.115 +   prefix (e.g.
   1.116 +   /usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt).
   1.117 +
   1.118 +--without-cplex
   1.119 +
   1.120 +   Disable CPLEX support.