Difficulty installing 110.69 on 64 and 32 bit Intel PCs

Roger Price <[email protected]> Tue, 24 Mar 2009 16:15:17 +0100 (CET)
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323584-592066024-1237907718=:5346
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

I'm trying to install 110.69 on a 64-bit machine running openSUSE=20
Linux 11.0.  uname -a reports

Linux glacon2 2.6.25.20-0.1-default #1 SMP 2008-12-12 20:30:38 +0100 x86_=
64 x86_64 x86_64 GNU/Linux

I tried to install using the config.tgz:

   glacon2:/mnt/home/smlnj # ./config/install.sh
  ./config/install.sh: Using shell /bin/sh.
  ./config/install.sh: SML root is /mnt/home/smlnj.
  ./config/install.sh: Installation directory is /mnt/home/smlnj.
  ./config/install.sh: Installing version 110.69.
  ./config/install.sh: URL of source archive is
                     http://smlnj.cs.uchicago.edu/dist/working/110.69/.
  ./config/install.sh: Script /mnt/home/smlnj/bin/.arch-n-opsys
                       reports ARCH=3Dx86; OPSYS=3Dlinux;
                       HEAP_SUFFIX=3Dx86-linux.
  /mnt/home/smlnj/config/unpack: The run-time tree already exists.
  ./config/install.sh: Compiling the run-time system.
  (make RUNTIME=3D"run.x86-linux" VERSION=3D"v-x86-linux" AS=3D"as --32"
  CC=3D"gcc -ansi" CFLAGS=3D"-O2 -m32" CPP=3D"gcc -x assembler-with-cpp -=
E
  -P" TARGET=3DX86 DEFS=3D"  -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX
  -DOPSYS_LINUX -D_GNU_SOURCE -DGNU_ASSEMBLER -DDLOPEN" XOBJS=3D""
  XLIBS=3D"../c-libs/dl/libunix-dynload.a" LD_LIBS=3D"-ldl"
  run.x86-linux)
  make[1]: entrant dans le r=E9pertoire
           =AB /mnt/home/smlnj/base/runtime/objs =BB
  gcc -ansi -c -O2 -m32 -I../config -I../objs -I../include
      ../config/gen-common.c
  In file included from /usr/include/features.h:354,
                   from /usr/include/stdio.h:28,
                   from ../config/gen-common.c:8:
  /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: Aucun fichier
                                        ou dossier de ce type
  make[1]: *** [gen-common.o] Erreur 1
  make[1]: quittant le r=E9pertoire
           =AB /mnt/home/smlnj/base/runtime/objs =BB
  make: *** [all] Erreur 2
  ./config/install.sh: !!! Run-time system build failed for some
                           reason.

It's normal that there is no stubs-32.h since this is a 64 bit=20
machine which has /usr/include/gnu/stubs-64.h.=20
http://www.smlnj.org/NEWS/110-README.html#Platforms doesn't say=20
explicitly "32 bit only", but I guess there is no 64 bit Intel=20
SML/NJ, so I tried to install on an older 32-bit machine again using=20
config.tgz.  All appeared to go well, and when I type sml, I see the=20
banner, but then typing CM.make "pi.cm"; produces a "(bug?)"=20
message:

  Standard ML of New Jersey v110.69 [built: Tue Mar 24 12:51:45 2009]
  - CM.make "pi.cm";
  [autoloading]

  unexpected exception (bug?) in SML/NJ: Io [Io: openIn failed on
   "/mnt/home/smlnj/110.69/sml.boot.x86-unix/smlnj/.cm/x86-unix/cm.cm",
     No such file or directory]
   raised at: Basis/Implementation/IO/bin-io-fn.sml:617.25-617.71
              ../cm/util/safeio.sml:30.11
              ../compiler/TopLevel/interact/evalloop.sml:44.55
  -

There is no file or directory sml.boot.x86-unix in directory=20
/mnt/home/smlnj/110.69 but locate x86-unix/cm.cm reports:

   /mnt/home/smlnj/110.69/lib/smlnj/cm/.cm/x86-unix/cm.cm
   /mnt/home/smlnj/110.69/lib/smlnj/.cm/x86-unix/cm.cm

My apologies if these are FAQs, but any suggestion would be much=20
appreciated.
Roger
--8323584-592066024-1237907718=:5346
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--8323584-592066024-1237907718=:5346
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Smlnj-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smlnj-list

--8323584-592066024-1237907718=:5346--