First, install emacs and libc6-i386
sudo apt-get install emacs libc6-i386
Then download the binary tarball from the mozart website, and decompress it in /usr/local:
You can now setup you PATH so that the oz executable is found immediately:
echo 'PATH=$PATH:/usr/local/mozart/bin' >> ~/.profile
. ~/.profile
And here comes something I didn't find on the net: you should call the oz exectuable by telling it it's running on another architecture (see man setarch). That is done here by prepending the oz command by linux32:
linux32 oz
You can of course ease this by creating an alias:
echo 'alias oz="linux32 oz"' >> ~/.bash_aliases
. ~/.bash_aliases
Now you show be able to start oz and Browse some data.
There's also a directory /usr/local/mozart/lib and you might need to add it to /etc/ld.so.conf , but that was not needed for me, but I'm still a beginner in Mozart :-)
9 comments:
thanks for the 'linux32' trick... that's what I was missing!
thanks a lot
Parfait
Thank you very much! :)
This was incredibly helpful. Thank you for posting this!
Awesome!!! Maybe a link to this should be on the project page for Oz where it talks about making it 64 bit clean. I am trying to learn it as it seems to have the most potential of any language out there to take the world by storm, yet I am worried because it seems to be dying.
I think the main problems are the IDE being tied to Emacs which increases the learning curve to most people, and the fact most people use 64 bit computers nowadays. Not having a 64 bit version is really killing Oz. It makes it look dead.
I wish I were qualified to do something about it as Oz seems to be the language I've always wanted.
Thanks man, now I can finally start working on learning "Concepts, Techniques, and Models of Computer Programming"
Man!!!!! Thanks a lot!!! This should be on the mozart tutorial!
thank you very much man !!!! god bless you
Post a Comment