[CM] CM installation problems (OpenMCL/LinuxPPC)

rm@fabula.de rm@fabula.de
Fri, 26 Mar 2004 21:22:44 +0100


Hello list,

just a short note to inform you that i ran into problems
installing CM (CVS) under opnmcl on my GNU/Linux/Debian 
system.

It seems that some of the OS/architecture detection in
file 'src/make.lisp' doesn't work. Here are my changes:

--- cm/src/make.lisp    Thu Mar 25 12:19:00 2004
+++ make.lisp   Thu Mar 25 02:53:56 2004
@@ -667,6 +667,7 @@
              (find ':osx *features*))
          "darwin")
         ((or (find ':linux *features*)
+             (find ':linux-target *features*) ; openmcl Linux PPC
              (find ':freebsd *features*)
              (find ':cygwin *features*))
          "linux")
@@ -684,6 +685,8 @@
              (find ':cygwin *features*))
          "i686")
         ((or (find :darwin *features*)
+             (find :ppc *features*)
+             (find :powerpc *features*)
              (find :osx *features*))
          "powerpc")
         ((find :apple *features*)

NOTE: i don't have the slightest idea about the 'linux vs. 'linux-taget
thing (i just started to evaluate openmcl/Linux) -- i just had
a look at the *features* list.

Second: there's function 'syscmd' that uses a hardcoded program
path (/bin/test) which doesn't exist on any of my Debian boxes (the
program sits in /usr/bin).


Hope that helps

   Ralf Mattes