Arc Forumnew | comments | leaders | submitlogin
1 point by eds 5844 days ago | link | parent

You wouldn't have uname unless you installed cygwin and put it in PATH.

How are you running arc? I don't remember ever seeing this problem.



1 point by thaddeus 5844 days ago | link

I see 'uname' exist in the file 'arc.sh' (anarki);

I am not sure what this file is for; it has no docs or info; looks like it sets a 'uname' to 'Darwin' for mac osx machines, then runs some scripts via mzscheme ?

Since I didn't have admin rights on the machine (work) I created a shortcut that launches mzscheme with the directory path and passed in a 'start in' directory to anarki.

I do believe we have cygwin installed for other purposes.

-----

1 point by kens 5844 days ago | link

It looks like you're using the anarki-specific bash script to start arc. The script executes uname (which returns the OS) and checks if it is 'Darwin'. You could probably change `uname` to 'junk' (note backquotes changed to single quotes) to disable this check. But if you're on Windows, running the bash script seems like asking for trouble.

-----

1 point by thaddeus 5843 days ago | link

Thanks, I will give it a go.

As a note: I am not using a bash script to launch arc, I'm using a basic windows shortcut. This arc.sh file is initiating on it's own (as from eds; maybe because cygwin? in path?)

T.

-----

1 point by thaddeus 5841 days ago | link

Changing uname to 'junk', didn't work (I even deleted the file) no luck (pg's arc2 doesn't have the uname problem, but errors on other things like creating directories and loading asv).

Anyone know how to prevent anarki from thinking my windows machine is unix machine?

Thanks, T

-----

1 point by thaddeus 5841 days ago | link

Nevermind - I figured it out. I just changed the lib.arc so that ffi.arc doesn't get loaded. I hope someone who knows how to use git can put ffi into the lib folder and not have it load by default. T.

-----