Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-01-2013, 12:51 PM
|
#1
|
Member
Registered: Jul 2012
Distribution: Slackware
Posts: 95
Rep:
|
deluge on current 64b multilib
when i tried to compile the slackbuilds every package work except for deluge, this is the output.
Code:
building 'libtorrent' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/libtorrent
creating build/temp.linux-x86_64-2.7/libtorrent/src
creating build/temp.linux-x86_64-2.7/libtorrent/src/kademlia
creating build/temp.linux-x86_64-2.7/libtorrent/bindings
creating build/temp.linux-x86_64-2.7/libtorrent/bindings/python
creating build/temp.linux-x86_64-2.7/libtorrent/bindings/python/src
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -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/src/storage.cpp -o build/temp.linux-x86_64-2.7/./libtorrent/src/storage.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -DBOOST_FILESYSTEM_VERSION=2 -O2 -Wno-missing-braces
In file included from /usr/include/boost/filesystem/operations.hpp:24:0,
from /usr/include/boost/filesystem/convenience.hpp:22,
from ./libtorrent/src/storage.cpp:46:
/usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
# error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
^
./libtorrent/src/storage.cpp: In function 'void libtorrent::recursive_copy(const Path&, const Path&, boost::system::error_code&)':
./libtorrent/src/storage.cpp:164:28: error: 'boost::filesystem::basic_directory_iterator' has not been declared
using boost::filesystem::basic_directory_iterator;
^
./libtorrent/src/storage.cpp:172:9: error: 'basic_directory_iterator' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp:172:38: error: expected primary-expression before '>' token
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp:172:53: error: 'end' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp:172:53: note: suggested alternatives:
In file included from /usr/include/boost/range/functions.hpp:19:0,
from /usr/include/boost/range/iterator_range_core.hpp:28,
from /usr/include/boost/lexical_cast.hpp:174,
from ./libtorrent/src/storage.cpp:45:
/usr/include/boost/range/end.hpp:106:61: note: 'boost::range_adl_barrier::end'
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
^
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
from /usr/include/boost/mpl/list/list0.hpp:27,
from /usr/include/boost/mpl/list/list10.hpp:18,
from /usr/include/boost/mpl/list/list20.hpp:18,
from /usr/include/boost/mpl/list.hpp:36,
from /usr/include/boost/math/policies/policy.hpp:9,
from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast.hpp:172,
from ./libtorrent/src/storage.cpp:45:
/usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: 'boost::mpl::end'
template< typename Sequence > struct end;
^
In file included from /usr/include/boost/range/functions.hpp:19:0,
from /usr/include/boost/range/iterator_range_core.hpp:28,
from /usr/include/boost/lexical_cast.hpp:174,
from ./libtorrent/src/storage.cpp:45:
/usr/include/boost/range/end.hpp:106:61: note: 'boost::range_adl_barrier::end'
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
^
./libtorrent/src/storage.cpp:172:58: error: 'i' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp: In function 'void libtorrent::recursive_remove(const Path&)':
./libtorrent/src/storage.cpp:205:28: error: 'boost::filesystem::basic_directory_iterator' has not been declared
using boost::filesystem::basic_directory_iterator;
^
./libtorrent/src/storage.cpp:211:9: error: 'basic_directory_iterator' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp:211:38: error: expected primary-expression before '>' token
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp:211:53: error: 'end' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp:211:53: note: suggested alternatives:
In file included from /usr/include/boost/range/functions.hpp:19:0,
from /usr/include/boost/range/iterator_range_core.hpp:28,
from /usr/include/boost/lexical_cast.hpp:174,
from ./libtorrent/src/storage.cpp:45:
/usr/include/boost/range/end.hpp:106:61: note: 'boost::range_adl_barrier::end'
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
^
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
from /usr/include/boost/mpl/list/list0.hpp:27,
from /usr/include/boost/mpl/list/list10.hpp:18,
from /usr/include/boost/mpl/list/list20.hpp:18,
from /usr/include/boost/mpl/list.hpp:36,
from /usr/include/boost/math/policies/policy.hpp:9,
from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
from /usr/include/boost/math/special_functions/sign.hpp:17,
from /usr/include/boost/lexical_cast.hpp:172,
from ./libtorrent/src/storage.cpp:45:
/usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: 'boost::mpl::end'
template< typename Sequence > struct end;
^
In file included from /usr/include/boost/range/functions.hpp:19:0,
from /usr/include/boost/range/iterator_range_core.hpp:28,
from /usr/include/boost/lexical_cast.hpp:174,
from ./libtorrent/src/storage.cpp:45:
/usr/include/boost/range/end.hpp:106:61: note: 'boost::range_adl_barrier::end'
inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
^
./libtorrent/src/storage.cpp:211:58: error: 'i' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp: In function 'bool libtorrent::match_filesizes(const libtorrent::file_storage&, boost::filesystem::path, const std::vector<std::pair<long int, long int> >&, bool, std::string*)':
./libtorrent/src/storage.cpp:304:16: error: 'const class boost::filesystem::path' has no member named 'external_file_string'
+ i->path.external_file_string()
^
./libtorrent/src/storage.cpp:317:16: error: 'const class boost::filesystem::path' has no member named 'external_file_string'
+ i->path.external_file_string()
^
./libtorrent/src/storage.cpp: In member function 'virtual bool libtorrent::storage::initialize(bool)':
./libtorrent/src/storage.cpp:449:64: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|| (exists(file_path) && file_size(file_path) > file_iter->size))
^
./libtorrent/src/storage.cpp: In member function 'virtual bool libtorrent::storage::verify_resume_data(const libtorrent::lazy_entry&, std::string&)':
./libtorrent/src/storage.cpp:784:42: error: 'const class boost::filesystem::path' has no member named 'external_file_string'
error = "file size for '" + i->path.external_file_string()
^
./libtorrent/src/storage.cpp: In member function 'virtual bool libtorrent::storage::move_storage(boost::filesystem::path)':
./libtorrent/src/storage.cpp:831:52: error: no matching function for call to 'std::set<std::basic_string<char> >::insert(std::set<std::basic_string<char> >::iterator, const boost::filesystem::path&)'
to_move.insert(to_move.begin(), *i->path.begin());
^
./libtorrent/src/storage.cpp:831:52: note: candidates are:
In file included from /usr/include/c++/4.8.1/set:61:0,
from ./libtorrent/src/storage.cpp:38:
/usr/include/c++/4.8.1/bits/stl_set.h:460:7: note: std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = std::basic_string<char>; _Compare = std::less<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename _Alloc::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator<std::basic_string<char> >; std::set<_Key, _Compare, _Alloc>::value_type = std::basic_string<char>]
insert(const value_type& __x)
^
/usr/include/c++/4.8.1/bits/stl_set.h:460:7: note: candidate expects 1 argument, 2 provided
/usr/include/c++/4.8.1/bits/stl_set.h:497:7: note: std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::const_iterator, const value_type&) [with _Key = std::basic_string<char>; _Compare = std::less<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree_const_iterator<std::basic_string<char> >; std::set<_Key, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::basic_string<char> >; std::set<_Key, _Compare, _Alloc>::value_type = std::basic_string<char>]
insert(const_iterator __position, const value_type& __x)
^
/usr/include/c++/4.8.1/bits/stl_set.h:497:7: note: no known conversion for argument 2 from 'const boost::filesystem::path' to 'const value_type& {aka const std::basic_string<char>&}'
/usr/include/c++/4.8.1/bits/stl_set.h:517:2: note: template<class _InputIterator> void std::set<_Key, _Compare, _Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _Key = std::basic_string<char>; _Compare = std::less<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >]
insert(_InputIterator __first, _InputIterator __last)
^
/usr/include/c++/4.8.1/bits/stl_set.h:517:2: note: template argument deduction/substitution failed:
./libtorrent/src/storage.cpp:831:52: note: deduced conflicting types for parameter '_InputIterator' ('std::_Rb_tree_const_iterator<std::basic_string<char> >' and 'boost::filesystem::path')
to_move.insert(to_move.begin(), *i->path.begin());
^
./libtorrent/src/storage.cpp: In instantiation of 'void libtorrent::recursive_copy(const Path&, const Path&, boost::system::error_code&) [with Path = boost::filesystem::path]':
./libtorrent/src/storage.cpp:857:42: required from here
./libtorrent/src/storage.cpp:172:50: error: 'i' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
./libtorrent/src/storage.cpp: In instantiation of 'void libtorrent::recursive_remove(const Path&) [with Path = boost::filesystem::path]':
./libtorrent/src/storage.cpp:865:31: required from here
./libtorrent/src/storage.cpp:211:50: error: 'i' was not declared in this scope
for (basic_directory_iterator<Path> i(old_path), end; i != end; ++i)
^
error: command 'gcc' failed with exit status 1
bash-4.2#
any ideas or advice? thanks a lot.
|
|
|
09-01-2013, 05:26 PM
|
#3
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep: 
|
I did modified the SlackBuild to work on Slackware64 current.
deluge.SlackBuild
boost-154.patch
|
|
|
09-01-2013, 05:51 PM
|
#4
|
Member
Registered: Jul 2012
Distribution: Slackware
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by dunric
|
thanks a lot for the answering, the links do not work tho.
|
|
|
09-01-2013, 07:32 PM
|
#5
|
Member
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Rep:
|
Just checked, the links open pastebin for me.
|
|
|
09-01-2013, 09:46 PM
|
#6
|
Member
Registered: Jul 2012
Distribution: Slackware
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by dunric
|
thanks a lot man, the problem is i really dont know how to apply the patch, any suggestions or quick tutorial? thanks again.
also, can you please provide me the link where you get libtorrent-rasterbar-0.16.10 ?
Last edited by cisneros; 09-01-2013 at 09:49 PM.
|
|
|
09-02-2013, 02:34 AM
|
#7
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,559
|
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 05:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|