[Symphony-tickets] [SYMPHONY] #111: configure fails using F77=unavailable

SYMPHONY coin-trac at coin-or.org
Thu Sep 15 13:23:38 EDT 2011


#111: configure fails using F77=unavailable
-----------------------+----------------------------------------------------
 Reporter:  moceyunas  |       Owner:  tkr
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:     
Component:  Not Sure   |     Version:     
 Keywords:             |  
-----------------------+----------------------------------------------------
 Running configure with F77=unavailable fails:

 From stdout:

 configure: Trying to determine Fortran compiler name
 configure: WARNING: Failed to find a Fortran compiler!
 configure: Fortran compiler options are:
 checking how to get verbose linking output from unavailable... configure:
 WARNING: compilation failed

 checking for Fortran libraries of unavailable...
 checking for dummy main to link with Fortran libraries... none
 checking for Fortran name-mangling scheme... configure: error: cannot
 compile a simple Fortran program
 See `config.log' for more details.
 configure: error: /bin/sh
 '/home/moce/lpsolvers/symphony/SYMPHONY-5.4.0/CoinUtils/configure' failed
 for CoinUtils

 It appears that the logic in configure to disable attempting to figure out
 how to get verbose linking output from the fortran compile is not right.
 Here is part of the config.log file:

 configure:4610: WARNING: Failed to find a Fortran compiler!
 configure:4860: F77=unavailable
 configure:4947: Fortran compiler options are:
 configure:4993: checking how to get verbose linking output from
 unavailable
 configure:5004: unavailable -c   conftest.f >&5
 /home/moce/lpsolvers/symphony/SYMPHONY-5.4.0/CoinUtils/configure: line 1:
 unavailable: command not found
 configure:5010: $? = 127
 configure: failed program was:
 |       program main
 |
 |       end
 configure:5089: WARNING: compilation failed
 configure:5095: result:
 configure:5097: checking for Fortran libraries of unavailable
 configure:5115: unavailable -o conftest     conftest.f  >&5
 /home/moce/lpsolvers/symphony/SYMPHONY-5.4.0/CoinUtils/configure: line 1:
 unavailable: command not found
 configure:5279: result:
 configure:5354: checking for dummy main to link with Fortran libraries
 configure:5393: /tools/bin/gcc -Wall  -o conftest -O3 -fomit-frame-pointer
 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wsequence-point
 -Wreturn-type -Wcast-qual -Wall
 -DCOINUTILS_BUILD   conftest.c   >&5
 configure:5399: $? = 0
 configure:5403: test -z
                          || test ! -s conftest.err
 configure:5406: $? = 0
 configure:5409: test -s conftest
 configure:5412: $? = 0
 configure:5490: result: none
 configure:5526: checking for Fortran name-mangling scheme
 configure:5540: unavailable -c   conftest.f >&5
 /home/moce/lpsolvers/symphony/SYMPHONY-5.4.0/CoinUtils/configure: line 1:
 unavailable: command not found
 configure:5546: $? = 127
 configure: failed program was:
 |       subroutine foobar()
 |       return
 |       end
 |       subroutine foo_bar()
 |       return
 |       end
 configure:5754: error: cannot compile a simple Fortran program
 See `config.log' for more details.

-- 
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/111>
SYMPHONY <http://projects.coin-or.org/SYMPHONY>
The SYMPHONY framework for parallel branch-and-cut algorithms.



More information about the Symphony-tickets mailing list