Sir_Siddy Posted September 29, 2007 Report Share Posted September 29, 2007 Im trying to compile a program and I needed to run autoconf on a configure.ac file. When I ran the program, I received this error linuxrig:/home/sid/svn/libtorrent# autoconfconfigure.ac:17: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.configure.ac:18: error: possibly undefined macro: AM_CONFIG_HEADERconfigure.ac:19: error: possibly undefined macro: AC_DISABLE_STATICconfigure.ac:21: error: possibly undefined macro: AM_DISABLE_STATICconfigure.ac:22: error: possibly undefined macro: AM_PROG_LIBTOOLAny ideas on how to fix this? Quote Link to post Share on other sites
iccaros Posted September 29, 2007 Report Share Posted September 29, 2007 did you install M4? http://www.gnu.org/software/m4/m4.htmland if so then what program are you trying to build? Quote Link to post Share on other sites
Sir_Siddy Posted September 29, 2007 Author Report Share Posted September 29, 2007 (edited) I am trying to build libtorrent and rtorrent with a patch so that DHT can be used. I used aptitude to install autoconf so wouldnt M4 have been installed with it if it was necessary?edit: Well i downloaded the lastest version of m4 through cvs, but it needs autoconf to get the configure file.so...that sorta leaves me stuck lol.edit again: How can I check if M4 is already installed or not? I think it may be. Edited September 29, 2007 by Sir_Siddy Quote Link to post Share on other sites
hitest Posted September 29, 2007 Report Share Posted September 29, 2007 How can I check if M4 is already installed or not? I think it may be.If you know the name of the application you could try this command at a terminal prompt.whereis applicationname Quote Link to post Share on other sites
Sir_Siddy Posted September 29, 2007 Author Report Share Posted September 29, 2007 (edited) Yeah, I have m4 installedHow do you configure autoconf? Edited September 29, 2007 by Sir_Siddy Quote Link to post Share on other sites
jcl Posted September 30, 2007 Report Share Posted September 30, 2007 Did you do whole$ aclocal -I m4$ autoheader$ libtoolize --copy --force$ automake --add-missing --copy --gnu$ autoconfsequence? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.