GCC fails at filesystem.cpp

General support for problems installing or using Deluge
Post Reply
Rado

GCC fails at filesystem.cpp

Post by Rado »

Hello All,

First time here but a long-time deluge user :)
I decided to register and post here, because I still cannot make deluge compile successfully.

Here the details :
Debian Testing AMD64, Linux 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64 GNU/Linux
gcc 4.7.1-2
boost 1.49.0-3.1
python 2.7.3rc2 (default, Apr 22 2012, 22:30:17)

I always use the git-version of deluge and re-compile it quite often myself.
This time, I cannot end up with a working result, because gcc always fails at the following :

Code: Select all

 gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.7 -I/usr/include -I -I/usr/include/python2.7 -c ./libtorrent/bindings/python/src/filesystem.cpp -o build/temp.linux-x86_64-2.7/./libtorrent/bindings/python/src/filesystem.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -DBOOST_FILESYSTEM_VERSION=2 -DBOOST_ASIO_ENABLE_CANCELIO -O2 -Wno-missing-braces
./libtorrent/bindings/python/src/filesystem.cpp: In static member function ‘static void path_from_python::construct(PyObject*, boost::python::converter::rvalue_from_python_stage1_data*)’:
./libtorrent/bindings/python/src/filesystem.cpp:50:59: error: expected primary-expression before ‘*’ token
./libtorrent/bindings/python/src/filesystem.cpp:50:60: error: expected primary-expression before ‘)’ token
./libtorrent/bindings/python/src/filesystem.cpp:50:61: error: expected ‘,’ or ‘;’ before ‘x’
./libtorrent/bindings/python/src/filesystem.cpp:60:17: warning: unused variable ‘ret’ [-Wunused-variable]
error: command 'gcc' failed with exit status 1
I have reinstalled the complete boost development environment and libasio several times already with no effect;
exporting CC to a lower/different version made no change as well - the compilation always fails at the above mentioned stage.

Any hints/advices to what might be causing this failure will be greatly appreciated, thanks in advance !

Cheers,
Rado
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: GCC fails at filesystem.cpp

Post by Cas »

That's a libtorrent issue and you have not said which version you are using.

You could just use the debian packaged version of libtorrent.
Post Reply