[Solved]rtorrent compile failure on xmlrpc-c test in ./configure

das329717

Member
May 25, 2018
928
0
16
Hey all,
I've been trying to reinstall rutorrent after switching distros on my server, and I've hit an impass with the compilation of rtorrent. When I run ./configure with the "--with-xmlrpc-c" switch (with or without a path specified) it dies when it gets to compiling the xmlrpc-c test like so:
Code:
checking pkg-config is at least version 0.9.0... yes
checking for sigc... yes
checking for libcurl... yes
checking for libtorrent... yes
checking for XMLRPC-C... failed
configure: error: Could not compile XMLRPC-C test.The person maintaining rtorrent seems to just shoot down anyone who tries to ask about this without explanation and all the guides never seem to have problems with this or if they do no one answers the posts that ask.

I'm running Slackware64 13.37 with libtorrent 0.12.9, xmlrpc-c r1964, and trying to compile rtorrent 0.8.9
Any help would be greatly appreciated.
 

das329717

Member
May 25, 2018
928
0
16
Sorry I lost track of what version of xmlrpc-c i was using. The SBO package has a dead link to the source so i downloaded the stable version of xmlrpc direct from the project. Then I went out to do yard work and completely forgot that I had edited the SlackBuild script to use the stable version tongue.gif
It returns:
Code:
# xmlrpc-c-config --version
1.25.12
 

das329717

Member
May 25, 2018
928
0
16
note to self ... never install software outside of my distro's package format ...
i installed the trunck version of libtorrent at some point and it didn't agree with anything apparently :/
removed the files installed by the manual install and did a sbopkg -i libtorrent and everything is happy now.
steps to success on slackware64 13.37:
1) install everything but rtorrent with sbopkg or from slackbulds.org slackbulds using the specified versions
2) grab the bits needed for the rtorrent slackbuild and modify the slackbuild to have the "--with-xmlrpc-c=/usr/bin/xmlrpc-c-config" option for ./configure
3) sudo ./rtorrent.SlackBuild
4) sudo installpkg /tmp/rtorrent-*.t?z