This is a problem with gfortran file IO formatting
as reported in this thread:

http://www.mail-archive.com/[email protected]/msg00729.html

gfortran 4.2 and above are compatible with g77 formatting.
If upgrading gfortran does not work, you could use the option
-frecord-marker=4 to the compile to work around the problem.

--Chris

InSuk Joung wrote:
> I confirmed that the script dies when "readflex" is called as shown below.
> 
> [isjo...@quine PDL-2.4.4]$ perl -Iblib/arch -Iblib/lib t/flexraw.t
> 1..29
> 
> ExtUtils::F77: Version 1.16
> Loaded ExtUtils::F77 version 1.16
> Found compiler gfortran
> ExtUtils::F77: Using system=Linux compiler=GFortran
> Checking for gcc in disguise:
> Compiler is gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
> Runtime: -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -L/usr/lib -lgfortran 
> -lm -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -lgcc
> ExtUtils::F77: Validating -L/usr/lib/gcc/i386-redhat-linux/4.1.2 
> -L/usr/lib -lgfortran -lm -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -lgcc   
> [ok]
> ExtUtils::F77: Compiler: gfortran
> ExtUtils::F77: Cflags: -O
> PDL: Error: Doesn't look like f77 file (even swapped)
> Caught at file t/flexraw.t, line 295, pkg main
> # Looks like your test died before it could output anything.

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to