deluge >1.1.3 fails to compile *SOLVED*

General support for problems installing or using Deluge
Post Reply
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

deluge >1.1.3 fails to compile *SOLVED*

Post by BK201 »

Been stuck on 1.1.3 for a while, anything greater fails to compile. It looks like something to do with boost. It wont let me attach .log, .txt, .xml or any file extension i can think of for some reason.... so heres the end of the build log.

Code: Select all

gcc -DNDEBUG -O2 -pipe -march=athlon64 -msse3 -mtune=athlon64 -mfpmath=sse -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include -I/usr/include/python2.5 -c -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include -I/usr/include/python2.5 -c ./libtorrent/src/create_torrent.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/create_torrent.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
In file included from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:12,
                 from /usr/include/boost/date_time/gregorian/conversion.hpp:23,
                 from /usr/include/boost/date_time/gregorian/gregorian.hpp:21,
                 from /usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from ./libtorrent/include/libtorrent/create_torrent.hpp:55,
                 from ./libtorrent/src/create_torrent.cpp:33:
/usr/include/boost/date_time/date_facet.hpp:560: error: declaration of ‘void boost::date_time::date_input_facet<date_type, CharT, InItrT>::special_values_parser(boost::date_time::special_values_parser<date_type, charT>)’
/usr/include/boost/date_time/special_values_parser.hpp:34: error: changes meaning of ‘special_values_parser’ from ‘class boost::date_time::special_values_parser<date_type, charT>’
error: command 'gcc' failed with exit status 1
I'm on boost 1.34.1 because 1.35 caused the cpu usage bug with the asio library. Has that been fixed? >1.35 is hard masked in portage still.
Last edited by BK201 on Fri May 08, 2009 12:58 am, edited 1 time in total.
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: deluge >1.1.3 fails to compile

Post by andar »

BK201 wrote:Been stuck on 1.1.3 for a while, anything greater fails to compile. It looks like something to do with boost. It wont let me attach .log, .txt, .xml or any file extension i can think of for some reason.... so heres the end of the build log.

Code: Select all

gcc -DNDEBUG -O2 -pipe -march=athlon64 -msse3 -mtune=athlon64 -mfpmath=sse -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include -I/usr/include/python2.5 -c -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include -I/usr/include/python2.5 -c ./libtorrent/src/create_torrent.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/create_torrent.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
In file included from /usr/include/boost/date_time/gregorian/gregorian_io.hpp:12,
                 from /usr/include/boost/date_time/gregorian/conversion.hpp:23,
                 from /usr/include/boost/date_time/gregorian/gregorian.hpp:21,
                 from /usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from /usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from ./libtorrent/include/libtorrent/create_torrent.hpp:55,
                 from ./libtorrent/src/create_torrent.cpp:33:
/usr/include/boost/date_time/date_facet.hpp:560: error: declaration of ‘void boost::date_time::date_input_facet<date_type, CharT, InItrT>::special_values_parser(boost::date_time::special_values_parser<date_type, charT>)’
/usr/include/boost/date_time/special_values_parser.hpp:34: error: changes meaning of ‘special_values_parser’ from ‘class boost::date_time::special_values_parser<date_type, charT>’
error: command 'gcc' failed with exit status 1
I'm on boost 1.34.1 because 1.35 caused the cpu usage bug with the asio library. Has that been fixed? >1.35 is hard masked in portage still.
Try using 1.1.7
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Re: deluge >1.1.3 fails to compile

Post by BK201 »

That build log was from an attempt at 1.1.7. Ive tried all versions since 1.1.3 and get the same error.
jesperl
Moderator
Moderator
Posts: 89
Joined: Sun Dec 14, 2008 10:03 pm
Location: Copenhagen

Re: deluge >1.1.3 fails to compile

Post by jesperl »

BK201 wrote:That build log was from an attempt at 1.1.7. Ive tried all versions since 1.1.3 and get the same error.
Are you sure that you have the Boost headers? Did you install all packages from the README file.
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Re: deluge >1.1.3 fails to compile

Post by BK201 »

twisted was not installed but installing it didn't fix the error. I am rebuilding boost with pyste support now, is that necessary since deluge is written in python?
BK201
Member
Member
Posts: 26
Joined: Fri Aug 01, 2008 2:35 pm

Re: deluge >1.1.3 fails to compile

Post by BK201 »

Looks like my boost installation was broken, upgraded to 1.36.0 and its working fine now.
Post Reply