1.0.0 Compiling errors

Support for Deluge on Apple Mac OS
sEbi86

1.0.0 Compiling errors

Post by sEbi86 »

Heres what ive done..
Any ideas?

Code: Select all

sudo port selfupdate
Password:

MacPorts base version 1.600 installed

Downloaded MacPorts base version 1.600

The MacPorts installation is not outdated and so was not updated
selfupdate done!
macbook-2:~ sEbi$ sudo port install python_select
--->  Fetching python_select
--->  Attempting to fetch select-0.1.tar.gz from http://svn.macports.org/repository/macports/contrib/select/
--->  Verifying checksum(s) for python_select
--->  Extracting python_select
--->  Configuring python_select
--->  Building python_select with target all
--->  Staging python_select into destroot
--->  Installing python_select 0.1_4+darwin_9
--->  Activating python_select 0.1_4+darwin_9
--->  Cleaning python_select
macbook-2:~ sEbi$ sudo python_select python25
Selecting version "python25" for python
macbook-2:~ sEbi$ sudo port install deluge
Portfile changed since last build; discarding previous state.
--->  Fetching py25-setuptools
--->  Attempting to fetch setuptools-0.6c8.tar.gz from http://cheeseshop.python.org/packages/source/s/setuptools/
--->  Verifying checksum(s) for py25-setuptools
--->  Extracting py25-setuptools
--->  Applying patches to py25-setuptools
--->  Configuring py25-setuptools
--->  Building py25-setuptools with target build
--->  Staging py25-setuptools into destroot
--->  Installing py25-setuptools 0.6c8_2
--->  Activating py25-setuptools 0.6c8_2
--->  Cleaning py25-setuptools
--->  Fetching deluge
--->  Attempting to fetch deluge-1.0.0.tar.gz from http://download.deluge-torrent.org/source/1.0.0/
--->  Verifying checksum(s) for deluge
--->  Extracting deluge
--->  Applying patches to deluge
--->  Configuring deluge
--->  Building deluge with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_deluge/work/deluge-1.0.0" && /opt/local/bin/python2.5 setup.py build " returned error 1
Command output: cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c ./libtorrent/bindings/python/src/torrent.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c ./libtorrent/bindings/python/src/torrent_handle.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_handle.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/bindings/python/src/torrent_handle.cpp: In function 'void bind_torrent_handle()':
./libtorrent/bindings/python/src/torrent_handle.cpp:251: warning: unused variable 'copy'
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c ./libtorrent/bindings/python/src/torrent_info.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_info.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
/opt/local/include/boost/python/object/pointer_holder.hpp: In constructor 'boost::python::objects::pointer_holder<Pointer, Value>::pointer_holder(PyObject*, A0) [with A0 = boost::python::objects::reference_to_value<const libtorrent::entry&>, Pointer = boost::intrusive_ptr<libtorrent::torrent_info>, Value = libtorrent::torrent_info]':
/opt/local/include/boost/python/object/make_holder.hpp:83:   instantiated from 'static void boost::python::objects::make_holder<1>::apply<Holder, ArgList>::execute(PyObject*, typename boost::mpl::deref<typename boost::mpl::begin<ArgList>::type>::type) [with Holder = boost::python::objects::pointer_holder<boost::intrusive_ptr<libtorrent::torrent_info>, libtorrent::torrent_info>, ArgList = boost::mpl::vector1<const libtorrent::entry&>]'
/opt/local/include/boost/python/detail/make_keyword_range_fn.hpp:64:   instantiated from 'boost::python::api::object boost::python::detail::make_keyword_range_constructor(const CallPolicies&, const boost::python::detail::keyword_range&, Holder*, ArgList*, Arity*) [with ArgList = boost::mpl::vector1<const libtorrent::entry&>, Arity = boost::mpl::size<boost::mpl::vector1<const libtorrent::entry&> >, Holder = boost::python::objects::pointer_holder<boost::intrusive_ptr<libtorrent::torrent_info>, libtorrent::torrent_info>, CallPolicies = boost::python::default_call_policies]'
/opt/local/include/boost/python/init.hpp:330:   instantiated from 'void boost::python::detail::def_init_aux(ClassT&, const Signature&, NArgs, const CallPoliciesT&, const char*, const boost::python::detail::keyword_range&) [with ClassT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, CallPoliciesT = boost::python::default_call_policies, Signature = boost::mpl::vector1<const libtorrent::entry&>, NArgs = boost::mpl::size<boost::mpl::vector1<const libtorrent::entry&> >]'
/opt/local/include/boost/python/init.hpp:399:   instantiated from 'static void boost::python::detail::define_class_init_helper<0>::apply(ClassT&, const CallPoliciesT&, const Signature&, NArgs, const char*, const boost::python::detail::keyword_range&) [with ClassT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, CallPoliciesT = boost::python::default_call_policies, Signature = boost::mpl::vector1<const libtorrent::entry&>, NArgs = boost::mpl::size<boost::mpl::vector1<const libtorrent::entry&> >]'
/opt/local/include/boost/python/init.hpp:171:   instantiated from 'void boost::python::init_base<DerivedT>::visit(classT&) const [with classT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, DerivedT = boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>]'
/opt/local/include/boost/python/def_visitor.hpp:31:   instantiated from 'static void boost::python::def_visitor_access::visit(const V&, classT&) [with V = boost::python::def_visitor<boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_> >, classT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>]'
/opt/local/include/boost/python/def_visitor.hpp:67:   instantiated from 'void boost::python::def_visitor<DerivedVisitor>::visit(classT&) const [with classT = boost::python::class_<libtorrent::torrent_info, boost::intrusive_ptr<libtorrent::torrent_info>, boost::python::detail::not_specified, boost::python::detail::not_specified>, DerivedVisitor = boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>]'
/opt/local/include/boost/python/class.hpp:225:   instantiated from 'boost::python::class_<T, X1, X2, X3>& boost::python::class_<T, X1, X2, X3>::def(const boost::python::def_visitor<Derived>&) [with Derived = boost::python::init<const libtorrent::entry&, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_, mpl_::void_>, W = libtorrent::torrent_info, X1 = boost::intrusive_ptr<libtorrent::torrent_info>, X2 = boost::python::detail::not_specified, X3 = boost::python::detail::not_specified]'
./libtorrent/bindings/python/src/torrent_info.cpp:74:   instantiated from here
/opt/local/include/boost/python/object/pointer_holder.hpp:179: warning: '__comp_ctor ' is deprecated (declared at ./libtorrent/include/libtorrent/torrent_info.hpp:131)
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c ./libtorrent/bindings/python/src/torrent_status.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_status.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c ./libtorrent/bindings/python/src/utility.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/utility.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/boost -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/opt/local/include/python2.5 -c ./libtorrent/bindings/python/src/version.cpp -o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/version.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
gcc -L/opt/local/lib -bundle -undefined dynamic_lookup -I/opt/local/include -I/opt/local/include/boost build/temp.macosx-10.3-i386-2.5/./libtorrent/src/alert.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/assert.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/broadcast_socket.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/bt_peer_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/connection_queue.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/create_torrent.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/disk_buffer_holder.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/disk_io_thread.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/entry.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/enum_net.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/error_code.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/escape_string.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/file.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/file_pool.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/file_storage.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/gzip.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_parser.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_stream.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/http_tracker_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/identify_client.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/instantiate_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/ip_filter.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/lazy_bdecode.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/logger.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/lsd.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/magnet_uri.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/memdebug.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/metadata_transfer.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/natpmp.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/parse_url.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/pe_crypto.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/peer_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/piece_picker.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/policy.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/session.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/session_impl.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/sha1.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/smart_ban.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/socks4_stream.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/socks5_stream.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/stat.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/storage.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/torrent.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/torrent_handle.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/torrent_info.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/tracker_manager.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/udp_socket.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/udp_tracker_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/upnp.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/ut_metadata.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/ut_pex.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/web_peer_connection.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/GeoIP.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/closest_nodes.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/dht_tracker.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/find_data.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/node.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/node_id.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/refresh.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/routing_table.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/rpc_manager.o build/temp.macosx-10.3-i386-2.5/./libtorrent/src/kademlia/traversal_algorithm.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/alert.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/big_number.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/converters.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/datetime.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/docstrings.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/entry.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/extensions.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/filesystem.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/fingerprint.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/ip_filter.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/module.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/peer_info.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/peer_plugin.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/session.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/session_settings.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_handle.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_info.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/torrent_status.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/utility.o build/temp.macosx-10.3-i386-2.5/./libtorrent/bindings/python/src/version.o -lboost_filesystem-mt -lboost_date_time-mt -lboost_iostreams-mt -lboost_python-mt -lboost_thread-mt -lpthread -lssl -lz -o build/lib.macosx-10.3-i386-2.5/deluge/libtorrent.so
ld: library not found for -lboost_python-mt
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Error: Status 1 encountered during processing.
zaxxon
New User
New User
Posts: 9
Joined: Thu Nov 01, 2007 10:13 am

