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, Oct 07, 2017 at 10:42:45PM +0200, Rhialto wrote:
> On Sat 07 Oct 2017 at 22:35:51 +0200, Rhialto wrote:
> > net/rtorrent default option xmlrpc option fails.
> > When configuring, I get this:
> 
> When disabling the option, the build still fails:
> 
> /bin/sh ../libtool  --tag=CXX   --mode=link c++  -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include/krb5 -g -DDEBUG  -pthread   -I/usr/pkg/include  -I/usr/pkg/include   -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a  -lncurses  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lcurl  -L/usr/pkg/lib -ltorrent 
> libtool: link: c++ -O2 -D_FORTIFY_SOURCE=2 -I/pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/include/ncurses -I/pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/include -I/usr/include/krb5 -g -DDEBUG -pthread -pthread -Wl,-rpath -Wl,/usr/pkg/lib -o rtorrent main.o -Wl,-rpath -Wl,/usr/pkg/lib  -L/pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/lib libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncurses -L../lib -lcurl -lidn2 -lintl -lc -lunistring -lssl -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lasn1 -lwind -lheimbase -lroken -lcrypt -ltorrent -lcrypto -lz -pthread -Wl,-rpath,/pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/lib -Wl,-rpath,/pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/lib
> /pkg_comp/obj/pkgsrc/net/rtorrent/default/.buildlink/lib/libtorrent.so: undefined reference to `torrent::request_list_constants::bucket_count'
> gmake[3]: *** [Makefile:537: rtorrent] Error 1
> gmake[3]: Leaving directory '/pkg_comp/obj/pkgsrc/net/rtorrent/default/rtorrent-0.9.6/src'
> gmake[2]: *** [Makefile:602: all-recursive] Error 1
> gmake[2]: Leaving directory '/pkg_comp/obj/pkgsrc/net/rtorrent/default/rtorrent-0.9.6/src'
> gmake[1]: *** [Makefile:438: all-recursive] Error 1
> gmake[1]: Leaving directory '/pkg_comp/obj/pkgsrc/net/rtorrent/default/rtorrent-0.9.6'
> gmake: *** [Makefile:369: all] Error 2
> *** Error code 2
> 
> Stop.
> make[1]: stopped in /usr/pkgsrc/net/rtorrent
> *** Error code 1

Works for me. Perhaps it needs a newer libtorrent than you have installed?
 Thomas


Home | Main Index | Thread Index | Old Index