Arc Forumnew | comments | leaders | submit | noodle's commentslogin
1 point by noodle 5630 days ago | link | parent | on: Step Three of Installing Arc

sub-question: i'm having a problem with mzscheme and i can't find a good answer.

  root@mybox:~/arc3# mzscheme -m -f as.scm
  -bash: /usr/bin/mzscheme: No such file or directory
any thoughts?

-----

1 point by CatDancer 5630 days ago | link

You will need to download and install PLT version 372 to use with arc3.

http://download.plt-scheme.org/v372.html

The installer will ask you where you want to install mzscheme, you can choose any directory that is convenient for you. You do not need the option to create links in standard directories, say "no" to that.

Then you'd run mzscheme from the directory that you installed it to.

  ~/arc3$ ...where-you-said-to-install-mzscheme/bin/mzscheme -m -f as.scm

-----

1 point by noodle 5630 days ago | link

yes, i did that. just in case, i removed and reinstalled everything. same result.

-----

1 point by CatDancer 5630 days ago | link

In what you posted above, you don't include the path to mzscheme. Are you now including the path? If so, what exactly are you typing, and what error message are you getting exactly?

-----

1 point by noodle 5629 days ago | link

  * tried it with the absolute path
  * tried it without
  * tried running it in its directory
  * tried running it without parameters just to see what happens
all of these ways with the exact same output result (except the path changes as it should)

-----

1 point by CatDancer 5629 days ago | link

When you try it with the absolute path, what is the exact command line that you are using?

-----

1 point by noodle 5629 days ago | link

  root@mybox:~/arc3# /root/mz/bin/mzscheme -m -f as.scm
  -bash: /root/mz/bin/mzscheme: No such file or directory
  root@mybox:~/arc3# cd /root/mz/bin/
  root@mybox:~/mz/bin# ls
  mzc  mzpp  mzscheme  mztext  pdf-slatex  planet  plt-web-server-text  setup-plt  slatex  swindle  tex2page
  root@mybox:~/mz/bin# ./mzscheme -m -f /root/arc3/ac.scm
  -bash: ./mzscheme: No such file or directory
  root@mybox:~/mz/bin#
  root@mybox:~# cd /root/plt/bin/
  root@mybox:~/plt/bin# ls
  drscheme   mred  mzpp      mztext      planet     plt-web-server       setup-plt  slideshow  tex2page
  help-desk  mzc   mzscheme  pdf-slatex  plt-games  plt-web- server-text  slatex     swindle
  root@mybox:~/plt/bin# ./mzscheme
  -bash: ./mzscheme: No such file or directory
  root@mybox:~/plt/bin# ./mzscheme -m -f /root/arc3/as.scm
  -bash: ./mzscheme: No such file or directory
  root@mybox:~/plt/bin#
please ignore my poor security practices. :)

-----

1 point by CatDancer 5629 days ago | link

Yup, that's weird!

You're going to need to get help on the PLT Scheme user mailing list for this one. (This is the first mailing list listed at the top of http://www.plt-scheme.org/community.html)

Tell them what operating system you're running, including the output of "uname -a", and which distribution of PLT Scheme you downloaded. Mention you need to run PLT Scheme version 372 specifically. No need to include the "-m" or "-f" options or to mention Arc, just show them the output of when you're in the bin directory and you type just "./mzscheme"

Then, once you have mzscheme working, we may be able to help with any Arc problems you have... :-)

Good luck!

-----

1 point by noodle 5629 days ago | link

yeah, i was going to hit that next. this is just an easier resource i figured i'd tap first :) appreciate the input.

-----

1 point by conanite 5629 days ago | link

Is ./mzscheme a symbolic link pointing to a missing file? Or is ./mzscheme a shell script with an invalid interpreter line? (the first line, beginning with #! )

-----

1 point by CatDancer 5629 days ago | link

yeah, you might try typing "file mzscheme" and see what it says.

-----

1 point by noodle 5629 days ago | link

no, its an ELF.

-----

1 point by tc-rucho 5630 days ago | link

So, did you solve it or still with problems? It looks like you don't have mzscheme in your PATH.

-----

1 point by noodle 5629 days ago | link

still have problems. it is in PATH, afaik. and i get the exact same error trying to execute from where its installed.

-----

1 point by shader 5629 days ago | link

The error message looks funny. Did you add the path yourself? What does your path variable look like?

It may be that you added the path including the file, when you're only supposed to include the directory.

-----

1 point by noodle 5629 days ago | link

everything i've done so far is all done from the installer. no hands-on anything.

-----