I just upgraded my perl to 5.28.1, reinstalled all my modules
(including PDL and ExtUtils::F77), and when I try to Build one of my
packages I get and error as the following:
    $./Build
    # process_pd_files
    # provides....lib/Photonic/ExtraUtils.pd
    Loaded ExtUtils::F77 version 1.23
    Building Photonic
    cc -shared -O2 -L/usr/local/lib -fstack-protector-strong -o 
blib/arch/auto/Photonic/ExtraUtils/ExtraUtils.so lib/Photonic/ExtraUtils.o 
"-L/usr/lib/gcc/x86_64-linux-gnu/8"  -L/usr/lib -lgfortran -lm fortran/cgtsl.o 
fortran/dgtsl.o
    cc: error: "-L/usr/lib/gcc/x86_64-linux-gnu/8": No such file or directory
    cc: error: : No such file or directory
    error building blib/arch/auto/Photonic/ExtraUtils/ExtraUtils.so from 
lib/Photonic/ExtraUtils.o at 
/home/mochan/perl5/perlbrew/perls/perl-5.28.0/lib/5.28.1/ExtUtils/CBuilder/Base.pm
 line 332.

If I compile manually

    cc ... "-L/usr/lib/gcc/x86_64-linux-gnu/8"  -L/usr/lib -lgfortran -lm 
fortran/c gtsl.o fortran/dgtsl.o

I don't get the error. Thus, I believe that the error has to do with
the quotation marks around  "-L/usr/lib/gcc/x86_64-linux-gnu/8". I
tried debugging the Build script  to find where do these quotations
come from, and found they seem to come from ExtUtils::F77:

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

Is this a bug in ExtUtils::F77? How can I get rid of the quotes "" so
my package can be compiled automatically? I'll aprecciate any advice.

Best regards,
Luis


-- 

                                                                  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