bugManeage - Bugs: bug #56715, Check for working C and Fortran...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56715: Check for working C and Fortran compiler

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sun 04 Aug 2019 10:35:05 PM UTC
   
 
Category:  Software Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Sun 04 Aug 2019 11:16:47 PM UTC, comment #1: 

Two checks have been added to the configuration script with elaborate error messages to help guide the user to a solution. It has been pushed to the main Git history.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sun 04 Aug 2019 10:35:05 PM UTC, original submission:  

It can happen that the host C or Fortran compilers don't work properly, even if they are present. For example with errors like this (both happened on different macOS systems).

For the C compiler

conftest.c:9:19: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
                   ^
compilation terminated.


For the Fortran compiler

dyld: Library not loaded: @rpath/libisl.10.dylib
Referenced from: /Users/Mahdieh/anaconda2/gcc/libexec/gcc/x86_64-apple-darwin15.5.0/4.9.3/f951
Reason: image not found
gfortran: internal compiler error: Abort trap: 6
-verbatim

These errors usually show up during the configuration of the programs (the C error in `flock' and the Fortran error in WCSLIB).

But since the actual report of the configure-time checks are in their `config.log' and within the project's closed environment, its much more easier and clear for the users if we check them at the start of the configure script, before actually building any of the software.  I am busy adding some small tests to do this.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi
  • -email is unavailable- added by makhlaghi
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-04 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2019-08-04 makhlaghi Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code