From: David B. <dav...@gm...> - 2010-09-01 16:00:16
|
Hi, On Wed, Sep 1, 2010 at 10:30 AM, blucalvin <blu...@gm...> wrote: > Hi, > > It was my mistake that I didn't know that tuxmath could be run from anywhere > once installed. As long as the installation location is in your $PATH, and /usr/local/bin and /usr/bin should both be in it. >> > I have run "sudo make install". But still the music isn't playing. > >> >> > The Simple DirectMedia error that occured was: >> > Unrecognized music format >> >> >Maybe you don't have all the needed libraries. > > Which libraries' absence might be causing it? I think libmikmod (see my other message). >> > I tried "sudo make uninstall" from the build directory. The command > "tuxmath" works no more. But the files in /usr/local/share/tuxmath are still > there. The fonts, sounds, etc. That shouldn't be the case - all the files installed by "make install" should be removed by "make uninstall" - if not, that is a bug. Are the files themselves there, or just empty directories? IIRC, sometimes "make uninstall" leaves some empty directories behind. > I first tried "apt-getting". But it said "Couldn't find packages". That's > why I build the required ones from source. You need to specify the exact name of the packages you need, and you need to install the "*-dev" versions of the packages so that you get the headers as well as the executable lib code. The way to do this is to first search with apt-cache, find the exact package names, and then install them with apt-get. Ubuntu definitely has everything you need (apart from gettext-0.18, as noted elsewhere). > Will sudo make uninstall, uninstall the packages I > installed from source? But unlike the "build" directory in tuxmath, this has > got no "build" directory. So from where can I run sudo make uninstall if > that's the way to do it? You run it from wherever you ran "sudo make install" for that package, i.e. the top-level package directory if you didn't make a separate build directory. David |