Re: 1.0.0 Compiling errors

Post by zaxxon »

Hija.

Well, why don't you try

http://www.nabble.com/-16641:-boost_pyt ... 61815.html

"
If {{{port installed boost}}} doesn't show one of those variants
(+python25 actually, since deluge uses 2.5), I'd suggest removing boost,
then {{{sudo port install boost +python25}}} then see if that makes deluge
happy.
"
that's the crucial part to get deluge to compile.

BUT! (as always, there's a but)

http://dev.deluge-torrent.org/ticket/499

then we run into this. Does anyone have an idea how to speed this up????

What's funny : I didn't get this error when compiling from source by hand (also compiling boost etc. by hand). Then I could start at least the daemon, though the web-interface would croak.
sEbi86

Re: 1.0.0 Compiling errors

Post by sEbi86 »

thanks zaxxon, seemed to work, but as u said another error occurs.
heres my logfile, hope it helps:

Code: Select all

localhost:~ sEbi$ sudo port install deluge
--->  Building deluge with target build
--->  Staging deluge into destroot
--->  Installing deluge 1.0.0_0
--->  Activating deluge 1.0.0_0
--->  Cleaning deluge
localhost:~ sEbi$ deluge
[INFO    ] 14:23:18 main:93 Deluge ui 1.0.0
[DEBUG   ] 14:23:18 main:94 options: {'config': None, 'logfile': None, 'ui': None}
[DEBUG   ] 14:23:18 main:95 args: []
[DEBUG   ] 14:23:19 configmanager:44 ConfigManager started..
[INFO    ] 14:23:19 main:98 Starting ui..
[DEBUG   ] 14:23:19 ui:44 UI init..
[DEBUG   ] 14:23:19 configmanager:88 Getting config 'ui.conf'
[DEBUG   ] 14:23:19 config:47 Config created with filename: ui.conf
[DEBUG   ] 14:23:19 config:48 Config defaults: {'default_ui': 'gtk'}
[WARNING ] 14:23:19 config:84 IOError: Unable to load file '/Users/sEbi/.config/deluge/ui.conf'
[WARNING ] 14:23:19 config:104 IOError: Unable to open file: '/Users/sEbi/.config/deluge/ui.conf'
[INFO    ] 14:23:19 ui:60 Starting GtkUI..
[DEBUG   ] 14:23:31 client:54 CoreProxy init..
[DEBUG   ] 14:23:31 configmanager:69 get_config_dir: /Users/sEbi/.config/deluge
[DEBUG   ] 14:23:32 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:32 config:47 Config created with filename: gtkui.conf
[DEBUG   ] 14:23:32 config:48 Config defaults: {'autoadd_queued': False, 'close_to_tray': True, 'window_width': 640, 'default_load_path': None, 'window_y_pos': 0, 'classic_mode': True, 'window_pane_position': -1, 'enabled_plugins': [], 'show_connection_manager_on_start': True, 'show_statusbar': True, 'autoadd_enable': False, 'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'autoconnect_host_uri': None, 'window_maximized': False, 'enable_system_tray': True, 'show_sidebar': True, 'window_x_pos': 0, 'window_height': 480, 'lock_tray': False, 'connection_limit_list': [50, 100, 200, 300, 500], 'tray_password': '', 'focus_add_dialog': True, 'show_new_releases': True, 'start_in_tray': False, 'autoconnect': False, 'choose_directory_dialog_path': '/Users/sEbi', 'check_new_releases': True, 'autostart_localhost': False, 'show_toolbar': True, 'autoadd_location': '', 'config_location': '/Users/sEbi/.config/deluge', 'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0], 'interactive_add': True, 'signal_port': 40000}
[WARNING ] 14:23:32 config:84 IOError: Unable to load file '/Users/sEbi/.config/deluge/gtkui.conf'
[WARNING ] 14:23:32 config:104 IOError: Unable to open file: '/Users/sEbi/.config/deluge/gtkui.conf'
1.0.0
[DEBUG   ] 14:23:32 gtkui:165 retcode: 0
[DEBUG   ] 14:23:32 component:102 Registered QueuedTorrents with ComponentRegistry..
[DEBUG   ] 14:23:32 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:33 component:102 Registered IPCInterface with ComponentRegistry..
[DEBUG   ] 14:23:33 component:102 Registered DbusInterface with ComponentRegistry..
[WARNING ] 14:23:36 ipcinterface:69 Unable to start DBUS component: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /tmp/dbus-zz23G4Ylm6: No such file or directory
[DEBUG   ] 14:23:36 component:102 Registered MainWindow with ComponentRegistry..
[DEBUG   ] 14:23:36 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:37 mainwindow:84 Showing window
[DEBUG   ] 14:23:38 config:117 Setting 'window_pane_position' to 94 of <type 'int'>
[DEBUG   ] 14:23:38 menubar:49 MenuBar init..
[DEBUG   ] 14:23:38 component:102 Registered MenuBar with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 component:102 Registered ToolBar with ComponentRegistry..
[DEBUG   ] 14:23:38 toolbar:48 ToolBar Init..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
/opt/local/lib/python2.5/site-packages/deluge/ui/gtkui/toolbar.py:77: GtkWarning: gtk_menu_attach_to_widget(): menu already attached to GtkImageMenuItem
  component.get("MenuBar").torrentmenu_glade.get_widget("remove_torrent_menu"))
[DEBUG   ] 14:23:38 component:102 Registered TorrentView with ComponentRegistry..
[DEBUG   ] 14:23:38 listview:124 ListView initialized..
[DEBUG   ] 14:23:38 torrentview:110 TorrentView Init..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 listview:193 Loading ListView state file: torrentview.state
[WARNING ] 14:23:38 listview:198 Unable to load state file: [Errno 2] No such file or directory: '/Users/sEbi/.config/deluge/torrentview.state'
[DEBUG   ] 14:23:38 component:102 Registered TorrentDetails with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 torrentdetails:384 Loading TorrentDetails state file: tabs.state
[WARNING ] 14:23:38 torrentdetails:389 Unable to load state file: [Errno 2] No such file or directory: '/Users/sEbi/.config/deluge/tabs.state'
[DEBUG   ] 14:23:38 torrentdetails:65 parent: None
[DEBUG   ] 14:23:38 torrentdetails:65 parent: None
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 files_tab:216 Loading FilesTab state file: files_tab.state
[WARNING ] 14:23:38 files_tab:221 Unable to load state file: [Errno 2] No such file or directory: '/Users/sEbi/.config/deluge/files_tab.state'
[DEBUG   ] 14:23:38 torrentdetails:65 parent: None
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 peers_tab:176 Loading PeersTab state file: peers_tab.state
[WARNING ] 14:23:38 peers_tab:181 Unable to load state file: [Errno 2] No such file or directory: '/Users/sEbi/.config/deluge/peers_tab.state'
[DEBUG   ] 14:23:38 torrentdetails:65 parent: None
[DEBUG   ] 14:23:38 torrentdetails:65 parent: None
[DEBUG   ] 14:23:38 component:102 Registered SideBar with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 component:102 Registered Preferences with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 component:102 Registered SystemTray with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 config:158 Registering function for enable_system_tray key..
[DEBUG   ] 14:23:38 systemtray:76 Enabling the system tray icon..
[DEBUG   ] 14:23:38 component:102 Registered StatusBar with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 component:102 Registered AddTorrentDialog with ComponentRegistry..
[DEBUG   ] 14:23:38 component:102 Registered Signals with ComponentRegistry..
[DEBUG   ] 14:23:38 signalreceiver:52 SignalReceiver init..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 config:117 Setting 'signal_port' to 57486 of <type 'int'>
[DEBUG   ] 14:23:38 coreconfig:40 CoreConfig init..
[DEBUG   ] 14:23:38 component:102 Registered CoreConfig with ComponentRegistry..
[DEBUG   ] 14:23:38 component:102 Registered PluginManager with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 pluginmanagerbase:48 Plugin manager init..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
[DEBUG   ] 14:23:38 configmanager:69 get_config_dir: /Users/sEbi/.config/deluge
[DEBUG   ] 14:23:38 pluginmanagerbase:95 Found plugin: Blocklist 1.0
[DEBUG   ] 14:23:38 pluginmanagerbase:95 Found plugin: Label 0.1
[DEBUG   ] 14:23:38 component:102 Registered ConnectionManager with ComponentRegistry..
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'hostlist.conf'
[DEBUG   ] 14:23:38 config:47 Config created with filename: hostlist.conf
[DEBUG   ] 14:23:38 config:48 Config defaults: {'hosts': ['localhost:58846']}
[WARNING ] 14:23:38 config:84 IOError: Unable to load file '/Users/sEbi/.config/deluge/hostlist.conf'
[WARNING ] 14:23:38 config:104 IOError: Unable to open file: '/Users/sEbi/.config/deluge/hostlist.conf'
[DEBUG   ] 14:23:38 configmanager:88 Getting config 'gtkui.conf'
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
i hope i get this thing working soon!
banz

