From: David B. <dav...@gm...> - 2010-08-24 12:47:07
|
Hi Haris, > myname@ubuntu:~/Desktop/tuxmath$ autoreconf --vif || autoreconf --vi > autoconf-wrapper: unrecognized option --vif > configure.ac:48: warning: macro `AM_GNU_GETTEXT_VERSION' not found in > library > configure.ac:51: warning: macro `AM_GNU_GETTEXT' not found in library > /usr/bin/autoreconf2.50: unrecognized option `--vif' > Try `/usr/bin/autoreconf2.50 --help' for more information. > autoconf-wrapper: unrecognized option --vi > /usr/bin/autoreconf2.50: unrecognized option `--vi' > Try `/usr/bin/autoreconf2.50 --help' for more information. > What am I still not getting right? I'm at work on a windows box right now, so I can't test it, but I think the problem with the above is an extra "-". To pass the short form of options to autoreconf, the single letter is prefixed by just "-", e.g.: autoreconf -vi The long form of the options uses "--", e.g.: autoreconf --verbose --install Normally, what I do is to build in a subdir called "build", to keep the tree clean, e.g.: (from e.g. /home/$USER/git/tuxmath, or wherever you have put your repo): mkdir build cd build autoreconf -i .. ../configure make sudo make install Two other things: 1. Until recently, there was a bug in configure.ac that caused autoreconf to fail, with an error message "Unrecognized macro: AC_CHECK_LIB", but if you just ran autoreconf a second time, everything worked. However that is fixed in the latest git sources. 2. We recently updated the version of gettext used by tuxmath to 0.18, which is not yet in any Ubuntu release (IIRC you are using Ubuntu). It will be the version included in "Maverick". However, it is quite easy to add it to your system by adding the PPA on this page: https://launchpad.net/~n-muench/+archive/gnu-programs There are some scary-sounding warnings about the package being "untrusted", but that is just because this is an unofficial source outside of the main Ubuntu system. Alternatively, you can just get the gettext-0.18 source directly from http://www.gnu.org/software/gettext/ and build it with "./configure; make; sudo make install". Hope that helps, David Bruce |