[Larceny-users] Build Larceny I32 from SVN on Linux

Ray Racine ray.racine at comcast.net
Fri Oct 12 16:23:18 EDT 2007


I've been incrementally building Larceny from svn and following
progress.

I caught up today with an svn update and ran across the following build
issue (otherwise it builds fine).

(build-runtime) failed as the generated Makefile in Rts fails to mention
Sys/seqbuf.$(O) anywhere. 

When I manually added Sys/seqbuf.$(O) to the Makefile then the runtime
built.

If the header comment on the generated Makefile is to be believed then
the issue would be in Rts/make-templates.sch.

----------------------------------------------

I made the following adjustment awhile back to which allows Larceny to
build on a 64Bit Fedora Linux system.

$ svn diff lib/Ffi/ffi-load.sch
Index: lib/Ffi/ffi-load.sch
===================================================================
--- lib/Ffi/ffi-load.sch        (revision 4997)
+++ lib/Ffi/ffi-load.sch        (working copy)
@@ -25,6 +25,10 @@
                  (zero?
                   (system "test \"`uname -m | grep 'i.86'`x\" != \"x
\"")))
             'i386-linux)
+            ((and (string=? os "Linux")
+                  (zero?
+                   (system "test \"`uname -m | grep 'x86_64'`x\" != \"x
\"")))
+             'i386-linux)
            (else
             (error "FFI: unsupported operating system " os)))))

----------------------------------------------------------
It looks like things are getting real close.  I plan to give Larceny a
real test drive with some code I have to see where its at this weekend.
Its been things such as not having set-file-position! for a binary file 
port etc that has sunk me in the past.  But I see that stuff is now 
really starting to flow into svn.

Keep up the fine work!





More information about the Larceny-users mailing list