Re: compiling smlnj
"Jon Riehl" <jriehl-M+oNUZ/[email protected]> Mon, 1 Dec 2008 17:30:07 -0600
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
(Whoops, didn't send this to the list...)
This is a problem with a library in the 110.68 distribution. Matthias
Blume was able to work around this by rebuilding everything. From an
email he CC'ed me:
- download and untar all the source tarballs
- then (after doing config/install.sh once) go to base/system
- then run ./fixpt
- then get rid of all the sml*.{bin,boot}.* directories except the
"last" one (in my case sml1.{bin,boot}.x86-unix)
- then rename these "last" directories back to sml.{bin,boot}.x86-unix
- then run ./makeml
- then run rm -r ../../lib/* ../../bin/.heap/*
- then run ./installml
- then cd back to ../..
- then run (again) config/install.sh
I'll make sure this is fixed in the 110.69 distribution. Hope this helps.
Thanks,
-Jon
On Sun, Nov 30, 2008 at 9:12 PM, brian <briand-/[email protected]> wrote:
> So in my attempt to mod sml -nj I had a few problems, so I downloaded
> 110.68 and started from scratch.
> I modified Unix/os-path.sml and re-compiled.
>
> Now I get the following error, and I think this only occurs for nl-
> ffi, but I'm no positive.
>
> library $c/internals/c-int.cm is stable]
> Error: Compiler bug: UnpickMod: stub lookup failed
> /usr/local/smlnj/bin/sml: Fatal error -- Uncaught exception Error with 0
>
>
> Naturally I'm going to start over, however I'm wondering if someone
> might have a clue as to what went wrong with the build process that I
> would get this error.
>
> Thanks.
>
> Brian
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/