Arc Forumnew | comments | leaders | submitlogin
1 point by rocketnia 4680 days ago | link | parent

The -m option means to call the "main" function now. Just leave it out. It used to mean "--mute-banner", which suppressed the "Welcome to MzScheme" line.


1 point by jsgrahamus 4680 days ago | link

C:\Users\Steve\Documents\Programming\Lisp\arc\arc3.1>"c:\Program Files (x86)\Racket"\racket

Welcome to Racket v5.1.1.

> user break

=== context ===

c:\Program Files (x86)\Racket\collects\racket\private\misc.rkt:85:7

>

C:\Users\Steve\Documents\Programming\Lisp\arc\arc3.1>"c:\Program Files (x86)\Racket"\racket -d as.scm

default-load-handler: expected a `module' declaration for `as', found: something else in: #<path:C:\Users\Steve\Documents\Programming\Lisp\arc\arc3.1\as.scm>

=== context ===

standard-module-name-resolver

C:\Users\Steve\Documents\Programming\Lisp\arc\arc3.1>"c:\Program Files (x86)\Racket"\racket -f as.scm

ffi-obj: couldn't get "setuid" from #f (The specified

procedure could not be found.; errno=127)

=== context ===

c:\Program Files (x86)\Racket\collects\ffi\unsafe.rkt:176:2: get-ffi-obj*

C:\Users\Steve\Documents\Programming\Lisp\arc\arc3.1\ac.scm: [running body]

C:\Users\Steve\Documents\Programming\Lisp\arc\arc3.1>

-----

2 points by rocketnia 4680 days ago | link

That "racket -f as.scm" command is the right one. The 'setuid issue is one of a few known issues on Windows, and it has a known fix: http://arclanguage.org/item?id=10625.

I give a whole step-by-step process for setting up Arc on Windows XP at http://www.arclanguage.org/item?id=12397. This link actually appears on http://sites.google.com/site/arclanguagewiki/, but it's okay if you didn't read that far down. :-p

By the way, I committed a 'setuid fix to Anarki a while ago, and unlike the fix above, this version of 'setuid should still work as usual on Linux: https://github.com/nex3/arc/commit/3201b34f3ed89e6305b0d9906...

-----

1 point by jsgrahamus 4680 days ago | link

Thanks for the tip and the understanding ;-)

Works great.

-----

1 point by rocketnia 4680 days ago | link

Erm, make sure to take another look. I've been ninja-editing that post for the last ten minutes. XD

-----