You are not logged in.

#1 2009-09-30 00:22:24

flako
Member
Registered: 2008-10-24
Posts: 56

[build fails] rtorrent-svn + xmlrpc-c-svn + w3c-libwww

I have been trying to set up rtorrent with the wtorrent webclient. For that I need rtorrent-svn which depends on xmlrpc-c-svn that depends on w3c-libwww , all this from the AUR. Unfortunately w3c-libwww fails to build and I get this error:

../src/.libs/libwwwfile.so: undefined reference to `HTDir_new'
../src/.libs/libwwwfile.so: undefined reference to `HTDir_addElement'
../src/.libs/libwwwfile.so: undefined reference to `HTDir_free'
collect2: ld returned 1 exit status
make[3]: *** [libapp_2] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-flako/aur-w3c-libwww/w3c-libwww/src/w3c-libwww-5.4.0/Library/Examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-flako/aur-w3c-libwww/w3c-libwww/src/w3c-libwww-5.4.0/Library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-flako/aur-w3c-libwww/w3c-libwww/src/w3c-libwww-5.4.0'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed.
    Aborting...

I tried compiling the w3c-libwww package myself, but when I then try to compile xmlrpc-c i get errors again. I don't know what I should do to get rtorrent with wtorrent working, any help would be appreciated...

Offline

#2 2009-09-30 07:07:08

Fletch
Member
From: Ukraine
Registered: 2007-09-03
Posts: 14

Re: [build fails] rtorrent-svn + xmlrpc-c-svn + w3c-libwww

I also get this message. Does anybody know how to fix it?

Offline

#3 2009-09-30 07:30:18

Fletch
Member
From: Ukraine
Registered: 2007-09-03
Posts: 14

Re: [build fails] rtorrent-svn + xmlrpc-c-svn + w3c-libwww

Solved!
Add into PKGBUILD this line:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
after this line:
./configure --prefix=/usr

Offline

#4 2009-09-30 08:23:59

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [build fails] rtorrent-svn + xmlrpc-c-svn + w3c-libwww

What is the difference to the libwww package in [community]? And why /usr/local/include? No package should be installed there.

Offline

#5 2009-09-30 10:02:38

flako
Member
Registered: 2008-10-24
Posts: 56

Re: [build fails] rtorrent-svn + xmlrpc-c-svn + w3c-libwww

Well, thanks, seems like it's working. Now I only need to set up wtorrent...

Offline

Board footer

Powered by FluxBB