Hi,

Thanks for the tips, but it still doesn't work, when using
./configure --with-xmlrpc-c=/usr/local/include/xmlrpc-c

However, the output is slightly different from before:

configure:17942: checking for XMLRPC-C
configure:18029: result: failed
configure:18031: error: Could not compile XMLRPC-C test.

The reason I installed xmlrpc-c from SVN was that I was under the
impression the version in Ubuntu's repositories (1.06.27) was
outdated. But after all, I did manage to install it, and could run the
xmlrpc_sample_add_server&client scripts.


Arnt Jørgen


2010/2/24 rarbox <i...@rarbox.com>:
> You need to point it to the header files, not the binaries. Those'll be
> located in /usr/include/xmlrpc-c
>
> The easiest way though is to just install it from apt. apt-get install
> libxmlrpc-c3-dev and then compile rtorrent.
>
> On 02/25/2010 01:46 AM, Arnt Jørgen Lande wrote:
>
> Hi,
>
> I am having trouble compiling rtorrent 0.8.6. My goal is to install
> wTorrent, and so I am largely following the guide at
> http://www.wtorrent-project.org/trac/wiki/wTorrentInstall
>
> I am compiling/installing on a SheevaPlug running Ubuntu 9.04 for ARM
> architecture.
>
> I installed and compiled xmlrpc-c from SVN (version 1.16.25) without
> errors, and I could run the test script included successfully.
> I also successfully installed libtorrent.
>
> But it's on the ./configure --with-xmlrpc-c that it fails:
>
> checking for XMLRPC-C... failed
> configure: error: Could not compile XMLRPC-C test.
> (see excerpt from config.log at the bottom)
>
> I read other people have had this error, but I haven't found any
> solution that works. I've tried
> which xmlrpc-c-config
> /usr/local/bin/xmlrpc-c-config
>
> Then ./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config, but
> same result.
>
> I would be very thankful for any suggestions on how to proceed.
>
> Thanks,
> Arnt Jørgen
>
>
> Excerpt from config.log:
> ---------------------------------------
> configure:17942: checking for XMLRPC-C
> configure:17986: g++ -o conftest -g -O2 -g -DDEBUG
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include     -I
> /usr/local/include   -I/usr/local/include    conftest.cpp -lncursesw
> -lsigc-2.0   -lcurl   -L/usr/local/lib -lto
> rrent   -L/usr/local/lib   -lxmlrpc_server -lxmlrpc -lxmlrpc_util
> -lxmlrpc_xmlparse -lxmlrpc_xmltok  >&5
> /usr/bin/ld: conftest: hidden symbol `__sync_add_and_fetch_4' in
> /usr/lib/gcc/arm-linux-gnueabi/4.3.3/libgcc.a(li
> nux-atomic.o) is referenced by DSO
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> configure:17993: $? = 1
> configure: failed program was:
> (...)
> ------------------------------
> ---------
> _______________________________________________
> Libtorrent-devel mailing list
> Libtorrent-devel@rakshasa.no
> http://rakshasa.no/mailman/listinfo/libtorrent-devel
>
>
>
_______________________________________________
Libtorrent-devel mailing list
Libtorrent-devel@rakshasa.no
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to