Changes between Version 7 and Version 8 of user-configure


Ignore:
Timestamp:
May 28, 2006 11:24:40 AM (14 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • user-configure

    v7 v8  
    4949 * '''{{{--with-gnu-packages}}}''': Some of the COIN projects can make use of GNU packages (such as zlib, bzlib, or readline).  Since those are usually provided under the GPL license, which has rather strong conditions, the configuration scripts do not check for the availability of those packages by default.  If you want to compile the COIN code so that it uses those packages, you need to provide this option.
    5050
    51  * Further options of the form '''{{{--enable-...}}}''' and '''{{{with-...}}}''' might be understood by the configuration scripts for specific COIN projects.  For example, if you want to tell the Open Solver Interface (OSI) that you want to compile the CPLEX solver interface, you need to specify the {{{--with-clp-lib}}} and {{{--with-clp-incdir}}} options with the appropriate values.  If such a value consists of more than one word (e.g., -L/opt/cplex -lcpx), you need to enclose it in quotation marks.
     51 * Further options of the form '''{{{--enable-...}}}''' and '''{{{with-...}}}''' might be understood by the configuration scripts for specific COIN projects.  For example, if you want to tell the Open Solver Interface (OSI) that you want to compile the CPLEX solver interface, you need to specify the {{{--with-cplex-lib}}} and {{{--with-cplex-incdir}}} options with the appropriate values.  (If such a value consists of more than one word, you need to enclose it in quotation marks.) For example:
     52
     53{{{--with-cplex-lib}}}="-L/usr/ilog/cplex90/lib/i86_linux2_glibc2.3_gcc3.2/static_pic -lcplex"
     54
     55where assuming that the cplex library (usually named libcplex.a)
     56is located in /usr/ilog/cplex90/lib/i86_linux2_glibc2.3_gcc3.2/static_pic.
     57Note that, on some systems, the threading library must be
     58added for cplex to work. In this case, the string is:
     59
     60{{{--with-cplex-lib}}}="-L/usr/ilog/cplex90/lib/i86_linux2_glibc2.3_gcc3.2/static_pic -lcplex -lpthread"
     61
     62For the include string:
     63
     64{{{--with-cplex-incdir}}}="/usr/ilog/cplex90/include/ilcplex"
     65
     66assuming that the header file cplex.h is located in the directory
     67/usr/ilog/cplex90/include/ilcplex.
     68
    5269
    5370A typical call for the configuration script would then look like
    5471
    5572{{{
    56 ./configure --with-cplex-lib="L/opt/cplex -lcpx" --with-cplex-incdir=/opt/cplex/include --enable-static -C
     73./configure --with-cplex-lib=="-L/usr/ilog/cplex90/lib/i86_linux2_glibc2.3_gcc3.2/static_pic -lcplex" --with-cplex-incdir= usr/ilog/cplex90/include/ilcplex --enable-static -C
    5774}}}
    5875