wiki:RunningOnSmartOS

Version 2 (modified by rme, 21 months ago) (diff)

--

Running on Joyent's SmartOS

Provision a machine. I used a 32-bit "base" image.

Install software. Use pkgin se foo to search for foo in the list of available software packages.

pkgin in subversion-base
pkgin in gcc47
pkgin in gmake
pkgin in m4

After checking out a copy of the ccl sources, edit lisp-kernel/solarisx86/Makefile.

Index: Makefile
===================================================================
--- Makefile    (revision 15546)
+++ Makefile    (working copy)
@@ -17,13 +17,13 @@
 
 VPATH = ..
 RM = /bin/rm
-AS = /usr/sfw/bin/gas
+AS = as
 # In earlier OpenSolaris releases, the bundled GNU m4 didn't work to
 # build the lisp kernel.  In the 2009.06 release, /usr/bin/gm4 seems 
 # to be adequate, but if m4 gives you any trouble, just download
 # the GNU m4 source from somewhere and use that.
-M4 = /usr/bin/gm4
-CC = /usr/sfw/bin/gcc
+M4 = gm4
+CC = gcc
 ASFLAGS = --32 --divide

It should then work to do (rebuild-ccl :full t).