[Cbc] Fortran Compiler Issues

Stefan Vigerske stefan at math.hu-berlin.de
Thu Sep 22 07:14:14 EDT 2011


Hi,

below is a patch for CoinUtils/configure that lets configure continue if 
no Fortran compiler is found. That seems to work for me. We'll work on a 
proper fix.

Stefan

@@ -4982,6 +4982,7 @@


  # Find out how to call Fortran from C and determine Fortran runtime 
libraries
+if test $F77 != unavailable ; then

  # get FLIBS
  ac_ext=f

@@ -5869,6 +5870,7 @@



+fi

  # Initialize automake and libtool
  {


> Hi,
>
> this is the end of output, if I run configure toplevel in cbc trunk export:
>
> configure: Trying to determine Fortran compiler name
> checking for gfortran... no
> checking for ifort... no
> checking for g95... no
> checking for fort77... no
> checking for f77... no
> checking for g77... no
> checking for pgf90... no
> checking for pgf77... no
> checking for ifc... no
> checking for frt... no
> checking for af77... no
> checking for xlf_r... no
> 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 './configure' failed for CoinUtils
>
> Greetings
> Christoph
>
> ----- Original Message -----
>> Hi,
>>
>>> I want to build current CBC /trunk without Fortran available, which
>>> fails.
>>
>> How does it fail?
>>
>>> Any way to allow to configure&   make without fortran installed?
>>
>> It should work.
>>
>> Stefan
>>
>>>
>>> Greetings
>>> Christoph
>>>
>>> --
>>> -------------------------------------- Christoph Cullmann ---------
>>> AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
>>> Science Park 1                         Tel:   +49-681-38360-22
>>> 66123 Saarbrücken                      Fax:   +49-681-38360-20
>>> GERMANY                                WWW:   http://www.AbsInt.com
>>> --------------------------------------------------------------------
>>> Geschäftsführung: Dr.-Ing. Christian Ferdinand
>>> Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB
>>> 11234
>>>
>>> _______________________________________________
>>> Cbc mailing list
>>> Cbc at list.coin-or.org
>>> http://list.coin-or.org/mailman/listinfo/cbc
>>
>>
>



More information about the Cbc mailing list