smlnj - oneric ocelot ?

Asked by JKith

Hi there,

Will smlnj be ever supported for oneric ocelot?

Since I upgraded my ubuntu from 11.04 to 11.10, I've been unable to install the program smlnj back.

I've tried

sudo apt-get update
sudo apt-get upgrade
followed by
sudo apt-get install smlnj

I'm getting "E: Unable to locate package smlnj"

I've also tried to install it manually by following the guide from http://www.smlnj.org/dist/working/110.73/NOTES/INSTALL but I keep getting "sml: unable to determine architecture/operating system" whenever I run config/install.sh

If none of the above is possible, is there a way to install smlnj (natty version) on my ubuntu 11.10?

Any help is appreciated
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu smlnj Edit question
Assignee:
No assignee Edit question
Solved by:
JKith
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

For 32bit:

wget http://launchpadlibrarian.net/48337000/smlnj_110.72-1_i386.deb; sudo dpkg -i ./smlnj_110.72-1_i386.deb; rm ./smlnj_110.72-1_i386.deb; sudo apt-get -f install

For 64bit:

wget http://launchpadlibrarian.net/48558006/smlnj_110.72-1_amd64.deb; sudo dpkg -i ./smlnj_110.72-1_amd64.deb; rm ./smlnj_110.72-1_amd64.deb; sudo apt-get -f install

Revision history for this message
JKith (jkith) said :
#2

I figured out my problem, I was getting
"sml: unable to determine architecture/operating system" all the time.

I had to modify the file /usr/lib/smlnj/bin/.arch-n-opsys manually to specify my os and architecture.

I'm not quiet sure why the switch cases wasn't working properly for me :o (Linux, i686)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

I suggest you report a bug with your fix

Glad you got the gold

Revision history for this message
Jesper R (jre) said :
#4

I have sent a bug report to sml/nj. The entire ".arch-n-opsys" file ought to be redone in a better way. Atleast for x86 and x86_64.

An easy way to fix this without downloading the above mentioned package, is to add a line with "3.0.*" after the line "2.6.*", under the case for "*86":

...
          2.6.*) ;;
          3.0.*) ;;
          *) exit 1 ;;
...