From: blucalvin <blu...@gm...> - 2010-08-25 10:13:13
|
Bingo!!! I finally got it. It worked fine just like Bruce said! I had to run autoreconf twice from within the build directory (however, I did not use "-if", but only "-i"). During the make process, some things were missing like SDL_mixer, pango, etc. I installed them one by one from the tar balls and it finally got made. But the command 'tuxmath' Bruce mentioned in the last mail was not in the build directory. It was inside 'src' in the build directory. I ran it as follows: { haris@lorien:~/Desktop/tuxmath/build/src$ tuxmath Error: I couldn't load a music file: /usr/local/share/tuxmath/sounds/game.mod The Simple DirectMedia error that occured was: Unrecognized music format Could not load sound file - attempting to proceed without sound. } And there was no sound. What have I missed? Thanks, Haris. PS: What is the "commonification" branch that Bruce mentioned? I could not understand it. On 25 August 2010 01:39, David Bruce <dav...@gm...> wrote: > Hi Haris, > > > > configure.ac:117: error: possibly undefined macro: AC_CHECK_LIB > > If this token and others are legitimate, please use > m4_pattern_allow. > > That looks like the bug I thought I had fixed. I looked in the git > repo just now, and it appears that it is fixed in the > "commonification" branch but not in the "master branch". Anyway, it > just means you have to run autoreconf twice. > > So, here is exactly what you can do (from within the build directory). > Don't actually type in the comments I have put in parentheses below. > > haris@lorien:~/Desktop/tuxmath/build$ autoreconf -if .. (the ".." is > the path to where configure.ac is) > haris@lorien:~/Desktop/tuxmath/build$ autoreconf -if .. (because of > the AC_CHECK_LIB bug that isn't fixed in master) > haris@lorien:~/Desktop/tuxmath/build$ ../configure (because the > configure script is in the parent directory) > haris@lorien:~/Desktop/tuxmath/build$ make > haris@lorien:~/Desktop/tuxmath/build$ sudo make install > haris@lorien:~/Desktop/tuxmath/build$ tuxmath > > This really ought to work. Remember that the current tuxmath requires > gettext-0.18 for the autoreconf stage, as I mentioned earlier. > > Also, our "real" current build is the "commonification" branch, which > is about to become the new master. To build it, everything is exactly > the same, except that you first have to build and install our new > t4kcommon library (which also supports both cmake and autotools > builds). > > Hope this helps, and thanks for being so persistent with this. Keep > letting us know if you have any problems. > > Best, > > David > |