From: Frank Hu <fra...@gm...> - 2007-09-13 21:00:51
|
Checked out the source from CVS. Everything works fine. Thanks, Geoffrey and Tim. Frank On Sep 13, 2007, at 8:15 AM, Timothy J Hickey wrote: > Nice work Geooffrey!! > > I've committed your changes into CVS. > There was also another problem with the code base > (which has been corrected in CVS) -- > > You need to delete the 18th line of src/jsint/primitives.scm > (tail 1) "return U.tail((Pair)x);" > With these two changes everything is compiling nicely for me on > Mac OS X 10.4 using java 1.5.0_07-87 > > I haven't tried it on Windows yet. I'll have to wait until tomorrow > when I have access to a Windows machine. > > Happy Rosh Hashanah, > ---Tim--- > > > On Sep 13, 2007, at 6:28 AM, Geoffrey S. Knauth wrote: > >> On Sep 11, 2007, at 23:47, Frank Hu wrote: >>> I'm trying to build version 7.2 on a Mac OS X 10.4.10 system. Got >>> the following error message when doing "sh bin/make" >>> [...] >>> SchemeException: java.io.FileNotFoundException: path_to_jscheme-7.2/ >>> src:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ >>> Classes/.compatibility/src/jsint/version.txt (No such file or >>> directory) >> >> I found a way to build JScheme on Mac OS X 10.4.10. >> I believe this fix should be valid for all platforms. >> >> Geoffrey >> >> In src/build/make.scm, I replaced: >> >> --->8---snip--->8--- >> ;;; Assumes a subdirectory is the only thing on classpath. >> (define appDir (.getCanonicalFile >> (.getParentFile >> (.getCanonicalFile >> (File. ($ "java.class.path")))))) >> --->8---snip--->8--- >> >> with: >> >> --->8---snip--->8--- >> ;;; No longer assumes a subdirectory is the only thing on classpath. >> ;;; Now assumes first thing on classpath is what should be used. >> (define appDir >> (let* ((cp ($ "java.class.path")) >> (i (.indexOf cp (System.getProperty "path.separator"))) >> (subdir (cond ((= i -1) cp) >> ((> i 0) (substring cp 0 i)) >> (else (error (string-append >> "appDir: can't create File >> object " >> "from classpath " >> "\"" cp "\"\n")))))) >> (.getCanonicalFile (.getParentFile (.getCanonicalFile (File. >> subdir)))))) >> >> --->8---snip--->8--- >> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Jscheme-user mailing list >> Jsc...@li... >> https://lists.sourceforge.net/lists/listinfo/jscheme-user > |