On Mon, Feb 18, 2019 at 11:08:09AM -0500, Chris Marshall wrote:
> I was going to suggest enabling the debug option
> by setting $ExtUtils::F77::DEBUG = 1 before the
> use ExtUtils::F77 but while that worked for my
> installed version 1.20 it generated no useful
> output from the version 1.23.
> 
> My 1.20 version did not show any extra quotations.
> If you regress to version 1.20 do things work again?

I unpacked version 1.20 and it seem to work.

     ...ExtUtils-F77-1.20$ perl -Mlib=blib/lib -MExtUtils::F77 -E 'say 
ExtUtils::F77->runtime'
     .
     .
     .
     -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib -lgfortran -lm

     ...ExtUtils-F77-1.20$ perl -MExtUtils::F77 -E 'say ExtUtils::F77->runtime'
     .
     "-L/usr/lib/gcc/x86_64-linux-gnu/8"  -L/usr/lib -lgfortran -lm

> If you set $DB::single = 1 before the use ExtUtils::F77
> line and run your script under the debugger, you should be
> able to step through the code to see where the values are
> being generated.

Thanks for the advice. I believe I found the problem. Line 96 of 
ExtUtils::F77.pm has

       return( qq{"-L$dir" $append -L/usr/lib -l$lib -lm} );

so it quotes with qq *and* with "". I guess it can be fixed removing the double 
quotes "".


Best regards,
Luis

------patch

96c96
<   return( qq{"-L$dir" $append -L/usr/lib -l$lib -lm} );
---
>   return( qq{-L$dir $append -L/usr/lib -l$lib -lm} );

------end patch




-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | [email protected]   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB




_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to