make perl5 fails on Windows/cygwin #118

Open
jaffa4 opened this Issue Apr 16, 2012 · 5 comments

2 participants

@jaffa4

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

@colomon
Collaborator

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.)

@jaffa4

OK, I will try that

@jaffa4

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

@colomon
Collaborator
 make perl5

doesn't seem to work for me on Windows. What platform are you using?

@jaffa4

cygwin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment