Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Mozart and OZ in opensuse 13.1

$
0
0
Has anyone had any success with running Mozart for OZ? I am taking a course on edX and it involves using Mozart but I cannot get it to work for me. I tried it in an Ubuntu VM (their instructions are for Ubuntu) and it works fine so I am guessing my issue comes from something to do with tk version in opensuse. Here is the error I get when I try to run code.

http://paste.opensuse.org/view/raw/59263837

And just for clarity here are the instructions they provided (not sure if you can see the images, you might need to be logged in, they are not important either way):
Code:

Linux


Needed: tcl/tk, emacs and Mozart 2.

The  first command install tk-dev, more precisely the last stable version of  tk-dev. We do not guarantee that another version of tk-dev will work  with Mozart in the future. The command is:
sudo apt-get install tk-dev

If  a newer version of the package is installed, and this newer version is  not compatible with Mozart, you can try these two commands:
sudo apt-get uninstall tk-dev
sudo apt-get install tk8.5-dev

The installation procedure of tk-dev should be like this:
https://studio.edx.org/c4x/LouvainX/Louv1.01x/asset/linux_install_tk-dv_1.png
https://studio.edx.org/c4x/LouvainX/Louv1.01x/asset/linux_install_tk-dv_2.png
https://studio.edx.org/c4x/LouvainX/Louv1.01x/asset/linux_install_tk-dv_3.png

sudo apt-get install emacs
https://studio.edx.org/c4x/LouvainX/Louv1.01x/asset/linux_install_emacs_1.png
https://studio.edx.org/c4x/LouvainX/Louv1.01x/asset/linux_install_emacs_2.png
https://studio.edx.org/c4x/LouvainX/Louv1.01x/asset/linux_install_emacs_3.png


Get the last Mozart 2 build for your system: Builds on SourceForge.
Note:  If you run a 32 bits system, you have to look for the corresponding  build in the list and not simply click on the first link.

Unzip the  downloaded file, rename it "mozart" (this will simplify the other  steps) and change the PATH variable to add the Mozart path.
In order to do that, open the file ~/.bashrc and add, at the end of the file, the line: 
export PATH=YOUR_PATH_TO_THE_MOZART_FOLDER/mozart/bin:$PATH

https://studio.edx.org/c4x/LouvainX/...x_bashrc_1.png
https://studio.edx.org/c4x/LouvainX/...x_bashrc_2.png


In nano, type ctrl+o ("ctrl" and "o" pressed at the same time) to save, and then ctrl+x to quit.
You can now run the mozart OPI using the simple command: $oz




Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>