Find the answer to your Linux question:
Results 1 to 3 of 3
I am running Debian Etch and I am trying to compile qBittorrent from source. I think I have all the dependencies installed and ./configure runs without any problems. But then ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2

    qBittorrent Problem - Make

    I am running Debian Etch and I am trying to compile qBittorrent from source. I think I have all the dependencies installed and ./configure runs without any problems. But then when I try to Make, I run into the errors below. I have libboost installed and it contains the asio/ files that it is supposed to find. Any help would be greatly appreciated, thank you.

    Code:
    cd src/ && make -f Makefile
    make[1]: Entering directory `/home/jamie/installs/qbittorrent-1.1.1/src'
    g++ -c -pipe -O2 -fwrapv -O2 -DTORRENT_USE_OPENSSL -pthread -I/usr/local/include -I/usr/local/include/libtorrent -I/usr/local/include/boost-1_35 -D_REENTRANT -Wall -W -DVERSION=\"v1.1.1\" -DVERSION_MAJOR=1 -DVERSION_MINOR=1 -DVERSION_BUGFIX=1 -DQT_NO_DEBUG_OUTPUT -DNDEBUG -DQT_4_4 -DHAVE_MAGICK -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.4.1/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/Qt-4.4.1/include/QtCore -I/usr/local/Trolltech/Qt-4.4.1/include/QtCore -I/usr/local/Trolltech/Qt-4.4.1/include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.1/include/QtNetwork -I/usr/local/Trolltech/Qt-4.4.1/include/QtGui -I/usr/local/Trolltech/Qt-4.4.1/include/QtGui -I/usr/local/Trolltech/Qt-4.4.1/include/QtXml -I/usr/local/Trolltech/Qt-4.4.1/include/QtXml -I/usr/local/Trolltech/Qt-4.4.1/include/QtDBus -I/usr/local/Trolltech/Qt-4.4.1/include/QtDBus -I/usr/local/Trolltech/Qt-4.4.1/include -I/usr/local/include -I/usr/local/include/libtorrent -I/usr/local/include/boost-1_35 -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o GUI.o GUI.cpp
    In file included from /usr/local/include/libtorrent/peer_info.hpp:38,
    from /usr/local/include/libtorrent/torrent_handle.hpp:50,
    from qtorrenthandle.h:25,
    from GUI.h:29,
    from GUI.cpp:41:
    /usr/local/include/libtorrent/socket.hpp:48:27: error: asio/ip/tcp.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:49:27: error: asio/ip/udp.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:50:31: error: asio/io_service.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:51:35: error: asio/deadline_timer.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:52:26: error: asio/write.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:53:27: error: asio/strand.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:54:32: error: asio/time_traits.hpp: No such file or directory
    /usr/local/include/libtorrent/socket.hpp:55:41: error: asio/basic_deadline_timer.hpp: No such file or directory
    /usr/local/include/libtorrent/time.hpp:157: error: ‘time_traits’ is not a template
    /usr/local/include/libtorrent/time.hpp:158: error: explicit specialization of non-template ‘asio::time_traits’
    /usr/local/include/libtorrent/socket.hpp:87: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:88: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:89: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:89: error: expected initializer before ‘stream_socket’
    /usr/local/include/libtorrent/socket.hpp:90: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:90: error: expected initializer before ‘address’
    /usr/local/include/libtorrent/socket.hpp:91: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:91: error: expected initializer before ‘address_v4’
    /usr/local/include/libtorrent/socket.hpp:92: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:92: error: expected initializer before ‘address_v6’
    /usr/local/include/libtorrent/socket.hpp:93: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:93: error: expected initializer before ‘datagram_socket’
    /usr/local/include/libtorrent/socket.hpp:94: error: ‘asio::ip’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:94: error: expected initializer before ‘socket_acceptor’
    /usr/local/include/libtorrent/socket.hpp:95: error: ‘io_service’ in namespace ‘asio’ does not name a type
    /usr/local/include/libtorrent/socket.hpp:97: error: ‘asio::async_write’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:98: error: ‘asio::error_code’ has not been declared
    /usr/local/include/libtorrent/socket.hpp:100: error: expected initializer before ‘’ token
    /usr/local/include/libtorrent/socket.hpp:102: error: ‘tcp’ has not been declared/usr/local/include/libtorrent/socket.hpp:102: error: expected ‘,’ or ‘...’ before ‘const’
    /usr/local/include/libtorrent/socket.hpp: In function ‘std::ostream& libtorrent::print_endpoint(std::ostream&, int)’:
    /usr/local/include/libtorrent/socket.hpp:104: error: ‘address’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:104: error: expected `;' before ‘const’/usr/local/include/libtorrent/socket.hpp:105: error: ‘error_code’ is not a member of ‘asio’
    /usr/local/include/libtorrent/socket.hpp:105: error: expected `;' before ‘ec’
    /usr/local/include/libtorrent/socket.hpp:106: error: ‘addr’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:106: error: ‘ec’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:113: error: ‘ep’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp: At global scope:
    /usr/local/include/libtorrent/socket.hpp:120: error: variable or field ‘write_address’ declared void
    /usr/local/include/libtorrent/socket.hpp:120: error: template declaration of ‘int libtorrent::detail::write_address’
    /usr/local/include/libtorrent/socket.hpp:120: error: ‘address’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:120: error: expected primary-expression before ‘&’ token
    /usr/local/include/libtorrent/socket.hpp:120: error: ‘out’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:135: error: expected constructor, destructor, or type conversion before ‘read_v4_address’
    /usr/local/include/libtorrent/socket.hpp:142: error: expected constructor, destructor, or type conversion before ‘read_v6_address’
    /usr/local/include/libtorrent/socket.hpp: In function ‘Endpoint libtorrent::detail::read_v4_endpoint(InIt&)’:
    /usr/local/include/libtorrent/socket.hpp:162: error: ‘address’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:162: error: expected `;' before ‘addr’
    /usr/local/include/libtorrent/socket.hpp:164: error: ‘addr’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp: In function ‘Endpoint libtorrent::detail::read_v6_endpoint(InIt&)’:
    /usr/local/include/libtorrent/socket.hpp:170: error: ‘address’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp:170: error: expected `;' before ‘addr’
    /usr/local/include/libtorrent/socket.hpp:172: error: ‘addr’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp: In member function ‘int libtorrent::v6only::level(const Protocol&) const’:
    /usr/local/include/libtorrent/socket.hpp:180: error: ‘IPPROTO_IPV6’ was not declared in this scope
    /usr/local/include/libtorrent/socket.hpp: In member function ‘int libtorrent::v6only::name(const Protocol&) const’:
    /usr/local/include/libtorrent/socket.hpp:182: error: ‘IPV6_V6ONLY’ was not declared in this scope
    /usr/local/include/libtorrent/peer_info.hpp: At global scope:
    /usr/local/include/libtorrent/peer_info.hpp:81: error: ‘tcp’ has not been declared
    /usr/local/include/libtorrent/peer_info.hpp:81: error: expected ‘;’ before ‘ip’
    /usr/local/include/libtorrent/session_settings.hpp:259: error: ‘address’ does not name a type
    /usr/local/include/libtorrent/intrusive_ptr_base.hpp:67: error: invalid use of ‘::’
    /usr/local/include/libtorrent/intrusive_ptr_base.hpp:67: error: expected ‘;’ before ‘’ token
    /usr/local/include/libtorrent/intrusive_ptr_base.hpp:70: error: expected `;' before ‘boost’
    /usr/local/include/libtorrent/intrusive_ptr_base.hpp:70: error: invalid use of ‘::’
    /usr/local/include/libtorrent/intrusive_ptr_base.hpp:70: error: expected ‘;’ before ‘’ token
    /usr/local/include/libtorrent/intrusive_ptr_base.hpp:73: error: expected `;' before ‘int’
    /usr/local/include/libtorrent/storage.hpp:294: error: invalid use of ‘::’
    /usr/local/include/libtorrent/storage.hpp:294: error: expected ‘;’ before ‘’ token
    /usr/local/include/libtorrent/storage.hpp: In member function ‘void libtorrent::piece_manager::release_files_impl()’:
    /usr/local/include/libtorrent/storage.hpp:282: error: ‘m_storage’ was not declared in this scope
    /usr/local/include/libtorrent/storage.hpp: In member function ‘void libtorrent::piece_manager::delete_files_impl()’:
    /usr/local/include/libtorrent/storage.hpp:283: error: ‘m_storage’ was not declared in this scope
    /usr/local/include/libtorrent/torrent_handle.hpp: At global scope:
    /usr/local/include/libtorrent/torrent_handle.hpp:246: error: ‘tcp’ has not been declared
    /usr/local/include/libtorrent/torrent_handle.hpp:246: error: expected ‘;’ before ‘peer’
    /usr/local/include/libtorrent/torrent_handle.hpp:383: error: ‘tcp’ has not been declared
    /usr/local/include/libtorrent/torrent_handle.hpp:383: error: expected ‘,’ or ‘...’ before ‘ip’
    /usr/local/include/libtorrent/torrent_handle.hpp:384: error: ‘tcp’ has not been declared
    /usr/local/include/libtorrent/torrent_handle.hpp:384: error: expected ‘,’ or ‘...’ before ‘ip’
    /usr/local/include/libtorrent/torrent_handle.hpp:387: error: ‘tcp’ has not been declared
    /usr/local/include/libtorrent/torrent_handle.hpp:387: error: expected ‘,’ or ‘...’ before ‘const’
    /usr/local/include/libtorrent/ip_filter.hpp:59: error: declaration of ‘operator=’ as non-function
    /usr/local/include/libtorrent/ip_filter.hpp:59: error: ‘address’ was not declared in this scope
    /usr/local/include/libtorrent/ip_filter.hpp:60: error: ‘address’ was not declared in this scope
    /usr/local/include/libtorrent/ip_filter.hpp:280: error: ‘address’ has not been declared
    /usr/local/include/libtorrent/ip_filter.hpp:280: error: ‘address’ has not been declared
    /usr/local/include/libtorrent/ip_filter.hpp:281: error: ‘address’ has not been declared
    /usr/local/include/libtorrent/ip_filter.hpp:283: error: ‘address_v4’ was not declared in this scope
    /usr/local/include/libtorrent/ip_filter.hpp:283: error: template argument 1 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:283: error: template argument 1 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:283: error: template argument 2 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:284: error: ‘address_v6’ was not declared in this scope
    /usr/local/include/libtorrent/ip_filter.hpp:284: error: template argument 1 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:284: error: template argument 1 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:284: error: template argument 2 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:284: error: template argument 1 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:284: error: template argument 2 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:292: error: ‘address_v4’ was not declared in this scope
    /usr/local/include/libtorrent/ip_filter.hpp:292: error: template argument 1 is invalid
    /usr/local/include/libtorrent/ip_filter.hpp:293: error: ‘address_v6’ was not declared in this scope
    /usr/local/include/libtorrent/ip_filter.hpp:293: error: template argument 1 is invalid
    make[1]: *** [GUI.o] Error 1
    make[1]: Leaving directory `/home/jamie/installs/qbittorrent-1.1.1/src'
    make: *** [sub-src-make_default] Error 2

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    It seems that all of the errors generated in libtorrent.
    Have you installed libtorrent-dev package?

  3. #3
    Just Joined!
    Join Date
    Aug 2008
    Posts
    2
    I found out that my problem was that I had read that libboost contained asio, but it is only libboost1-35, while I had 1-33 installed...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •