Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] problem in using mkmf with g95

M.R.Hadian schrieb:
Hi
i followed exactly the procedure as it is mentioned in: http://vinyl2.sentex.ca/~tcc/g95/How_to_use_mkmf_with_g95.html then i cd to the directory of my source codes and run in console mode: c:\MinGW\bin\mkmf-g95.bat
the results was the following error:
Global symbol "@tgt_suffixes" requires explicit package name at c:\mingw\bin\mkmf line 453.
Execution of c:\mingw\bin\mkmf aborted due to compilation errors.

the line 453 of mkmf is:
( $name, $path, $suffix ) = fileparse( $opt_p, @tgt_suffixes );

what is wrong in the above procedure? have i used the bat file correctly?
Best Wishes,
Hadian

Hi Hadian,

I tried to reproduce your problem. But it worked on my site. Problems could be:

· Delete the mkmf script and download it again. Maybe your first download was corrupted.

· Double check all paths in the batch file carefully!

· What is your extension? AFAIK mkmf only accepts f,F,f90,F90 out of the box.

· Do you have any special characters in your filename or in your path?

· Is Perl installed _properly_ and is it in the path? - type "perl --help" at the prompt. Reinstall Perl (E.g. msysDTK-packet on www.mingw.org) for any case.

Hope this helps. I am not a Perl programmer, so I can not interpret the error messages.

Regards,
Hani



Back to the top