Help With Autoconf In Debian


Recommended Posts

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# autoconf
configure.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_HEADER
configure.ac:19: error: possibly undefined macro: AC_DISABLE_STATIC
configure.ac:21: error: possibly undefined macro: AM_DISABLE_STATIC
configure.ac:22: error: possibly undefined macro: AM_PROG_LIBTOOL

Any ideas on how to fix this?

Link to post
Share on other sites

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 by Sir_Siddy
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.