[OT-ish] Need a Binary for lang/sml-nj
Jimmy Olgeni
olgeni at olgeni.com
Sun Jan 27 23:37:19 UTC 2013
On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote:
> Possibly, I have the space (~18GB free on my /home partition, even more free
> on /). It's just a matter of me taking the time to work on setting either one
> up and I seem to be a perpetual "corner case" when it comes to software
> issues. Either way I have the package locally now (in distfiles, I assume) so
> it's just a matter of doing what's needed to get it working.
You may try this ugly emergency fix and see if SML starts at least in
a temporary jail.
In your home, or wherever you have some space available... (400MB should be fine)
Fetch some i386 binaries for 9.1 (or your favorite release)
mkdir 9.1-i386
fetch -o - ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.1-RELEASE/base.txz | tar -x -f - -C 9.1-i386
Copy the resolver configuration:
cp /etc/resolv.conf 9.1-i386/etc
Ensure that /usr/local is populated, just in case:
mtree -deU -f /usr/ports/Templates/BSD.local.dist -p 9.1-i386/usr/local
Add this to your /etc/jail.conf (replace my home directory with your own path)
sml {
name=sml;
host.hostname=sml;
ip4=inherit;
persist;
path=/home/olgeni/9.1-i386;
}
Create a jail for sml:
jail -c sml
Enter the jail:
jexec sml sh
Install SML from tbz package:
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz
Run SML and hopefully get a prompt:
sml
Standard ML of New Jersey, Version 110.0.7, September 28, 2000 [CM; autoload enabled]
-
I got one, so it seems to work :)
If SML starts this way then there is hope and you just need to clean
up the configuration a bit.
--
jimmy
More information about the freebsd-questions
mailing list