|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Difficulty installing 110.69 on 64 and 32 bit Intel PCsI'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=x86; OPSYS=linux; HEAP_SUFFIX=x86-linux. /mnt/home/smlnj/config/unpack: The run-time tree already exists. ./config/install.sh: Compiling the run-time system. (make RUNTIME="run.x86-linux" VERSION="v-x86-linux" AS="as --32" CC="gcc -ansi" CFLAGS="-O2 -m32" CPP="gcc -x assembler-with-cpp -E -P" TARGET=X86 DEFS=" -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_LINUX -D_GNU_SOURCE -DGNU_ASSEMBLER -DDLOPEN" XOBJS="" XLIBS="../c-libs/dl/libunix-dynload.a" LD_LIBS="-ldl" run.x86-linux) make[1]: entrant dans le répertoire « /mnt/home/smlnj/base/runtime/objs » 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épertoire « /mnt/home/smlnj/base/runtime/objs » 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 Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
|
|
Re: Difficulty installing 110.69 on 64 and 32 bit Intel PCsYou 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=x86; OPSYS=linux; > HEAP_SUFFIX=x86-linux. > /mnt/home/smlnj/config/unpack: The run-time tree already exists. > ./config/install.sh: Compiling the run-time system. > (make RUNTIME="run.x86-linux" VERSION="v-x86-linux" AS="as --32" > CC="gcc -ansi" CFLAGS="-O2 -m32" CPP="gcc -x assembler-with-cpp -E > -P" TARGET=X86 DEFS=" -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX > -DOPSYS_LINUX -D_GNU_SOURCE -DGNU_ASSEMBLER -DDLOPEN" XOBJS="" > XLIBS="../c-libs/dl/libunix-dynload.a" LD_LIBS="-ldl" > run.x86-linux) > make[1]: entrant dans le répertoire > « /mnt/home/smlnj/base/runtime/objs » > 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épertoire > « /mnt/home/smlnj/base/runtime/objs » > 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 > Smlnj-list@... > 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 _______________________________________________ Smlnj-list mailing list Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
|
|
Re: Difficulty installing 110.69 on 64 and 32 bit Intel PCsOn Tue, 24 Mar 2009, John Reppy wrote:
> 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. Hello John, I installed openSUSE packages glibc-devel-32bit which contains stubs-32.h and gcc-32bit the 32 bit compiler. The SML/NJ installation went well, but when I tried to execute CM.make "pi.cm"; I received an "Error: Compiler bug: UnpickMod: stub lookup failed for environment" : rprice@glacon2:~/mytex/smlnj> sml Standard ML of New Jersey v110.69 [built: Tue Mar 24 19:55:32 2009] - CM.make "pi.cm"; [autoloading] [library $smlnj/cm/cm.cm is stable] [library $smlnj/internal/cm-sig-lib.cm is stable] [library $/pgraph.cm is stable] [library $smlnj/internal/srcpath-lib.cm is stable] [library $SMLNJ-BASIS/basis.cm is stable] [autoloading done] [scanning pi.cm] ... 36 lines skipped ... [library $smlnj/viscomp/parser.cm is stable] [library $smlnj/MLRISC/IA32.cm is stable] [library $SMLNJ-MLRISC/IA32.cm is stable] Error: Compiler bug: UnpickMod: stub lookup failed for environment in $SMLNJ-MLRISC/IA32.cm@567332(../x86/c-calls/ia32-svid.sml): m = (8, functor IA32SVID_CCalls), i = <moduleId> uncaught exception Error raised at: ../compiler/Basics/errormsg/errormsg.sml:52.14-52.19 ../cm/util/safeio.sml:41.55 ../cm/parse/parse.sml:502.47 - Best Regards, 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 Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
|
|
Re: Difficulty installing 110.69 on 64 and 32 bit Intel PCsUnfortunately, this problem is one that we know about, but have not been
able to figure out. If try 110.67, you should be able to avoid it. - John On Mar 24, 2009, at 5:04 PM, Roger Price wrote: > On Tue, 24 Mar 2009, John Reppy wrote: >> 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. > > Hello John, I installed openSUSE packages glibc-devel-32bit which > contains stubs-32.h and gcc-32bit the 32 bit compiler. The SML/NJ > installation went well, but when I tried to execute CM.make "pi.cm"; > I received an "Error: Compiler bug: UnpickMod: stub lookup failed > for environment" : > > rprice@glacon2:~/mytex/smlnj> sml > Standard ML of New Jersey v110.69 [built: Tue Mar 24 19:55:32 2009] > - CM.make "pi.cm"; > [autoloading] > [library $smlnj/cm/cm.cm is stable] > [library $smlnj/internal/cm-sig-lib.cm is stable] > [library $/pgraph.cm is stable] > [library $smlnj/internal/srcpath-lib.cm is stable] > [library $SMLNJ-BASIS/basis.cm is stable] > [autoloading done] > [scanning pi.cm] > ... 36 lines skipped ... > [library $smlnj/viscomp/parser.cm is stable] > [library $smlnj/MLRISC/IA32.cm is stable] > [library $SMLNJ-MLRISC/IA32.cm is stable] > Error: Compiler bug: UnpickMod: stub lookup failed for environment > in $SMLNJ-MLRISC/IA32.cm@567332(../x86/c-calls/ia32-svid.sml): m = > (8, functor IA32SVID_CCalls), i = <moduleId> > > uncaught exception Error > raised at: ../compiler/Basics/errormsg/errormsg.sml:52.14-52.19 > ../cm/util/safeio.sml:41.55 > ../cm/parse/parse.sml:502.47 > - > > Best Regards, > 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 > Smlnj-list@... > 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 _______________________________________________ Smlnj-list mailing list Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
|
|
Re: Difficulty installing 110.69 on 64 and 32 bit Intel PCsI tried 110.67: on a 64 bit system with openSUSE 11.0 packages
glibc-devel-32bit, and gcc-32bit the 32 bit compiler, all went well. :-) Thanks, Roger On Tue, 24 Mar 2009, John Reppy wrote: > Unfortunately, this problem is one that we know about, but have not been > able to figure out. If try 110.67, you should be able to avoid it. > > - John ------------------------------------------------------------------------------ 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 Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
|
|
Portability (NetBSD and FreeBSD) Re: Difficulty installing 110.69 on 64 and 32 bit Intel PCsJohn Reppy <jhr@...> writes:
> 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. While at building problems, could you review patches from pkgsrc package at http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/smlnj-current/patches/ ? In particular: http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-ac?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-ad?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-ae?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-af?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-ao?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-ap?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-aq?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-au?view=markup http://pkgsrc-wip.cvs.sourceforge.net/viewvc/pkgsrc-wip/wip/smlnj-current/patches/patch-av?view=markup Files patch-a[cdefopquv] just in case you prefer CVS access. Most of patches come from other people, but I'll try to provide information on what happens there. -- BECHA... CKOPO CE3OH... ------------------------------------------------------------------------------ _______________________________________________ Smlnj-list mailing list Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
| Free embeddable forum powered by Nabble | Forum Help |