Hi Jake-

I'm not sure the problem indicates a problem with ExtUtils::F77
per se but I would like to see you up and running with PDL.
I don't have MacOS so PDL Mac users are welcome to chime
in on this...  Here are some thoughts that come to mind:

1. Are the SLATEC and Minuit modules built according to the
    build log output (you could try running the tests by hand as
    in 'perl -Mblib t/slatec.t' after the make step is complete)?
    If so, then the fortran compiler is being found by ExtUtils::F77

2. The test failure is for reading binary output files from a
    fortran program with the PDL::IO::FlexRaw module.  If you
    don't need to read those types of files then you could
    ignore that test fail and force an install.  But...

3. Are you sure you have a compress program on your Mac?
    Many systems (cygwin included) no longer include a working
    compress program but only a stub for decompressing by
    using gzip.  That might be the source of the problem.

Hope this helps,
Chris

On Mon, Sep 29, 2014 at 2:21 PM, jake <[email protected]> wrote:
>
> Dear Chris,
>
> I am having problems with ExtUtils::F77 when building PDL 2.007 on OS X 
> 10.9.5.
>
> Note that my gfortran is: gcc version 4.8.3 (Homebrew gcc 4.8.3_1)
>
> Here is what I see:
>
> t/flexraw_fortran.t .........
> ExtUtils::F77: Version 1.17
> t/flexraw_fortran.t ......... 2/? Couldn't read 4 bytes at offset 0 from
> '/tmp/rawJO_U_data', got 0 at
> /private/var/root/.cpan/build/PDL-2.007-iNz_gN/blib/lib/PDL/IO/FlexRaw.pm
> line 489.
>         PDL::IO::FlexRaw::readchunk('FileHandle=GLOB(0x7f87fb061948)',
> 'PDL=SCALAR(0x7f87fba7ea28)', 4, '/tmp/rawJO_U_data') called at
> /private/var/root/.cpan/build/PDL-2.007-iNz_gN/blib/lib/PDL/IO/FlexRaw.pm
> line 585
>         PDL::IO::FlexRaw::readflex('/tmp/rawJO_U_data') called at
> t/flexraw_fortran.t line 572
> # Looks like you planned 29 tests but ran 22.
> # Looks like your test exited with 255 just after 22.
> t/flexraw_fortran.t ......... Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 7/29 subtests
>
> Looks to me like the files in the swap space are not being queried
> correctly. Here is what I see in /tmp AFTER the build attempt:
>
> -rw-r--r--  1 root            wheel   79 Sep 29 12:38 rawTy3r_data.hdr
> -rw-r--r--  1 root            wheel   27 Sep 29 12:38 rawTy3r_data.Z
> -rw-r--r--  1 root            wheel   79 Sep 29 13:14 rawJHlH_data.hdr
> -rw-r--r--  1 root            wheel   27 Sep 29 13:14 rawJHlH_data.Z
> -rw-r--r--  1 root            wheel   79 Sep 29 13:34 rawIcec_data.hdr
> -rw-r--r--  1 root            wheel   27 Sep 29 13:34 rawIcec_data.Z
> -rw-r--r--  1 root            wheel   79 Sep 29 13:44 rawJO_U_data.hdr
> -rw-r--r--  1 root            wheel   27 Sep 29 13:44 rawJO_U_data.Z
>
> The rawJO_U_data file is compressed!
>
> Any insights or suggestions?
>
> Thanks in advance,
> jake
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

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

Reply via email to