Re: 1.0.0 Compiling errors

Post by banz »

I managed to get it running but I'm having some problems connecting.. this is what appears in the X11 term window.. does anyone else have this problem?

Code: Select all

[DEBUG   ] 00:26:37 connectionmanager:450 on_button_connect_clicked
[WARNING ] 00:26:37 connectionmanager:473 Host does not appear to be online..
[INFO    ] 00:26:37 connectionmanager:438 Starting localhost:58846 daemon..
Traceback (most recent call last):
  File "/opt/local/lib/python2.5/site-packages/deluge/ui/gtkui/connectionmanager.py", line 476, in on_button_connect_clicked
    self.start_localhost(port)
  File "/opt/local/lib/python2.5/site-packages/deluge/ui/gtkui/connectionmanager.py", line 443, in start_localhost
    subprocess.Popen(["deluged", "-p %s" % port])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 594, in __init__
    errread, errwrite)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1091, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
zaxxon
New User
New User
Posts: 9
Joined: Thu Nov 01, 2007 10:13 am

Re: 1.0.0 Compiling errors

Post by zaxxon »

Ok, what did you do to get it running?
banz

Re: 1.0.0 Compiling errors

Post by banz »

zaxxon wrote:Ok, what did you do to get it running?
1. installed and updated MacPorts thru terminal
2. installed xcode 3.11
3. installed deluge thru MacPorts
4. had problem with boost dependency and installed manually with python 2.5 support (sudo port install boost +python25)
5. had problem with a few other dependencies and all installed manually
6. had to restart deluge installation a few times after some errors occurred
7. installation completed successfully
8. ran deluge from X11 term window, gui appears
9. connection manager window appears with one host (localhost:58846)
10. nothing happens when i click on Start Daemon / Connect and error appears on X11 term window

