'time_traits' is not a template

Support for Deluge on Apple Mac OS
Post Reply
seventoes
New User
New User
Posts: 6
Joined: Thu Aug 14, 2008 12:42 am

'time_traits' is not a template

Post by seventoes »

I've seen this problem quite a bit, but I havent seen any solutions for it yet. While compiling through MacPorts, I get the following error:

Code: Select all

building 'deluge_core' extension
creating build/temp.macosx-10.3-i386-2.5
creating build/temp.macosx-10.3-i386-2.5/libtorrent
creating build/temp.macosx-10.3-i386-2.5/libtorrent/src
creating build/temp.macosx-10.3-i386-2.5/libtorrent/src/kademlia
creating build/temp.macosx-10.3-i386-2.5/src
/usr/bin/gcc-4.0 -DNDEBUG -g -fwrapv -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/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c libtorrent/src/alert.cpp -o build/temp.macosx-10.3-i386-2.5/libtorrent/src/alert.o -Wno-missing-braces -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -DNDEBUG=1 -O2
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++
./libtorrent/include/libtorrent/time.hpp:157: error: 'time_traits' is not a template
./libtorrent/include/libtorrent/time.hpp:158: error: explicit specialization of non-template 'asio::time_traits'
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Seems like a problem with libtorrent, anyone have a solution? Are the developers working on it?
Post Reply