[CIL users] Compiling on Windows
I'm having a problem. When I run ./configure (from cygwin bash shell) I get the error: cannot run /bin/sh ./config.sub If I try to run it myself, it complains about carriage returns. Since that file is being generated by configure, I can't fix it directly. Does anyone know what the solution is? -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
Re: [CIL users] Compiling on Windows
Thanks. Actually I had deleted the cil directory to start again. This time there was no problem. I think the problem arose because I checked out using Git Bash (from MINGW32), and then I found I couldn't configure from there (no gcc), so I switched to cygwin. This time I checked out from cygwin. On 15 August 2013 09:13, Jonathan Kotker wrote: > Try deleting the config.sub file, and then running the 'dos2unix' command > on the items in the folder: 'dos2unix *' That should convert the carriage > returns to the UNIX-specific newlines. > > > On 15 August 2013 01:09, Colin Adams wrote: > >> I'm having a problem. >> >> When I run ./configure (from cygwin bash shell) I get the error: >> >> cannot run /bin/sh ./config.sub >> >> If I try to run it myself, it complains about carriage returns. >> >> Since that file is being generated by configure, I can't fix it directly. >> Does anyone know what the solution is? >> >> >> -- >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> It's a free troubleshooting tool designed for production. >> Get down to code-level detail for bottlenecks, with <2% overhead. >> Download for free and get started troubleshooting in minutes. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> ___ >> CIL-users mailing list >> CIL-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cil-users >> >> > -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
[CIL users] Make failing with unknown ocaml option
Now I have configure working, but make is failing: ocamlc.opt: unknown warning option+. I don't know ocaml at all, and googling fails to find this particular text (with the plus sign). (this is on windows - cygwin). -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
[CIL users] Signal 127
I'm running cilly --mode=AR and it is failing with the message: The command /usr/local/bin/cilly.native.exe .. received signal %d 127 I guess that 127 means it couldn't find a command (I'm running under cygwin). How does one go about diagnosing what might be wrong? -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
Re: [CIL users] Signal 127
I can't find the word "received" in the source code, so I guess it is coming from the ocaml runtime. I've never done any ocaml programming, so i don't know how to go about debugging this - is there a debugger one can use? On 20 August 2013 16:11, Colin Adams wrote: > I'm running cilly --mode=AR and it is failing with the message: > > The command > /usr/local/bin/cilly.native.exe .. > received signal %d > 127 > > I guess that 127 means it couldn't find a command (I'm running under > cygwin). How does one go about diagnosing what might be wrong? > > > -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
Re: [CIL users] Signal 127
OK thanks. I'd just found out about ocamldebug, but it seems to insist on a bytecode file, and there doesn't seem to be an option to compile cil to byte code. I'll just wait for you instead. On 21 August 2013 10:56, Gabriel Kerneis wrote: > On Wed, Aug 21, 2013 at 10:44:12AM +0100, Colin Adams wrote: > > I can't find the word "received" in the source code, so I guess it is > > coming from the ocaml runtime. I've never done any ocaml programming, so > i > > don't know how to go about debugging this - is there a debugger one can > use? > > lib/App/Cilly.pm:1334 (I should fix this spurious "%d" by the way). > Signal 127 means "command not found" indeed. > > This is because you are running the git "develop" branch, I guess, and I > pushed > a change to remove the .exe suffix but forgot to fix the perl script > accordingly. > > I'll fix this as soon as possible, > -- > Gabriel > -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
Re: [CIL users] Signal 127
No change. What I did was: git pull ./configure make make install (but ocamlfind complained the package was already installed, so:) make uninstall make install Should I have done something different? (the commit I pulled was 2c84963..4994a6e) On 21 August 2013 11:02, Gabriel Kerneis wrote: > On Wed, Aug 21, 2013 at 10:58:25AM +0100, Colin Adams wrote: > > I'd just found out about ocamldebug, but it seems to insist on a bytecode > > file, and there doesn't seem to be an option to compile cil to byte code. > > The latest version in the develop branch should build both native and > bytecode > versions if you have ocamlc and ocamlopt available. You can enable the > bytecode > one by passing --bytecode to cilly. > > > I'll just wait for you instead. > > I've just pushed a fix for you to try. > > Best regards, > -- > Gabriel > -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users
Re: [CIL users] Signal 127
That fixed it. Thanks. On 21 August 2013 11:17, Gabriel Kerneis wrote: > On Wed, Aug 21, 2013 at 11:10:45AM +0100, Colin Adams wrote: > > Should I have done something different? (the commit I pulled was > > 2c84963..4994a6e) > > Pull again ;-) > > > https://github.com/kerneis/cil/commit/88b007e0253652a04abdf34e9a10745a70d29eca > > I pushed to sourceforge only by mistake. You probably pulled from github. > Sorry > for the confusion, > -- > Gabriel > -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users