Arc Forumnew | comments | leaders | submitlogin
1 point by lark 4435 days ago | link | parent

The usual steps from http://arclanguage.org/install

This is using Arc 3.1, not Arc 3, and with an mzScheme 3.7.2 built from source. Other Arc apps I've written work, and news.arc, blog.arc etc. work.



1 point by kinleyd 4435 days ago | link

Why not use more current versions of MzScheme - see https://sites.google.com/site/arclanguagewiki/install-arc

-----

1 point by lark 4435 days ago | link

I was not aware of the instructions being out of date.

Still, the error I'm facing does not seem related to mzScheme.

-----

2 points by akkartik 4435 days ago | link

Here's what I've tried so far:

a) Install v372 from http://download.plt-scheme.org/v372.html on a debian linux laptop.

b) Run the shell script, install it to the directory containing the arc2.master branch.

c) Run:

  plt/bin/mzscheme --no-init-file --load as.scm
It seems to come up without errors and ffi.arc seems to be loading up.

(When you report errors it's usually much faster to tell people how to reproduce your error in this step by step manner. Then they can usually immediately look at the instructions and tell you what you're doing wrong without a lengthy back-and-forth.)

-----

1 point by lark 4435 days ago | link

Here's what I've tried and the outcome:

http://arclanguage.org/item?id=15723

-----

1 point by akkartik 4435 days ago | link

Can you try the steps I outlined and confirm that it works for you? Perhaps something's messed up about the version you're on. Once you have a working version we can go in and poke at the differences to see where the problem might be.

-----

1 point by lark 4434 days ago | link

I tried the steps and Arc comes up. So ffi.scm must be working.

-----

1 point by akkartik 4434 days ago | link

Great. Can you share a copy of the repo that isn't working? Maybe on github or something?

-----

1 point by lark 4433 days ago | link

I can't share a copy of the repo, but I'm going about introducing FFI the opposite way: pick Arc 3.1 and add any files that are needed to get just FFI and mysql-ffi.

That's the approach that leads into trouble.

-----

1 point by akkartik 4433 days ago | link

That's a good approach. Keep at it, I'm sure you'll figure it out.

One way to get help with it: describe simple step-by-step changes to the repo that cause errors. Download arc 3.1, add this file from here, type this in at the repl, etc. Don't forget the actual text of the error you see as well.

-----