I am trying to compile the latest stable versions of libtorrent (0.13.8) and rtorrent (0.9.8). I don’t have much experience compiling, but I follow the instructions in the INSTALL file. I run ‘autoconf’ to build the ‘configure’ file, and I get this error:
configure.ac:4: error: possibly undefined macro: AC_CONFIG_MACRO_DIRS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE
‘configure’ file is generated but when executing it I get this error:
./configure: line 2069: syntax error near unexpected token `scripts'
./configure: line 2069: `AC_CONFIG_MACRO_DIRS(scripts)'
It happens with libtorrent and with rtorrent. I don’t know if I installed all the packages needed to compile or should I do something else.
It was a long time since I did a own compile of tTorrent. Been using the .Deb package, but i did notice that the user running rtorrent needs two things in their home folder. .rtorrentrc and a folder named .rtorrentsession. I’m mobile right now and can’t check correct spelling/caps.
I’ve never build a .deb package personally, but if i was building a newer version of something that has a deb package, I would look at that .deb package that is in the distro, like untar it’s content and play around to see if there was just (which I doubt), replace the files? To get an idea how it’s supposed to work, else I bet there are more then a handful tutorials on google how to build your own .deb package.