On Mar 10, 1:03 pm, David Andrews <dammi...@gmail.com> wrote:
> I'm having difficulty running Clojure underz/OS. If I download a
> current Clojure onto my Gentoo Linux system and build it so:
> svn checkouthttp://clojure.googlecode.com/svn/trunk/clojure-read-
> only
> cd clojure-read-only
> ant
> Then I can treat myself to a delicious REPL:
> ~/clojure-read-only $ java -cp clojure.jar clojure.lang.Repl
> Clojure
> user=> (+ 1 1)
> 2
>
> So I move this write-once-read-anywhere bundle toz/OS: I tar the
> clojure-read-only directory, binary-ftp it to myz/OSsystem, ssh in
> to *that* and untar the archive, ending up with an identical clojure-
> read-only directory on thez/OSfilesystem.
>
> But now I have serious code page issues. The best I can get out of
> Clojure here is:
> $ java -Dfile.encoding=ISO8859-1 -Dconsole.encoding=IBM-1047 -cp
> clojure.jar clojure.lang.Repl
> Clojure
> user=> (+ 1 1)
> java.lang.Exception: Unable to resolve symbol: MN in this context
> (NO_SOURCE_FILE:0)
> java.lang.Exception: Unable to resolve symbol: in this context
> (NO_SOURCE_FILE:0)
>
> One person suggested to me that "The code is probably doing something
> odd with how it reads input, making bad assumptions about the codepage
> being "ASCII". Running with ISO8859-1 as the file encoding usually
> fixes this, but apparently not in this case." I'm well out of my
> depth here, and wonder if anyone has a suggestion on how I can
> proceed?
Can anyone help out with this issue?
Rich
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---