* Thomas Burgess <[email protected]> [2010-02-14 21:40]: > I'm going nuts. I've been trying for a week to get rtorrent working > in opensolaris. I know it's possible becauuse i've seen others with > it. I want to get a newer version of rtorrent with xmlrpc-c running > so i can use it with one of the many web front ends. There is a spec > file for rtorrent but it's quite old. There is an rtorrent in sun > freeware but IT is also quite old, and lacks xmlrpc-c > > I've been able to get xmlrpc-c installed, i can get libtorrent to > build but rtorrent fails on a number of spots. I've found some > patches which are SUPPOSED to work with opensolaris and rtorrent > according to http://libtorrent.rakshasa.no/ticket/1935 > > I've tried many things and spent hours on google. So heres where i'm > at right now...if anyone can help me, this is my latest error: > > http://pastebin.com/f56215952 > > > I'm either looking for a solution to this error OR someone who knows > how to build rtorrent on opensolaris to help with some step by step > instructions. I'm totally lost. Building software on FreeBSD is a > lot different.
Looking at your build output, I see: g++ -I/usr/include/ncurses -g -DDEBUG -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/include/curl -I/usr/local/include -I/usr/local/include -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -o rtorrent command_download.o command_dynamic.o command_events.o command_file.o command_helpers.o command_local.o command_network.o command_object.o command_peer.o command_tracker.o command_scheduler.o command_ui.o control.o globals.o main.o option_parser.o signal_handler.o thread_base.o -L/usr/sfw/lib -L/usr/gnu/lib -L/usr/lib/ ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lcurses -L/usr/local/lib -lc -lcurl -lgss -lidn -lsocket -lnsl -lz -lssl /usr/local/lib/libtorrent.so -lcrypto /usr/local/lib/libsigc-2.0.so /usr/sfw/lib/libstdc++.so -lxmlrpc_server -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/ usr/sfw/lib -Wl,-R -Wl,/usr/gnu/lib ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple inclusion of file Undefined first referenced symbol in file resizeterm display/libsub_display.a(manager.o) wchgat display/libsub_display.a(window_input.o) wresize display/libsub_display.a(canvas.o) ld: fatal: symbol referencing errors. No output written to rtorrent collect2: ld returned 1 exit status I believe the problem is that the default curses library on Solaris is relatively old, and that most programs build against "ncurses". You might want to install pkg:/SUNWncurses and change the above g++ invocation to be "-R/usr/gnu/lib -L/usr/gnu/lib -lncurses" rather than "-lcurses". - Stephen -- [email protected] http://blogs.sun.com/sch/ _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
