|
From: | Claudius Zingerli |
Subject: | [Octave-bug-tracker] [bug #44367] configure: Improve error handling when missing Fortran compiler |
Date: | Wed, 25 Feb 2015 15:26:48 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 |
URL: <http://savannah.gnu.org/bugs/?44367> Summary: configure: Improve error handling when missing Fortran compiler Project: GNU Octave Submitted by: zeuz Submitted on: Wed 25 Feb 2015 03:26:47 PM GMT Category: Configuration and Build System Severity: 3 - Normal Priority: 5 - Normal Item Group: Build Failure Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: The current configure script fails indirectly if there is no Fortran compiler: ./configure [...] checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... (cached) no checking whether accepts -g... (cached) no checking how to get verbose linking output from ... configure: WARNING: compilation failed checking for Fortran 77 libraries of ... checking for dummy main to link with Fortran 77 libraries... none checking for Fortran 77 name-mangling scheme... configure: error: in `/home/zeuz/octave': configure: error: cannot compile a simple Fortran program See `config.log' for more details. This fix changes the error to: checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... (cached) no checking whether accepts -g... (cached) no checking if we have some usable Fortran compiler...... no configure: error: No Fortran compiler found _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 25 Feb 2015 03:26:47 PM GMT Name: fortran-missing.diff Size: 869B By: zeuz <http://savannah.gnu.org/bugs/download.php?file_id=33183> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44367> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |