pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: net/rtorrent default option xmlrpc option fails



On Sat 07 Oct 2017 at 23:46:38 +0200, Thomas Klausner wrote:
> Works for me. Perhaps it needs a newer libtorrent than you have installed?

Interesting. I forcibly remade libtorrent and it didn't help.
It also wasn't my added
CONFIGURE_ARGS+=	--enable-ipv6

I'm checking why the xmlrpc option didn't work for me in the first
place, and there I see to my surprise the same error in config.log:

configure:18003: checking for XMLRPC-C
configure:18037: c++ -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/include/ncurses -g -DDEBUG  -pthread   -I/usr/pkg/include  -I/usr/pkg/include  -I/usr/pkg/include  -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/include/ncurses -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.cpp  -lncurses  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcurl  -L/usr/pkg/lib -ltorrent  -L/usr/pkg/lib  -Wl,-rpath,/usr/pkg/lib  -lxmlrpc_server -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok  >&5
/pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/lib/libtorrent.so: undefined reference to `torrent::request_list_constants::bucket_count'
configure:18037: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rtorrent"
| #define PACKAGE_TARNAME "rtorrent"
| #define PACKAGE_VERSION "0.9.6"
| #define PACKAGE_STRING "rtorrent 0.9.6"
| #define PACKAGE_BUGREPORT "sundell.software%gmail.com@localhost"
| #define PACKAGE_URL ""
| #define API_VERSION 9
| #define PACKAGE "rtorrent"
| #define VERSION "0.9.6"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_TR1 1
| #define HAVE_CXX11 1
| #define RAK_USE_INET6 1
| #define USE_VARIABLE_FDSET 1
| #define HAVE_SYS_STATVFS_H 1
| #define FS_STAT_FD fstatvfs(fd, &m_stat) == 0
| #define FS_STAT_FN statvfs(fn, &m_stat) == 0
| #define FS_STAT_STRUCT struct statvfs
| #define FS_STAT_SIZE_TYPE unsigned long
| #define FS_STAT_COUNT_TYPE fsblkcnt_t
| #define FS_STAT_BLOCK_SIZE (m_stat.f_frsize)
| #define HAVE_PTHREAD 1
| #define HAVE_NCURSES 1
| #define HAVE_CURSES 1
| #define HAVE_CURSES_COLOR 1
| #define HAVE_CURSES_OBSOLETE 1
| #define HAVE_NCURSES_CURSES_H 1
| #define HAVE_CURSES_COLOR 1
| #define HAVE_CURSES_OBSOLETE 1
| #define HAVE_NCURSES_H 1
| /* end confdefs.h.  */
|  #include <xmlrpc-c/server.h>
| 
| int
| main ()
| {
|  xmlrpc_registry_new(NULL);
|   ;
|   return 0;
| }
configure:18044: result: failed
configure:18046: error: Could not compile XMLRPC-C test.

I'll have to look later at this.

>  Thomas
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index