From: David B. <dav...@gm...> - 2010-09-01 13:06:27
|
Hi Haris, On Tue, Aug 31, 2010 at 10:12 PM, blucalvin <blu...@gm...> wrote: > However, a > small issue I had last time has still not been fixed. It is that the audio > isn't working. > > The following is the error message that came: > > { > haris@lorien:~/Desktop/tuxmath/build/src$ tuxmath Why are you running this from the src directory? If you have done "sudo make install", you should be able to just type "tuxmath" from any location and it should work. > Error: I couldn't load a music file: > /usr/local/share/tuxmath/sounds/game.mod Does that file exist? I see below that at least the directory /usr/local/share/tuxmath/sound exists, so I think you have run "sudo make install". > The Simple DirectMedia error that occured was: > Unrecognized music format Maybe you don't have all the needed libraries. > And there is no sound while the game is working. Maybe the installation got > screwed up. Suppose if I wish to reinstall, how can I uninstall tuxmath? > Will it be enough to delete the temporary "build" directory? If you run "sudo make uninstall" from the build dir, it will remove every file installed by "sudo make install" > There are files and folders in /usr/local/bin from where I can run tuxmath. > > { > haris@lorien:/usr/local/bin$ ls > autopoint gettextize msgcmp msgexec msginit ngettext > tuxmathserver xmlcatalog > envsubst gettext.sh msgcomm msgfilter msgmerge recode-sr-latin > tuxmathtestclient xmllint > generate_lesson msgattrib msgconv msgfmt msgunfmt tuxmath > xgettext > gettext msgcat msgen msggrep msguniq tuxmathadmin > xml2-config > } It looks like you installed a lot of the tools locally with "./configure; make; sudo make install" (because they are in /usr/local/bin rather than /usr/bin), rather than with apt-get. I would strongly suggest using the versions from your package manager as much as possible, as it is less error-prone. The one exception is that you need gettext-0.18, which is not yet in Ubuntu, but I mentioned earlier how you can add it to your system. Packages added to your system via the package manager can be easily updated automatically as new versions become available. hth, David |