make perl5 fails on Windows/cygwin
Opened this issue · 5 comments
Hoi,,
I tried this
print eval(:lang,'1');
II gave back:
Unhandled exception: System.IO.FileNotFoundException: Could not load file or assembly 'Perl5Interpreter' or one of its dependencies. The system cannot find the file specified.
File name: 'Perl5Interpreter'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Builtins.eval_perl5(Variable v)
at Run.CORE.C1382eval(Frame )
at Niecza.Kernel.RunCore(Frame& cur)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, se
Did you do
make perl5
first? Once I've done that, your example works fine on my Mac install. (I'll try it on Windows in a moment, and will report only if it doesn't also work there.)
OK, I will try that
make perl5
I get
$ make perl5
gmcs /debug+ /target:library /lib:obj /out:obj/Perl5Interpreter.dll /r:Run.Kerne
l.dll lib/Perl5Interpreter.cs
perl perl5/build_interop
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: unrecognized command line option "-fstack-protector"
cd perl5/Niecza;perl Build.PL;perl Build
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: unrecognized command line option "-fstack-protector"
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build
make perl5
doesn't seem to work for me on Windows. What platform are you using?
cygwin