[CoinUtils-tickets] Re: [COIN-OR Common Utilities] #13: configure issues with GMPL

COIN-OR Common Utilities coin-trac at coin-or.org
Sun Jan 21 22:43:57 EST 2007


#13: configure issues with GMPL
-------------------------+--------------------------------------------------
  Reporter:  raderdavi   |       Owner:  ladanyi 
      Type:  defect      |      Status:  assigned
  Priority:  major       |   Milestone:          
 Component:  component1  |     Version:          
Resolution:              |    Keywords:          
-------------------------+--------------------------------------------------
Comment (by lou):

 Not really a !BuildTools problem, but a close relative.

 Glpk plays a game with library names. The user sees mpl_initialize, but
 that's a #define. The symbol is really glp_mpl_initialize. In
 !CoinUtils/configure.ac the call to AC_COIN_HAS_USER_LIBRARY needs to be
 tweaked, to
 {{{
 AC_COIN_HAS_USER_LIBRARY([Gmpl],[GMPL],[glpmpl.h],[glp_mpl_initialize])
 }}}

 Then, in !CoinUtils/src/Makefile.am, look for AM_CPPFLAGS. It must be
 augmented with the include files for gmpl, as
 {{{
 if COIN_HAS_GMPL
   AM_CPPFLAGS += -I`$(CYGPATH_W) $(GMPLINCDIR)`
 endif
 }}}

 Turns out this is already set up over in Osi, for glpk proper. Once I saw
 the problem, it was just a matter of adapting from Osi configure and
 Makefile.am files.

-- 
Ticket URL: <https://projects.coin-or.org/CoinUtils/ticket/13#comment:3>
COIN-OR Common Utilities <http://projects.coin-or.org/CoinUtils>
Common data structures and linear algebra functions for COIN-OR projects



More information about the CoinUtils-tickets mailing list