deluge not compiling/ building

General support for problems installing or using Deluge
Post Reply
elgringo
New User
New User
Posts: 3
Joined: Tue Jun 12, 2007 3:19 pm

deluge not compiling/ building

Post by elgringo »

I installed all of the repositories listed on the latest deluge source tar and I get this. I am not sure why this is happening. Any insight would be helpful.

Code: Select all

Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
Libraries nomt
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/deluge
copying src/__init__.py -> build/lib.linux-i686-2.4/deluge
copying src/common.py -> build/lib.linux-i686-2.4/deluge
copying src/plugins.py -> build/lib.linux-i686-2.4/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.4/deluge
copying src/pref.py -> build/lib.linux-i686-2.4/deluge
copying src/interface.py -> build/lib.linux-i686-2.4/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.4/deluge
copying src/core.py -> build/lib.linux-i686-2.4/deluge
copying src/dgtk.py -> build/lib.linux-i686-2.4/deluge
copying src/deluge_stats.py -> build/lib.linux-i686-2.4/deluge
running build_ext
building 'deluge_core' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
creating build/temp.linux-i686-2.4/libtorrent
creating build/temp.linux-i686-2.4/libtorrent/src
creating build/temp.linux-i686-2.4/libtorrent/src/kademlia
gcc -pthread -fno-strict-aliasing -O3 -Wall -DNDEBUG -O2 -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c src/deluge_core.cpp -o build/temp.linux-i686-2.4/src/deluge_core.o -Wno-missing-braces
In file included from /usr/include/boost/multi_index/detail/node_type.hpp:23,
                 from /usr/include/boost/multi_index/detail/index_base.hpp:21,
                 from /usr/include/boost/multi_index/detail/base_type.hpp:21,
                 from /usr/include/boost/multi_index_container.hpp:32,
                 from ./libtorrent/include/libtorrent/file_pool.hpp:41,
                 from src/deluge_core.cpp:44:
/usr/include/boost/multi_index/detail/index_node_base.hpp:19:42: error: boost/serialization/access.hpp: No such file or directory
In file included from /usr/include/boost/multi_index/detail/index_base.hpp:27,
                 from /usr/include/boost/multi_index/detail/base_type.hpp:21,
                 from /usr/include/boost/multi_index_container.hpp:32,
                 from ./libtorrent/include/libtorrent/file_pool.hpp:41,
                 from src/deluge_core.cpp:44:
/usr/include/boost/multi_index/detail/index_loader.hpp:21:39: error: boost/serialization/nvp.hpp: No such file or directory
In file included from /usr/include/boost/multi_index_container.hpp:46,
                 from ./libtorrent/include/libtorrent/file_pool.hpp:41,
                 from src/deluge_core.cpp:44:
/usr/include/boost/multi_index/detail/archive_constructed.hpp:20:49: error: boost/serialization/serialization.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/file_pool.hpp:41,
                 from src/deluge_core.cpp:44:
