Re: Difficulty installing 110.69 on 64 and 32 bit Intel PCs
John Reppy <[email protected]> Tue, 24 Mar 2009 12:15:53 -0500
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
You can build it on 64-bit Linux, but you must have the 32-bit = compatibility libraries installed, since it is a 32-bit application. I'm not sure about the other problem, but perhaps Matthias Blume can help. - John On Mar 24, 2009, at 10:15 AM, Roger Price wrote: > I'm trying to install 110.69 on a 64-bit machine running openSUSE = > 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 = > machine which has /usr/include/gnu/stubs-64.h. http://www.smlnj.org/NEWS/= 110-README.html#Platforms = > doesn't say explicitly "32 bit only", but I guess there is no 64 = > bit Intel SML/NJ, so I tried to install on an older 32-bit machine = > again using config.tgz. All appeared to go well, and when I type = > sml, I see the banner, but then typing CM.make "pi.cm"; produces a = > "(bug?)" 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 /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 = > appreciated. > Roger = > -------------------------------------------------------------------------= ----- > 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________= _______________________________________ > Smlnj-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smlnj-list ---------------------------------------------------------------------------= --- 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