and idea?
zaxxon
New User
New User
Posts: 9
Joined: Thu Nov 01, 2007 10:13 am

Re: 1.0.0 Compiling errors

Post by zaxxon »

This sounds awfully like the thing I reported. I'm thankful that the UI starts, but that the daemon won't start seems to be the daemonisation problem with the fork() that's not supported on OS X.

So, how do we get someone knowledgable to rewrite deluge ;-))))))))

I couldn't do it myself, but I would pledge some $$$ to get a Mac Mini to some eager developer that could and would!
deadhead

Re: 1.0.0 Compiling errors

Post by deadhead »

Yup -I got the same error.

A google search of "boost_python-mt problem when compiling deluge" gave me this result:

https://trac.macports.org/ticket/16641

Which suggested:

sudo port -v uninstall boost 1.35.0_2+darwin_9+python25
sudo port -v install boost +python25
sudo port -v install deluge

And that did it.
User avatar
oriain
Member
Member
Posts: 18
Joined: Wed Mar 19, 2008 8:20 pm
Location: Vancouver, WA

Re: 1.0.0 Compiling errors

Post by oriain »

I am not sure if I got all the same errors as the previous posts, but after waiting for _months_ macports finally has the 1.0.0 version (although its not the most current version). I had to install boost +python25 before it would finish building and installing. Then I had a python version mismatch. I renamed the file in /opt/local/lib/libpython2.5.dylib (I didn't want to delete it just in case the solution from nabble didn't work) so that I could symlink libpython2.5.dylib to the file in /opt/local/Library/Frameworks/Python.Frameworks/Versions/2.5/Python. Then deluge worked perfectly.

Cheers! :D
akiratea
New User
New User
Posts: 7
Joined: Mon Dec 15, 2008 8:56 pm

Re: 1.0.0 Compiling errors

Post by akiratea »

I'm getting what looks to be the same error on this post
"nothing happens when i click on Start Daemon / Connect and error appears on X11 term window"
OSError: [Errno 2] No such file or directory

Can anyone help?
Post Reply