COIN-OR::LEMON - Graph Library

source: lemon-0.x/INSTALL @ 2131:e81cd2898f7a

Last change on this file since 2131:e81cd2898f7a was 2131:e81cd2898f7a, checked in by Akos Ladanyi, 15 years ago

New, less general installation instructions.

File size: 3.0 KB
RevLine 
[2131]1Installation Instructions
2=========================
[730]3
[2131]4   Since you are reading this I assume you already obtained one of the release
5tarballs and successfully extracted it. The latest version of LEMON is
6available at our webpage (http://lemon.cs.elte.hu/).
[730]7
[2131]8   In order to install LEMON from the extracted source tarball you have to
9issue the following commands:
[730]10
[2131]11  1. `cd lemon-x.y.z'
[730]12
[2131]13     This changes to the directory which was created when you extracted the
14     sources. The x.y.z part is a version number.
[730]15
[2131]16  2. `./configure'
[730]17
[2131]18     This runs the configure shell script, which does some checks and
19     configuration (creates makefiles etc).
[730]20
[2131]21  3. `make'
[730]22
[2131]23     This command compiles the non-template part of LEMON into libemon.a file.
24     It also compiles the benchmark and demo programs when enabled.
[730]25
[2131]26  4. `make check'
[730]27
[2131]28     This step is optional, but recommended. It runs the test programs that we
29     developed for LEMON to check whether the library works properly on your
30     platform.
[730]31
[2131]32  5. `make install'
[730]33
[2131]34     This command installs LEMON under /usr/local (you will need root
35     privileges to be able to do that). If you want to install it to some
36     other location, then pass the --prefix=DIRECTORY flag to configure in
37     step 1. For example: `./configure --prefix=/home/username/lemon'
[730]38
39
[2131]40Configure Flags
41===============
[730]42
[2131]43   You can pass the following flags to configure in step 1 (see ./configure
44--help for more):
[730]45
[2131]46   --with-glpk[=PREFIX]
[730]47
[2131]48   Enable GLPK support (default). You should specify the prefix too if you
49installed GLPK to some non-standard location (e.g. your home directory). If it
50is not found, GLPK support will be disabled.
[730]51
[2131]52   --with-glpk-includedir=DIR
[730]53
[2131]54   The directory where the GLPK header files are located. This is only useful
55when the GLPK headers and libraries are not under the same prefix (which is
56unlikely).
[730]57
[2131]58   --with-glpk-libdir=DIR
[730]59
[2131]60   The directory where the GLPK libraries are located. This is only useful
61when the GLPK headers and libraries are not under the same prefix (which is
62unlikely).
[730]63
[2131]64   --without-glpk
[730]65
[2131]66   Disable GLPK support.
[730]67
[2131]68   --with-cplex[=PREFIX]
[730]69
[2131]70   Enable CPLEX support (default). You should specify the prefix too if you
71installed CPLEX to some non-standard location (e.g. /opt/ilog/cplex75). If it
72is not found, CPLEX support will be disabled.
[730]73
[2131]74   --with-cplex-includedir=DIR
[730]75
[2131]76   The directory where the CPLEX header files are located. This is only useful
77when the CPLEX headers and libraries are not under the same prefix (e.g.
78/usr/local/cplex/cplex75/include).
[730]79
[2131]80   --with-cplex-libdir=DIR
[730]81
[2131]82   The directory where the CPLEX libraries are located. This is only useful
83when the CPLEX headers and libraries are not under the same prefix (e.g.
84/usr/local/cplex/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_pic_mt).
[730]85
[2131]86   --without-cplex
[730]87
[2131]88   Disable CPLEX support.
[730]89
[2131]90   --enable-demo
[730]91
[2131]92   Build the demo programs too.
[730]93
[2131]94   --disable-demo
[730]95
[2131]96   Do not build the demo programs (default).
[730]97
[2131]98   --enable-benchmark
[730]99
[2131]100   Build the benchmark programs too.
[730]101
[2131]102   --disable-benchmark
[730]103
[2131]104   Do not build the benchmark programs (default).
Note: See TracBrowser for help on using the repository browser.