/usr/include/boost/multi_index_container.hpp:48:48: error: boost/serialization/split_member.hpp: No such file or directory
/usr/include/boost/multi_index/detail/index_node_base.hpp:45: error: ‘boost::serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function ‘void boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::add(Node*, Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/index_loader.hpp:49: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function ‘void boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::add_track(Node*, Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/index_loader.hpp:56: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function ‘FinalNode* boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::unchecked_load_node(Archive&) const’:
/usr/include/boost/multi_index/detail/index_loader.hpp:104: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function ‘FinalNode* boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::load_node(Archive&) const’:
/usr/include/boost/multi_index/detail/index_loader.hpp:112: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_saver.hpp: In member function ‘void boost::multi_index::detail::index_saver<Node, Allocator>::add(Node*, Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/index_saver.hpp:46: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_saver.hpp: In member function ‘void boost::multi_index::detail::index_saver<Node, Allocator>::add_track(Node*, Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/index_saver.hpp:53: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_saver.hpp: In static member function ‘static void boost::multi_index::detail::index_saver<Node, Allocator>::save_node(Node*, Archive&)’:
/usr/include/boost/multi_index/detail/index_saver.hpp:123: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/archive_constructed.hpp: In constructor ‘boost::multi_index::detail::archive_constructed<T>::archive_constructed(Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/archive_constructed.hpp:36: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/archive_constructed.hpp: In constructor ‘boost::multi_index::detail::archive_constructed<T>::archive_constructed(const char*, Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/archive_constructed.hpp:50: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/archive_constructed.hpp:52: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index_container.hpp: At global scope:
/usr/include/boost/multi_index_container.hpp:536: error: ‘boost::serialization’ has not been declared
/usr/include/boost/multi_index_container.hpp:540: error: expected ‘;’ before ‘typedef’
/usr/include/boost/multi_index_container.hpp: In member function ‘void boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::save(Archive&, unsigned int) const’:
/usr/include/boost/multi_index_container.hpp:547: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index_container.hpp:547: error: there are no arguments to ‘make_nvp’ that depend on a template parameter, so a declaration of ‘make_nvp’ must be available
/usr/include/boost/multi_index_container.hpp:547: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/boost/multi_index_container.hpp:548: error: ‘index_saver_type’ was not declared in this scope
/usr/include/boost/multi_index_container.hpp:548: error: expected `;' before ‘sm’
/usr/include/boost/multi_index_container.hpp:551: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index_container.hpp:552: error: ‘sm’ was not declared in this scope
/usr/include/boost/multi_index_container.hpp:554: error: ‘sm’ was not declared in this scope
/usr/include/boost/multi_index_container.hpp: In member function ‘void boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::load(Archive&, unsigned int)’:
/usr/include/boost/multi_index_container.hpp:567: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index_container.hpp:567: error: there are no arguments to ‘make_nvp’ that depend on a template parameter, so a declaration of ‘make_nvp’ must be available
/usr/include/boost/multi_index/detail/index_iterator.hpp: At global scope:
/usr/include/boost/multi_index/detail/index_iterator.hpp:145: error: ‘boost::serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_iterator.hpp:149: error: expected ‘;’ before ‘typedef’
/usr/include/boost/multi_index/detail/index_iterator.hpp: In member function ‘void boost::multi_index::detail::index_iterator<Node>::save(Archive&, unsigned int) const’:
/usr/include/boost/multi_index/detail/index_iterator.hpp:155: error: ‘node_base_type’ was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:155: error: ‘bnode’ was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:156: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_iterator.hpp:156: error: there are no arguments to ‘make_nvp’ that depend on a template parameter, so a declaration of ‘make_nvp’ must be available
/usr/include/boost/multi_index/detail/index_iterator.hpp: In member function ‘void boost::multi_index::detail::index_iterator<Node>::load(Archive&, unsigned int)’:
/usr/include/boost/multi_index/detail/index_iterator.hpp:162: error: ‘node_base_type’ was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:162: error: ‘bnode’ was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:163: error: ‘serialization’ has not been declared
/usr/include/boost/multi_index/detail/index_iterator.hpp:163: error: there are no arguments to ‘make_nvp’ that depend on a template parameter, so a declaration of ‘make_nvp’ must be available
error: command 'gcc' failed with exit status 1
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: deluge not compiling/ building

Post by zachtib »

what distro are you using?

and you have all the libboost-dev packages installed?
Former Deluge Developer
elgringo
New User
New User
Posts: 3
Joined: Tue Jun 12, 2007 3:19 pm

Re: deluge not compiling/ building

Post by elgringo »

I am using Ubuntu Dapper and had the libboost-dev package installed thru synaptic. It would not work until I installed libboost-serialization-dev package. It installed so now seems to be working.
Thank you.
tedrogers
New User
New User
Posts: 4
Joined: Thu Jun 21, 2007 4:32 pm

Re: deluge not compiling/ building

Post by tedrogers »

Hi,

Using Ubuntu Feisty Fox 7.04 and I can't get Deluge 0.5.1.1. to compile and install either.

Have installed libboost-dev and libboost-serialization-dev as per the instructions given here in the above posts.

When I do 'make' I get this output:-

Code: Select all

python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
Libraries nomt
running build
running build_py
creating build
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.5/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.5/deluge
copying src/core.py -> build/lib.linux-i686-2.5/deluge
copying src/deluge_stats.py -> build/lib.linux-i686-2.5/deluge
copying src/dgtk.py -> build/lib.linux-i686-2.5/deluge
copying src/common.py -> build/lib.linux-i686-2.5/deluge
copying src/plugins.py -> build/lib.linux-i686-2.5/deluge
copying src/interface.py -> build/lib.linux-i686-2.5/deluge
copying src/pref.py -> build/lib.linux-i686-2.5/deluge
copying src/__init__.py -> build/lib.linux-i686-2.5/deluge
running build_ext
building 'deluge_core' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/src
creating build/temp.linux-i686-2.5/libtorrent
creating build/temp.linux-i686-2.5/libtorrent/src
creating build/temp.linux-i686-2.5/libtorrent/src/kademlia
gcc -pthread -fno-strict-aliasing -Wall -DNDEBUG -O2 -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c src/deluge_core.cpp -o build/temp.linux-i686-2.5/src/deluge_core.o -Wno-missing-braces
src/deluge_core.cpp:39:20: error: Python.h: No such file or directory
src/deluge_core.cpp:41:42: error: boost/filesystem/exception.hpp: No such file or directory
src/deluge_core.cpp:42:43: error: boost/filesystem/operations.hpp: No such file or directory
src/deluge_core.cpp:43:53: error: boost/date_time/posix_time/posix_time.hpp: No such file or directory
In file included from src/deluge_core.cpp:47:
./libtorrent/include/libtorrent/session.hpp:49:37: error: boost/filesystem/path.hpp: No such file or directory
./libtorrent/include/libtorrent/session.hpp:50:28: error: boost/thread.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/session.hpp:56,
                 from src/deluge_core.cpp:47:
./libtorrent/include/libtorrent/torrent_handle.hpp:42:59: error: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/session.hpp:58,
                 from src/deluge_core.cpp:47:
./libtorrent/include/libtorrent/alert.hpp:46:34: error: boost/thread/mutex.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:42,
                 from ./libtorrent/include/libtorrent/alert_types.hpp:39,
                 from src/deluge_core.cpp:49:
./libtorrent/include/libtorrent/debug.hpp:45:40: error: boost/filesystem/fstream.hpp: No such file or directory
./libtorrent/include/libtorrent/debug.hpp:46:44: error: boost/filesystem/convenience.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/torrent.hpp:62,
                 from ./libtorrent/include/libtorrent/peer_connection.hpp:67,
                 from ./libtorrent/include/libtorrent/alert_types.hpp:39,
                 from src/deluge_core.cpp:49:
./libtorrent/include/libtorrent/tracker_manager.hpp:50:44: error: boost/thread/recursive_mutex.hpp: No such file or directory
In file included from src/deluge_core.cpp:51:
./libtorrent/include/libtorrent/hasher.hpp:45:25: error: openssl/sha.h: No such file or directory
In file included from src/deluge_core.cpp:53:
./libtorrent/include/libtorrent/upnp.hpp:44:38: error: boost/thread/condition.hpp: No such file or directory
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: ‘time_duration’ declared as a ‘virtual’ field
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: expected ‘;’ before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: ‘time_duration’ declared as a ‘virtual’ field
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: expected ‘;’ before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:107: error: expected `;' before ‘virtual’
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp: In member function ‘int asio::detail::epoll_reactor<Own_Thread>::get_timeout()’:
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:536: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:536: error: expected `;' before ‘minimum_wait_duration’
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:541: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:541: error: expected `;' before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:543: error: ‘wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:543: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:547: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:547: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp: In member function ‘timeval* asio::detail::select_reactor<Own_Thread>::get_timeout(timeval&)’:
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:380: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:380: error: expected `;' before ‘minimum_wait_duration’
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:385: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:385: error: expected `;' before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:387: error: ‘wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:387: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:391: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:391: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/time_traits.hpp: At global scope:
./libtorrent/include/libtorrent/asio/time_traits.hpp:34: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/time_traits.hpp:34: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/time_traits.hpp:34: error: template argument 1 is invalid
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp: In member function ‘void asio::detail::deadline_timer_service<Time_Traits, Timer_Scheduler>::wait(asio::detail::deadline_timer_service<Time_Traits, Timer_Scheduler>::implementation_type&, asio::error_code&)’:
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp:143: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp:143: error: expected `;' before ‘timeout’
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp:146: error: ‘timeout’ was not declared in this scope
./libtorrent/include/libtorrent/asio/deadline_timer.hpp: At global scope:
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: template argument 1 is invalid
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: template argument 2 is invalid
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: template argument 3 is invalid
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: invalid type in declaration before ‘;’ token
./libtorrent/include/libtorrent/time.hpp:158: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/time.hpp:158: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/time.hpp:158: error: expected ‘;’ before ‘to_posix_duration’
./libtorrent/include/libtorrent/time.hpp:161: error: expected `;' before ‘}’ token
./libtorrent/include/libtorrent/torrent_info.hpp:62: error: ‘posix_time’ is not a namespace-name
./libtorrent/include/libtorrent/torrent_info.hpp:62: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent_info.hpp:63: error: ‘gregorian’ is not a namespace-name
./libtorrent/include/libtorrent/torrent_info.hpp:63: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent_info.hpp:67: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:67: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:67: error: expected ‘;’ before ‘path’
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: ISO C++ forbids declaration of ‘type name’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: template argument 1 is invalid
./libtorrent/include/libtorrent/torrent_info.hpp:112: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:112: error: expected ‘,’ or ‘...’ before ‘file’
./libtorrent/include/libtorrent/torrent_info.hpp:167: error: ‘pt’ was not declared in this scope
./libtorrent/include/libtorrent/torrent_info.hpp:167: error: template argument 1 is invalid
./libtorrent/include/libtorrent/torrent_info.hpp:233: error: ‘pt’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:233: error: ISO C++ forbids declaration of ‘ptime’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:233: error: expected ‘;’ before ‘m_creation_date’
./libtorrent/include/libtorrent/torrent_handle.hpp:119: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:119: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:119: error: expected ‘;’ before ‘next_announce’
./libtorrent/include/libtorrent/torrent_handle.hpp:120: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:120: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:120: error: expected ‘;’ before ‘announce_interval’
./libtorrent/include/libtorrent/torrent_handle.hpp:296: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:324: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:324: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:324: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/torrent_handle.hpp:336: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:336: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/alert.hpp:105: error: ‘mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/storage.hpp:75: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:75: error: expected ‘,’ or ‘...’ before ‘p’
./libtorrent/include/libtorrent/storage.hpp:79: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:79: error: expected ‘,’ or ‘...’ before ‘p’
./libtorrent/include/libtorrent/storage.hpp:106: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:106: error: expected ‘,’ or ‘...’ before ‘save_path’
./libtorrent/include/libtorrent/storage.hpp:132: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:132: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:136: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:136: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:140: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:148: error: expected unqualified-id before ‘::’ token
./libtorrent/include/libtorrent/storage.hpp:148: error: expected ‘,’ or ‘...’ before ‘::’ token
./libtorrent/include/libtorrent/storage.hpp:150: error: ISO C++ forbids declaration of ‘parameter’ with no type
./libtorrent/include/libtorrent/storage.hpp:157: error: ‘boost::recursive_mutex’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:186: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:186: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/storage.hpp:186: error: expected ‘;’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:187: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:187: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:138: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/session.hpp:138: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:147: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/session.hpp:147: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:161: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/session.hpp:161: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:186: error: ‘boost::function’ has not been declared
./libtorrent/include/libtorrent/session.hpp:186: error: expected ‘,’ or ‘...’ before ‘<’ token
./libtorrent/include/libtorrent/session.hpp: In member function ‘libtorrent::torrent_handle libtorrent::session::add_torrent(const libtorrent::entry&, int)’:
./libtorrent/include/libtorrent/session.hpp:153: error: ‘save_path’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:153: error: ‘resume_data’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:154: error: ‘compact_mode’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:154: error: ‘block_size’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:154: error: ‘sc’ was not declared in this scope
./libtorrent/include/libtorrent/debug.hpp: At global scope:
./libtorrent/include/libtorrent/debug.hpp:59: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/debug.hpp:59: error: expected `)' before ‘const’
./libtorrent/include/libtorrent/debug.hpp:76: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/debug.hpp:76: error: ISO C++ forbids declaration of ‘ofstream’ with no type
./libtorrent/include/libtorrent/debug.hpp:76: error: expected ‘;’ before ‘m_file’
./libtorrent/include/libtorrent/debug.hpp: In member function ‘libtorrent::logger& libtorrent::logger::operator<<(const T&)’:
./libtorrent/include/libtorrent/debug.hpp:71: error: ‘m_file’ was not declared in this scope
./libtorrent/include/libtorrent/tracker_manager.hpp: At global scope:
./libtorrent/include/libtorrent/tracker_manager.hpp:188: error: ‘mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/tracker_manager.hpp:189: error: ‘mutex_t’ does not name a type
./libtorrent/include/libtorrent/tracker_manager.hpp:245: error: ‘recursive_mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/tracker_manager.hpp:246: error: ‘mutex_t’ does not name a type
./libtorrent/include/libtorrent/bandwidth_manager.hpp:197: error: ‘mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/bandwidth_manager.hpp:198: error: ‘mutex_t’ does not name a type
./libtorrent/include/libtorrent/bandwidth_manager.hpp: In member function ‘void libtorrent::bandwidth_manager::throttle(int)’:
./libtorrent/include/libtorrent/bandwidth_manager.hpp:167: error: ‘mutex_t’ has not been declared
./libtorrent/include/libtorrent/bandwidth_manager.hpp:167: error: expected `;' before ‘l’
./libtorrent/include/libtorrent/bandwidth_manager.hpp: In member function ‘int libtorrent::bandwidth_manager::throttle() const’:
./libtorrent/include/libtorrent/bandwidth_manager.hpp:174: error: ‘mutex_t’ has not been declared
./libtorrent/include/libtorrent/bandwidth_manager.hpp:174: error: expected `;' before ‘l’
./libtorrent/include/libtorrent/torrent.hpp: At global scope:
./libtorrent/include/libtorrent/torrent.hpp:99: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:99: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:114: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:114: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:449: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:449: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent.hpp:449: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/torrent.hpp:506: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:506: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:692: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:692: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent.hpp:692: error: expected ‘;’ before ‘m_save_path’
./libtorrent/include/libtorrent/hasher.hpp:101: error: ‘SHA_CTX’ does not name a type
./libtorrent/include/libtorrent/hasher.hpp: In constructor ‘libtorrent::hasher::hasher()’:
./libtorrent/include/libtorrent/hasher.hpp:75: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:75: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In constructor ‘libtorrent::hasher::hasher(const char*, int)’:
./libtorrent/include/libtorrent/hasher.hpp:78: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:78: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:81: error: ‘SHA1_Update’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘void libtorrent::hasher::update(const char*, int)’:
./libtorrent/include/libtorrent/hasher.hpp:87: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:87: error: ‘SHA1_Update’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘libtorrent::sha1_hash libtorrent::hasher::final()’:
./libtorrent/include/libtorrent/hasher.hpp:93: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:93: error: ‘SHA1_Final’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘void libtorrent::hasher::reset()’:
./libtorrent/include/libtorrent/hasher.hpp:97: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:97: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/file.hpp: At global scope:
./libtorrent/include/libtorrent/file.hpp:108: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/file.hpp:108: error: expected `)' before ‘const’
./libtorrent/include/libtorrent/file.hpp:111: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/file.hpp:111: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file_pool.hpp:62: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/file_pool.hpp:62: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/file_pool.hpp:68: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file_pool.hpp:68: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file_pool.hpp:81: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file_pool.hpp:81: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/file_pool.hpp:81: error: expected ‘;’ before ‘file_path’
./libtorrent/include/libtorrent/file_pool.hpp:89: error: ‘fs’ was not declared in this scope
./libtorrent/include/libtorrent/file_pool.hpp:90: error: wrong number of template arguments (2, should be 3)
/usr/include/boost/multi_index/member.hpp:111: error: provided for ‘template<class Class, class Type, Type Class::* PtrToMember> struct boost::multi_index::member’
./libtorrent/include/libtorrent/file_pool.hpp:90: error: template argument 1 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:95: error: template argument 1 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:96: error: template argument 2 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:99: error: ‘mutex’ in namespace ‘boost’ does not name a type
src/deluge_core.cpp:59: error: ‘filesystem’ is not a namespace-name
src/deluge_core.cpp:59: error: expected namespace-name before ‘;’ token
src/deluge_core.cpp:119: error: expected constructor, destructor, or type conversion before ‘*’ token
src/deluge_core.cpp:127: error: expected initializer before ‘*’ token
src/deluge_core.cpp:128: error: expected initializer before ‘*’ token
src/deluge_core.cpp:129: error: expected initializer before ‘*’ token
src/deluge_core.cpp:130: error: expected initializer before ‘*’ token
src/deluge_core.cpp:131: error: expected initializer before ‘*’ token
src/deluge_core.cpp: In function ‘long int get_torrent_index(libtorrent::torrent_handle&)’:
src/deluge_core.cpp:165: error: ‘DelugeError’ was not declared in this scope
src/deluge_core.cpp:165: error: ‘PyErr_SetString’ was not declared in this scope
src/deluge_core.cpp: In function ‘long int get_index_from_unique_ID(long int)’:
src/deluge_core.cpp:177: error: ‘DelugeError’ was not declared in this scope
src/deluge_core.cpp:177: error: ‘PyErr_SetString’ was not declared in this scope
src/deluge_core.cpp: At global scope:
src/deluge_core.cpp:184: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:184: error: expected ‘,’ or ‘...’ before ‘const’
src/deluge_core.cpp: In function ‘long int internal_add_torrent(const std::string&, float, bool, int)’:
src/deluge_core.cpp:199: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:199: error: expected `;' before ‘resumeFile’
src/deluge_core.cpp:200: error: ‘resumeFile’ was not declared in this scope
src/deluge_core.cpp:207: error: expected type-specifier
src/deluge_core.cpp:207: error: expected unqualified-id before ‘::’ token
src/deluge_core.cpp:207: error: expected `)' before ‘::’ token
src/deluge_core.cpp:207: error: expected `{' before ‘::’ token
src/deluge_core.cpp:207: error: ‘::filesystem_error’ has not been declared
src/deluge_core.cpp:207: error: expected primary-expression before ‘)’ token
src/deluge_core.cpp:207: error: expected `;' before ‘)’ token
src/deluge_core.cpp:213: error: ‘save_path’ was not declared in this scope
src/deluge_core.cpp: At global scope:
src/deluge_core.cpp:256: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:256: error: expected ‘,’ or ‘...’ before ‘const’
src/deluge_core.cpp: In function ‘void internal_add_files(libtorrent::torrent_info&, int)’:
src/deluge_core.cpp:260: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:260: error: expected `;' before ‘f’
src/deluge_core.cpp:261: error: ‘f’ was not declared in this scope
src/deluge_core.cpp:261: error: ‘is_directory’ was not declared in this scope
src/deluge_core.cpp:263: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:263: error: expected `;' before ‘i’
src/deluge_core.cpp:263: error: ‘i’ was not declared in this scope
src/deluge_core.cpp:263: error: ‘end’ was not declared in this scope
src/deluge_core.cpp:264: error: ‘p’ was not declared in this scope
src/deluge_core.cpp:264: error: ‘l’ was not declared in this scope
src/deluge_core.cpp:266: error: ‘l’ was not declared in this scope
src/deluge_core.cpp:266: error: ‘file_size’ was not declared in this scope
src/deluge_core.cpp: At global scope:
src/deluge_core.cpp:295: error: expected initializer before ‘*’ token
src/deluge_core.cpp:308: error: expected initializer before ‘*’ token
src/deluge_core.cpp:366: error: expected initializer before ‘*’ token
src/deluge_core.cpp:383: error: expected initializer before ‘*’ token
src/deluge_core.cpp:419: error: expected initializer before ‘*’ token
src/deluge_core.cpp:431: error: expected initializer before ‘*’ token
src/deluge_core.cpp:444: error: expected initializer before ‘*’ token
src/deluge_core.cpp:457: error: expected initializer before ‘*’ token
src/deluge_core.cpp:470: error: expected initializer before ‘*’ token
src/deluge_core.cpp:478: error: expected initializer before ‘*’ token
src/deluge_core.cpp:484: error: expected initializer before ‘*’ token
src/deluge_core.cpp:496: error: expected initializer before ‘*’ token
src/deluge_core.cpp:509: error: expected initializer before ‘*’ token
src/deluge_core.cpp:537: error: expected initializer before ‘*’ token
src/deluge_core.cpp:553: error: expected initializer before ‘*’ token
src/deluge_core.cpp:559: error: expected initializer before ‘*’ token
src/deluge_core.cpp:575: error: expected initializer before ‘*’ token
src/deluge_core.cpp:591: error: expected initializer before ‘*’ token
src/deluge_core.cpp:607: error: expected initializer before ‘*’ token
src/deluge_core.cpp:676: error: expected initializer before ‘*’ token
src/deluge_core.cpp:850: error: expected initializer before ‘*’ token
src/deluge_core.cpp:864: error: expected initializer before ‘*’ token
src/deluge_core.cpp:932: error: expected initializer before ‘*’ token
src/deluge_core.cpp:983: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1027: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1033: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1074: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1104: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1139: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1204: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1245: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1267: error: ‘PyMethodDef’ does not name a type
src/deluge_core.cpp:1303: error: ‘PyMODINIT_FUNC’ does not name a type
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
Any ideas?
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: deluge not compiling/ building

Post by markybob »

tedrogers wrote:Hi,

Using Ubuntu Feisty Fox 7.04 and I can't get Deluge 0.5.1.1. to compile and install either.

Have installed libboost-dev and libboost-serialization-dev as per the instructions given here in the above posts.

When I do 'make' I get this output:-

Code: Select all

python setup.py build
Attempting to detect your system information
32bit x86 system detected
Linux operating system detected
Libraries nomt
running build
running build_py
creating build
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/deluge
copying src/ipc_manager.py -> build/lib.linux-i686-2.5/deluge
copying src/dialogs.py -> build/lib.linux-i686-2.5/deluge
copying src/core.py -> build/lib.linux-i686-2.5/deluge
copying src/deluge_stats.py -> build/lib.linux-i686-2.5/deluge
copying src/dgtk.py -> build/lib.linux-i686-2.5/deluge
copying src/common.py -> build/lib.linux-i686-2.5/deluge
copying src/plugins.py -> build/lib.linux-i686-2.5/deluge
copying src/interface.py -> build/lib.linux-i686-2.5/deluge
copying src/pref.py -> build/lib.linux-i686-2.5/deluge
copying src/__init__.py -> build/lib.linux-i686-2.5/deluge
running build_ext
building 'deluge_core' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/src
creating build/temp.linux-i686-2.5/libtorrent
creating build/temp.linux-i686-2.5/libtorrent/src
creating build/temp.linux-i686-2.5/libtorrent/src/kademlia
gcc -pthread -fno-strict-aliasing -Wall -DNDEBUG -O2 -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c src/deluge_core.cpp -o build/temp.linux-i686-2.5/src/deluge_core.o -Wno-missing-braces
src/deluge_core.cpp:39:20: error: Python.h: No such file or directory
src/deluge_core.cpp:41:42: error: boost/filesystem/exception.hpp: No such file or directory
src/deluge_core.cpp:42:43: error: boost/filesystem/operations.hpp: No such file or directory
src/deluge_core.cpp:43:53: error: boost/date_time/posix_time/posix_time.hpp: No such file or directory
In file included from src/deluge_core.cpp:47:
./libtorrent/include/libtorrent/session.hpp:49:37: error: boost/filesystem/path.hpp: No such file or directory
./libtorrent/include/libtorrent/session.hpp:50:28: error: boost/thread.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/session.hpp:56,
                 from src/deluge_core.cpp:47:
./libtorrent/include/libtorrent/torrent_handle.hpp:42:59: error: boost/date_time/posix_time/posix_time_types.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/session.hpp:58,
                 from src/deluge_core.cpp:47:
./libtorrent/include/libtorrent/alert.hpp:46:34: error: boost/thread/mutex.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/peer_connection.hpp:42,
                 from ./libtorrent/include/libtorrent/alert_types.hpp:39,
                 from src/deluge_core.cpp:49:
./libtorrent/include/libtorrent/debug.hpp:45:40: error: boost/filesystem/fstream.hpp: No such file or directory
./libtorrent/include/libtorrent/debug.hpp:46:44: error: boost/filesystem/convenience.hpp: No such file or directory
In file included from ./libtorrent/include/libtorrent/torrent.hpp:62,
                 from ./libtorrent/include/libtorrent/peer_connection.hpp:67,
                 from ./libtorrent/include/libtorrent/alert_types.hpp:39,
                 from src/deluge_core.cpp:49:
./libtorrent/include/libtorrent/tracker_manager.hpp:50:44: error: boost/thread/recursive_mutex.hpp: No such file or directory
In file included from src/deluge_core.cpp:51:
./libtorrent/include/libtorrent/hasher.hpp:45:25: error: openssl/sha.h: No such file or directory
In file included from src/deluge_core.cpp:53:
./libtorrent/include/libtorrent/upnp.hpp:44:38: error: boost/thread/condition.hpp: No such file or directory
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: ‘time_duration’ declared as a ‘virtual’ field
./libtorrent/include/libtorrent/asio/detail/timer_queue_base.hpp:42: error: expected ‘;’ before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: ‘time_duration’ declared as a ‘virtual’ field
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:100: error: expected ‘;’ before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/timer_queue.hpp:107: error: expected `;' before ‘virtual’
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp: In member function ‘int asio::detail::epoll_reactor<Own_Thread>::get_timeout()’:
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:536: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:536: error: expected `;' before ‘minimum_wait_duration’
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:541: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:541: error: expected `;' before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:543: error: ‘wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:543: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:547: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/epoll_reactor.hpp:547: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp: In member function ‘timeval* asio::detail::select_reactor<Own_Thread>::get_timeout(timeval&)’:
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:380: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:380: error: expected `;' before ‘minimum_wait_duration’
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:385: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:385: error: expected `;' before ‘wait_duration’
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:387: error: ‘wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:387: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:391: error: ‘minimum_wait_duration’ was not declared in this scope
./libtorrent/include/libtorrent/asio/detail/select_reactor.hpp:391: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/time_traits.hpp: At global scope:
./libtorrent/include/libtorrent/asio/time_traits.hpp:34: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/time_traits.hpp:34: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/time_traits.hpp:34: error: template argument 1 is invalid
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp: In member function ‘void asio::detail::deadline_timer_service<Time_Traits, Timer_Scheduler>::wait(asio::detail::deadline_timer_service<Time_Traits, Timer_Scheduler>::implementation_type&, asio::error_code&)’:
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp:143: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp:143: error: expected `;' before ‘timeout’
./libtorrent/include/libtorrent/asio/detail/deadline_timer_service.hpp:146: error: ‘timeout’ was not declared in this scope
./libtorrent/include/libtorrent/asio/deadline_timer.hpp: At global scope:
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: ‘posix_time’ is not a member of ‘boost’
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: template argument 1 is invalid
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: template argument 2 is invalid
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: template argument 3 is invalid
./libtorrent/include/libtorrent/asio/deadline_timer.hpp:31: error: invalid type in declaration before ‘;’ token
./libtorrent/include/libtorrent/time.hpp:158: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/time.hpp:158: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/time.hpp:158: error: expected ‘;’ before ‘to_posix_duration’
./libtorrent/include/libtorrent/time.hpp:161: error: expected `;' before ‘}’ token
./libtorrent/include/libtorrent/torrent_info.hpp:62: error: ‘posix_time’ is not a namespace-name
./libtorrent/include/libtorrent/torrent_info.hpp:62: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent_info.hpp:63: error: ‘gregorian’ is not a namespace-name
./libtorrent/include/libtorrent/torrent_info.hpp:63: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/torrent_info.hpp:67: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:67: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:67: error: expected ‘;’ before ‘path’
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: ISO C++ forbids declaration of ‘type name’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:74: error: template argument 1 is invalid
./libtorrent/include/libtorrent/torrent_info.hpp:112: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:112: error: expected ‘,’ or ‘...’ before ‘file’
./libtorrent/include/libtorrent/torrent_info.hpp:167: error: ‘pt’ was not declared in this scope
./libtorrent/include/libtorrent/torrent_info.hpp:167: error: template argument 1 is invalid
./libtorrent/include/libtorrent/torrent_info.hpp:233: error: ‘pt’ has not been declared
./libtorrent/include/libtorrent/torrent_info.hpp:233: error: ISO C++ forbids declaration of ‘ptime’ with no type
./libtorrent/include/libtorrent/torrent_info.hpp:233: error: expected ‘;’ before ‘m_creation_date’
./libtorrent/include/libtorrent/torrent_handle.hpp:119: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:119: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:119: error: expected ‘;’ before ‘next_announce’
./libtorrent/include/libtorrent/torrent_handle.hpp:120: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:120: error: ISO C++ forbids declaration of ‘time_duration’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:120: error: expected ‘;’ before ‘announce_interval’
./libtorrent/include/libtorrent/torrent_handle.hpp:296: error: ‘boost::posix_time’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:324: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:324: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent_handle.hpp:324: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/torrent_handle.hpp:336: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent_handle.hpp:336: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/alert.hpp:105: error: ‘mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/storage.hpp:75: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:75: error: expected ‘,’ or ‘...’ before ‘p’
./libtorrent/include/libtorrent/storage.hpp:79: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:79: error: expected ‘,’ or ‘...’ before ‘p’
./libtorrent/include/libtorrent/storage.hpp:106: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:106: error: expected ‘,’ or ‘...’ before ‘save_path’
./libtorrent/include/libtorrent/storage.hpp:132: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:132: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:136: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:136: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:140: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:148: error: expected unqualified-id before ‘::’ token
./libtorrent/include/libtorrent/storage.hpp:148: error: expected ‘,’ or ‘...’ before ‘::’ token
./libtorrent/include/libtorrent/storage.hpp:150: error: ISO C++ forbids declaration of ‘parameter’ with no type
./libtorrent/include/libtorrent/storage.hpp:157: error: ‘boost::recursive_mutex’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:186: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:186: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/storage.hpp:186: error: expected ‘;’ before ‘const’
./libtorrent/include/libtorrent/storage.hpp:187: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/storage.hpp:187: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:138: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/session.hpp:138: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:147: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/session.hpp:147: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:161: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/session.hpp:161: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/session.hpp:186: error: ‘boost::function’ has not been declared
./libtorrent/include/libtorrent/session.hpp:186: error: expected ‘,’ or ‘...’ before ‘<’ token
./libtorrent/include/libtorrent/session.hpp: In member function ‘libtorrent::torrent_handle libtorrent::session::add_torrent(const libtorrent::entry&, int)’:
./libtorrent/include/libtorrent/session.hpp:153: error: ‘save_path’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:153: error: ‘resume_data’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:154: error: ‘compact_mode’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:154: error: ‘block_size’ was not declared in this scope
./libtorrent/include/libtorrent/session.hpp:154: error: ‘sc’ was not declared in this scope
./libtorrent/include/libtorrent/debug.hpp: At global scope:
./libtorrent/include/libtorrent/debug.hpp:59: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/debug.hpp:59: error: expected `)' before ‘const’
./libtorrent/include/libtorrent/debug.hpp:76: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/debug.hpp:76: error: ISO C++ forbids declaration of ‘ofstream’ with no type
./libtorrent/include/libtorrent/debug.hpp:76: error: expected ‘;’ before ‘m_file’
./libtorrent/include/libtorrent/debug.hpp: In member function ‘libtorrent::logger& libtorrent::logger::operator<<(const T&)’:
./libtorrent/include/libtorrent/debug.hpp:71: error: ‘m_file’ was not declared in this scope
./libtorrent/include/libtorrent/tracker_manager.hpp: At global scope:
./libtorrent/include/libtorrent/tracker_manager.hpp:188: error: ‘mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/tracker_manager.hpp:189: error: ‘mutex_t’ does not name a type
./libtorrent/include/libtorrent/tracker_manager.hpp:245: error: ‘recursive_mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/tracker_manager.hpp:246: error: ‘mutex_t’ does not name a type
./libtorrent/include/libtorrent/bandwidth_manager.hpp:197: error: ‘mutex’ in namespace ‘boost’ does not name a type
./libtorrent/include/libtorrent/bandwidth_manager.hpp:198: error: ‘mutex_t’ does not name a type
./libtorrent/include/libtorrent/bandwidth_manager.hpp: In member function ‘void libtorrent::bandwidth_manager::throttle(int)’:
./libtorrent/include/libtorrent/bandwidth_manager.hpp:167: error: ‘mutex_t’ has not been declared
./libtorrent/include/libtorrent/bandwidth_manager.hpp:167: error: expected `;' before ‘l’
./libtorrent/include/libtorrent/bandwidth_manager.hpp: In member function ‘int libtorrent::bandwidth_manager::throttle() const’:
./libtorrent/include/libtorrent/bandwidth_manager.hpp:174: error: ‘mutex_t’ has not been declared
./libtorrent/include/libtorrent/bandwidth_manager.hpp:174: error: expected `;' before ‘l’
./libtorrent/include/libtorrent/torrent.hpp: At global scope:
./libtorrent/include/libtorrent/torrent.hpp:99: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:99: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:114: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:114: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:449: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:449: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent.hpp:449: error: expected ‘;’ before ‘save_path’
./libtorrent/include/libtorrent/torrent.hpp:506: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:506: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/torrent.hpp:692: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/torrent.hpp:692: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/torrent.hpp:692: error: expected ‘;’ before ‘m_save_path’
./libtorrent/include/libtorrent/hasher.hpp:101: error: ‘SHA_CTX’ does not name a type
./libtorrent/include/libtorrent/hasher.hpp: In constructor ‘libtorrent::hasher::hasher()’:
./libtorrent/include/libtorrent/hasher.hpp:75: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:75: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In constructor ‘libtorrent::hasher::hasher(const char*, int)’:
./libtorrent/include/libtorrent/hasher.hpp:78: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:78: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:81: error: ‘SHA1_Update’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘void libtorrent::hasher::update(const char*, int)’:
./libtorrent/include/libtorrent/hasher.hpp:87: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:87: error: ‘SHA1_Update’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘libtorrent::sha1_hash libtorrent::hasher::final()’:
./libtorrent/include/libtorrent/hasher.hpp:93: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:93: error: ‘SHA1_Final’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘void libtorrent::hasher::reset()’:
./libtorrent/include/libtorrent/hasher.hpp:97: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:97: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/file.hpp: At global scope:
./libtorrent/include/libtorrent/file.hpp:108: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/file.hpp:108: error: expected `)' before ‘const’
./libtorrent/include/libtorrent/file.hpp:111: error: ‘boost::filesystem’ has not been declared
./libtorrent/include/libtorrent/file.hpp:111: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file_pool.hpp:62: error: ‘filesystem’ is not a namespace-name
./libtorrent/include/libtorrent/file_pool.hpp:62: error: expected namespace-name before ‘;’ token
./libtorrent/include/libtorrent/file_pool.hpp:68: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file_pool.hpp:68: error: expected ‘,’ or ‘...’ before ‘const’
./libtorrent/include/libtorrent/file_pool.hpp:81: error: ‘fs’ has not been declared
./libtorrent/include/libtorrent/file_pool.hpp:81: error: ISO C++ forbids declaration of ‘path’ with no type
./libtorrent/include/libtorrent/file_pool.hpp:81: error: expected ‘;’ before ‘file_path’
./libtorrent/include/libtorrent/file_pool.hpp:89: error: ‘fs’ was not declared in this scope
./libtorrent/include/libtorrent/file_pool.hpp:90: error: wrong number of template arguments (2, should be 3)
/usr/include/boost/multi_index/member.hpp:111: error: provided for ‘template<class Class, class Type, Type Class::* PtrToMember> struct boost::multi_index::member’
./libtorrent/include/libtorrent/file_pool.hpp:90: error: template argument 1 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:95: error: template argument 1 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:96: error: template argument 2 is invalid
./libtorrent/include/libtorrent/file_pool.hpp:99: error: ‘mutex’ in namespace ‘boost’ does not name a type
src/deluge_core.cpp:59: error: ‘filesystem’ is not a namespace-name
src/deluge_core.cpp:59: error: expected namespace-name before ‘;’ token
src/deluge_core.cpp:119: error: expected constructor, destructor, or type conversion before ‘*’ token
src/deluge_core.cpp:127: error: expected initializer before ‘*’ token
src/deluge_core.cpp:128: error: expected initializer before ‘*’ token
src/deluge_core.cpp:129: error: expected initializer before ‘*’ token
src/deluge_core.cpp:130: error: expected initializer before ‘*’ token
src/deluge_core.cpp:131: error: expected initializer before ‘*’ token
src/deluge_core.cpp: In function ‘long int get_torrent_index(libtorrent::torrent_handle&)’:
src/deluge_core.cpp:165: error: ‘DelugeError’ was not declared in this scope
src/deluge_core.cpp:165: error: ‘PyErr_SetString’ was not declared in this scope
src/deluge_core.cpp: In function ‘long int get_index_from_unique_ID(long int)’:
src/deluge_core.cpp:177: error: ‘DelugeError’ was not declared in this scope
src/deluge_core.cpp:177: error: ‘PyErr_SetString’ was not declared in this scope
src/deluge_core.cpp: At global scope:
src/deluge_core.cpp:184: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:184: error: expected ‘,’ or ‘...’ before ‘const’
src/deluge_core.cpp: In function ‘long int internal_add_torrent(const std::string&, float, bool, int)’:
src/deluge_core.cpp:199: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:199: error: expected `;' before ‘resumeFile’
src/deluge_core.cpp:200: error: ‘resumeFile’ was not declared in this scope
src/deluge_core.cpp:207: error: expected type-specifier
src/deluge_core.cpp:207: error: expected unqualified-id before ‘::’ token
src/deluge_core.cpp:207: error: expected `)' before ‘::’ token
src/deluge_core.cpp:207: error: expected `{' before ‘::’ token
src/deluge_core.cpp:207: error: ‘::filesystem_error’ has not been declared
src/deluge_core.cpp:207: error: expected primary-expression before ‘)’ token
src/deluge_core.cpp:207: error: expected `;' before ‘)’ token
src/deluge_core.cpp:213: error: ‘save_path’ was not declared in this scope
src/deluge_core.cpp: At global scope:
src/deluge_core.cpp:256: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:256: error: expected ‘,’ or ‘...’ before ‘const’
src/deluge_core.cpp: In function ‘void internal_add_files(libtorrent::torrent_info&, int)’:
src/deluge_core.cpp:260: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:260: error: expected `;' before ‘f’
src/deluge_core.cpp:261: error: ‘f’ was not declared in this scope
src/deluge_core.cpp:261: error: ‘is_directory’ was not declared in this scope
src/deluge_core.cpp:263: error: ‘boost::filesystem’ has not been declared
src/deluge_core.cpp:263: error: expected `;' before ‘i’
src/deluge_core.cpp:263: error: ‘i’ was not declared in this scope
src/deluge_core.cpp:263: error: ‘end’ was not declared in this scope
src/deluge_core.cpp:264: error: ‘p’ was not declared in this scope
src/deluge_core.cpp:264: error: ‘l’ was not declared in this scope
src/deluge_core.cpp:266: error: ‘l’ was not declared in this scope
src/deluge_core.cpp:266: error: ‘file_size’ was not declared in this scope
src/deluge_core.cpp: At global scope:
src/deluge_core.cpp:295: error: expected initializer before ‘*’ token
src/deluge_core.cpp:308: error: expected initializer before ‘*’ token
src/deluge_core.cpp:366: error: expected initializer before ‘*’ token
src/deluge_core.cpp:383: error: expected initializer before ‘*’ token
src/deluge_core.cpp:419: error: expected initializer before ‘*’ token
src/deluge_core.cpp:431: error: expected initializer before ‘*’ token
src/deluge_core.cpp:444: error: expected initializer before ‘*’ token
src/deluge_core.cpp:457: error: expected initializer before ‘*’ token
src/deluge_core.cpp:470: error: expected initializer before ‘*’ token
src/deluge_core.cpp:478: error: expected initializer before ‘*’ token
src/deluge_core.cpp:484: error: expected initializer before ‘*’ token
src/deluge_core.cpp:496: error: expected initializer before ‘*’ token
src/deluge_core.cpp:509: error: expected initializer before ‘*’ token
src/deluge_core.cpp:537: error: expected initializer before ‘*’ token
src/deluge_core.cpp:553: error: expected initializer before ‘*’ token
src/deluge_core.cpp:559: error: expected initializer before ‘*’ token
src/deluge_core.cpp:575: error: expected initializer before ‘*’ token
src/deluge_core.cpp:591: error: expected initializer before ‘*’ token
src/deluge_core.cpp:607: error: expected initializer before ‘*’ token
src/deluge_core.cpp:676: error: expected initializer before ‘*’ token
src/deluge_core.cpp:850: error: expected initializer before ‘*’ token
src/deluge_core.cpp:864: error: expected initializer before ‘*’ token
src/deluge_core.cpp:932: error: expected initializer before ‘*’ token
src/deluge_core.cpp:983: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1027: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1033: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1074: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1104: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1139: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1204: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1245: error: expected initializer before ‘*’ token
src/deluge_core.cpp:1267: error: ‘PyMethodDef’ does not name a type
src/deluge_core.cpp:1303: error: ‘PyMODINIT_FUNC’ does not name a type
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1
Any ideas?
you need all of these, which you dont have
g++
python-all-dev
python-all
python-support
libboost-dev
libboost-thread-dev
libboost-date-time-dev
libboost-filesystem-dev
libboost-serialization-dev
libssl-dev
zlib1g-dev
tedrogers
New User
New User
Posts: 4
Joined: Thu Jun 21, 2007 4:32 pm

Re: deluge not compiling/ building

Post by tedrogers »

Thanks for your reply.

After following your advice I managed to get it compiled and installed. It took a long time to compile on my old clunker of a IBM T22...but it worked!

Now I am having trouble executing the application.

When I run 'deluge' the the terminal I get this output:

Code: Select all

no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG value: 1
Applying preferences
Starting DHT...
/usr/lib/python2.5/site-packages/deluge/core.py:723: DeprecationWarning: integer argument expected, got float
  PREF_FUNCTIONS[pref](self.get_pref(pref))
Traceback (most recent call last):
  File "/usr/bin/deluge", line 93, in <module>
    start_deluge()
  File "/usr/bin/deluge", line 67, in start_deluge
    interface = deluge.interface.DelugeGTK()
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 58, in __init__
    '%s %s'%(common.PROGRAM_NAME, common.PROGRAM_VERSION), common.CONFIG_DIR)
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 223, in __init__
    self.state = pickle.load(pkl_file)
  File "/usr/lib/python2.5/pickle.py", line 1370, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.5/pickle.py", line 858, in load
    dispatch[key](self)
  File "/usr/lib/python2.5/pickle.py", line 1069, in load_inst
    klass = self.find_class(module, name)
  File "/usr/lib/python2.5/pickle.py", line 1124, in find_class
    __import__(module)
ImportError: No module named deluge
With a little searching I found that executing this in a terminal at least gets it to boot:

Code: Select all

rm -rf ~/.config/deluge
...but I still get DeprecationWarning in the terminal.

Is this a problem???

Other than this is seems to run ok.
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: deluge not compiling/ building

Post by zachtib »

tedrogers wrote:
...but I still get DeprecationWarning in the terminal.

Is this a problem???

Other than this is seems to run ok.
Yeah, as long as it's just a warning that's fine. Warnings usually won't affect the program running, it's just a notice that that function has been deprecated.
Former Deluge Developer
Post Reply