Skip Menu |

This queue is for tickets about the ExtUtils-F77 CPAN distribution.

Report information
The Basics
Id: 37154
Status: resolved
Priority: 0/
Queue: ExtUtils-F77

Owner: Nobody in particular
Requestors: derek [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: small fix for linux/gfortran code
Date: Thu, 26 Jun 2008 21:30:29 -0600
To: bug-ExtUtils-F77 [...]
From: Derek Lamb <derek [...]>
Download (untitled) / with headers
text/plain 985b
$perl -we 'use ExtUtils::F77;' ExtUtils::F77: Version 1.16 Loaded ExtUtils::F77 version 1.16 Found compiler g77 Use of uninitialized value in pattern match (m//) at /usr/local/share/perl/5.8.8/ExtUtils/ line 251. ExtUtils::F77: Using system=Linux compiler=G77 Checking for gcc in disguise: Compiler is gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Runtime: -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib -lg2c -lm -L/usr/lib/gcc/i486-linux-gnu/4.1.3 -lgcc ExtUtils::F77: Validating -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib -lg2c -lm -L/usr/lib/gcc/i486-linux-gnu/4.1.3 -lgcc [ok] ExtUtils::F77: Compiler: g77 ExtUtils::F77: Cflags: -O The error "Use of uninitialized value in pattern match..." error above occurs because find_in_path() can return 'undef'. This can be simply fixed by applying this patch: 251c251 < if( $default =~ /gfortran/ ) --- Show quoted text
> if( defined $default && $default =~ /gfortran/ )
applied thanks

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to