From: David B. <dav...@gm...> - 2011-09-06 15:15:24
|
Hi Haris, > I installed t4k_common at the default location as I could not get the > above problem fixed. > > Then for installing tuxmath, I did "./configure > --prefix=~/tuxmath/builds/tuxmath?" > > The Makefile was generated and I followed it by "make" and "make install". > > Now in my ~/tuxmath/builds/tuxmath/ folder, I have 'bin' and 'share'. > Hope this has completed the installation. However, when I ran the > command "tuxmath" from my home folder, it said "The program tuxmath is > not installed". If you install binaries to non-standard locations, you have to add them to your $PATH. e.g. for a single login, do "PATH=$PATH:~/tuxmath/builds". To get it to work all time, you need to add it to your .bash_profile, e.g.: PATH=$PATH:~/tuxmath/builds export PATH This is pretty standard unix stuff, not really a tuxmath-specific issue. > I went to the folder ~/tuxmath/builds/tuxmath/bin and tried ./tuxmath > But then I got the following error: > > Initializing Tux4Kids-Common 0.1.1 > load_image(): ERROR could not load required graphics file menu/stop.svg > SDL: SDL_RWFromFile(): No file or no mode specified OK, this could be a bug in our code - t4k_common has a few data files in addition to the library code itself that get used by tuxmath, so it sounds like tuxmath can't find the above file. I'll have to try to reproduce your setup on my computer to figure out what is going on. Unless your goal is to help test non-standard install paths, I'd suggest just using the default prefix. Best, -- David Bruce For all your software needs, visit The Apt Store: deb http://ftp.us.debian.org/debian stable main |