LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2013, 12:51 PM   #1
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Rep: Reputation: 5
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.
 
Old 09-01-2013, 01:20 PM   #2
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Original Poster
Rep: Reputation: 5
i change the deluge and libtorrent version to the ones suggested in this thread:
http://www.linuxquestions.org/questi...ld-4175474773/,

now im in this situation:
http://www.linuxquestions.org/questi...4/#post5018289
 
Old 09-01-2013, 05:26 PM   #3
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
I did modified the SlackBuild to work on Slackware64 current.
deluge.SlackBuild
boost-154.patch
 
Old 09-01-2013, 05:51 PM   #4
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by dunric View Post
I did modified the SlackBuild to work on Slackware64 current.
deluge.SlackBuild
boost-154.patch

thanks a lot for the answering, the links do not work tho.
 
Old 09-01-2013, 07:32 PM   #5
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12, Slackware64 14.2
Posts: 236
Blog Entries: 1

Rep: Reputation: 57
Just checked, the links open pastebin for me.
 
Old 09-01-2013, 09:46 PM   #6
cisneros
Member
 
Registered: Jul 2012
Distribution: Slackware
Posts: 95

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by dunric View Post
I did modified the SlackBuild to work on Slackware64 current.
deluge.SlackBuild
boost-154.patch
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.
 
Old 09-02-2013, 02:34 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
@cisneros http://jungels.net/articles/diff-patch-ten-minutes.html
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware current multilib diwljina Slackware 6 07-21-2012 08:31 PM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
slackware-current 64 multilib portia Slackware 9 12-28-2009 10:08 AM
[SOLVED] -current, multilib, and KDE-4.3.4 mlangdn Slackware 12 12-23-2009 03:57 AM
Insomnia 0, 64-Current+Multilib 1 trxdraxon Slackware 2 12-22-2009 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration