Ticket #1964 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

Can not configure rTorrent

Reported by: pyflo@pyflo.com Owned by: rakshasa
Priority: high Component: rtorrent
Version: Severity: normal
Keywords: Cc:

Description

When trying to configure rTorrent it fails with XMLRPC-C error: configure: error: Could not compile XMLRPC-C test.

I have complied: curl-7.19.7 + cares

XMLRPC-C is latest from SVN trunk Funny how this has occured when upgrading to the latest version 0.8.6 after whole day of trying to make rTorrent work.

Change History

Changed 2 years ago by anonymous

Just a check, did you compile with 'configure --with-xmlrpc-c' ?

Changed 2 years ago by anonymous

The test in configure tries to run xmlrpc-c-config in the defaultpath. If you have it installed somewhere non default you need to specify a path for xmlrpc, like 'configure --with-xmlrpc-c=PATH' you can specify a location.

Changed 2 years ago by anonymous

Check config.log for further details and specify them so someone can figure out what the cause of not being able to compile the small xmlrpc source is. This entry is a little low on information.

Changed 2 years ago by pyflo@pyflo.com

[root@atom rtorrent]# ./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config .... checking for XMLRPC-C... failed configure: error: Could not compile XMLRPC-C test.

 http://pastebin.com/m5d75e5ab

Changed 2 years ago by rakshasa

  • status changed from new to closed
  • resolution set to invalid

Can't see anything wrong here.

Changed 2 years ago by pyflo@pyflo.com

Unfortunate.

Changed 2 years ago by anonymous

I am not an expert in this, but the error seems to indicate that you have a libcurl problem :

#/usr/local/lib/libcurl.so: undefined reference to `ares_library_init' #/usr/local/lib/libcurl.so: undefined reference to `ares_library_cleanup'

Probably referenced in the xmlrpc libraries.

Changed 2 years ago by anonymous

Yes, it looks like libcurl needs to be linked against libcares, but "pkg-config --libs libcurl" does not indicate this.

That can mean that you have multiple libcurl.pc versions, or that it's simply not installed correctly. Fix your libcurl installation, then try again.

Note: See TracTickets for help on using tickets.