Mam taki problem z instalacją rTorrenta 0.8.5
Zainstalowałem libTorrent 0.12.5 z paczek .tar.bz2, a przy instalacji rTorrenta występuje:
Kod: Zaznacz cały
make all-recursive
make[1]: Wejście do katalogu `/home/dlh/Pobrane/rtorrent-0.8.5'
Making all in doc
make[2]: Wejście do katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/doc'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/doc'
Making all in src
make[2]: Wejście do katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/src'
Making all in core
make[3]: Wejście do katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/src/core'
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT curl_get.o -MD -MP -MF .deps/curl_get.Tpo -c -o curl_get.o curl_get.cc
mv -f .deps/curl_get.Tpo .deps/curl_get.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT curl_socket.o -MD -MP -MF .deps/curl_socket.Tpo -c -o curl_socket.o curl_socket.cc
mv -f .deps/curl_socket.Tpo .deps/curl_socket.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT curl_stack.o -MD -MP -MF .deps/curl_stack.Tpo -c -o curl_stack.o curl_stack.cc
mv -f .deps/curl_stack.Tpo .deps/curl_stack.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT dht_manager.o -MD -MP -MF .deps/dht_manager.Tpo -c -o dht_manager.o dht_manager.cc
dht_manager.cc: In member function ?bool core::DhtManager::log_statistics(bool)?:
dht_manager.cc:269: warning: format ?%lld? expects type ?long long int?, but argument 7 has type ?uint64_t?
dht_manager.cc:269: warning: format ?%lld? expects type ?long long int?, but argument 8 has type ?uint64_t?
dht_manager.cc:269: warning: format ?%lld? expects type ?long long int?, but argument 7 has type ?uint64_t?
dht_manager.cc:269: warning: format ?%lld? expects type ?long long int?, but argument 8 has type ?uint64_t?
mv -f .deps/dht_manager.Tpo .deps/dht_manager.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT download.o -MD -MP -MF .deps/download.Tpo -c -o download.o download.cc
mv -f .deps/download.Tpo .deps/download.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT download_factory.o -MD -MP -MF .deps/download_factory.Tpo -c -o download_factory.o download_factory.cc
mv -f .deps/download_factory.Tpo .deps/download_factory.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT download_list.o -MD -MP -MF .deps/download_list.Tpo -c -o download_list.o download_list.cc
mv -f .deps/download_list.Tpo .deps/download_list.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT download_store.o -MD -MP -MF .deps/download_store.Tpo -c -o download_store.o download_store.cc
mv -f .deps/download_store.Tpo .deps/download_store.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT http_queue.o -MD -MP -MF .deps/http_queue.Tpo -c -o http_queue.o http_queue.cc
mv -f .deps/http_queue.Tpo .deps/http_queue.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.cc
mv -f .deps/log.Tpo .deps/log.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cc
mv -f .deps/manager.Tpo .deps/manager.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT poll_manager.o -MD -MP -MF .deps/poll_manager.Tpo -c -o poll_manager.o poll_manager.cc
mv -f .deps/poll_manager.Tpo .deps/poll_manager.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT poll_manager_epoll.o -MD -MP -MF .deps/poll_manager_epoll.Tpo -c -o poll_manager_epoll.o poll_manager_epoll.cc
mv -f .deps/poll_manager_epoll.Tpo .deps/poll_manager_epoll.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT poll_manager_kqueue.o -MD -MP -MF .deps/poll_manager_kqueue.Tpo -c -o poll_manager_kqueue.o poll_manager_kqueue.cc
mv -f .deps/poll_manager_kqueue.Tpo .deps/poll_manager_kqueue.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT poll_manager_select.o -MD -MP -MF .deps/poll_manager_select.Tpo -c -o poll_manager_select.o poll_manager_select.cc
mv -f .deps/poll_manager_select.Tpo .deps/poll_manager_select.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT view.o -MD -MP -MF .deps/view.Tpo -c -o view.o view.cc
mv -f .deps/view.Tpo .deps/view.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT view_manager.o -MD -MP -MF .deps/view_manager.Tpo -c -o view_manager.o view_manager.cc
mv -f .deps/view_manager.Tpo .deps/view_manager.Po
rm -f libsub_core.a
ar cru libsub_core.a curl_get.o curl_socket.o curl_stack.o dht_manager.o download.o download_factory.o download_list.o download_store.o http_queue.o log.o manager.o poll_manager.o poll_manager_epoll.o poll_manager_kqueue.o poll_manager_select.o view.o view_manager.o
ranlib libsub_core.a
make[3]: Opuszczenie katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/src/core'
Making all in display
make[3]: Wejście do katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/src/display'
g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -g -O2 -g -DDEBUG -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/local/include -MT canvas.o -MD -MP -MF .deps/canvas.Tpo -c -o canvas.o canvas.cc
In file included from canvas.h:43,
from canvas.cc:44:
attributes.h:42:21: error: ncurses.h: No such file or directory
In file included from canvas.h:43,
from canvas.cc:44:
attributes.h:54: error: ?A_NORMAL? was not declared in this scope
attributes.h:55: error: ?A_BOLD? was not declared in this scope
attributes.h:56: error: ?A_REVERSE? was not declared in this scope
In file included from canvas.cc:44:
canvas.h:74: error: ?chtype? does not name a type
canvas.h:75: error: ?chtype? has not been declared
canvas.h:80: error: ?chtype? has not been declared
canvas.h:80: error: ?chtype? has not been declared
canvas.h:81: error: ?chtype? has not been declared
canvas.h:81: error: ?chtype? has not been declared
canvas.h:82: error: ?chtype? has not been declared
canvas.h:82: error: ?chtype? has not been declared
canvas.h:83: error: ?chtype? has not been declared
canvas.h:83: error: ?chtype? has not been declared
canvas.h:94: error: ISO C++ forbids declaration of ?chtype? with no type
canvas.h:94: error: expected ?,? or ?...? before ?ch?
canvas.h:95: error: ISO C++ forbids declaration of ?chtype? with no type
canvas.h:95: error: expected ?,? or ?...? before ?ch?
canvas.h:118: error: ISO C++ forbids declaration of ?WINDOW? with no type
canvas.h:118: error: expected ?;? before ?*? token
In file included from canvas.cc:44:
canvas.h: In constructor ?display::Canvas::Canvas(int, int, int, int)?:
canvas.h:52: error: class ?display::Canvas? does not have any field named ?m_window?
canvas.h:52: error: ?newwin? was not declared in this scope
canvas.h: In destructor ?display::Canvas::~Canvas()?:
canvas.h:53: error: ?m_window? was not declared in this scope
canvas.h:53: error: ?delwin? was not declared in this scope
canvas.h: In member function ?void display::Canvas::refresh()?:
canvas.h:55: error: ?m_window? was not declared in this scope
canvas.h:55: error: ?wnoutrefresh? was not declared in this scope
canvas.h: In static member function ?static void display::Canvas::refresh_std()?:
canvas.h:56: error: ?stdscr? was not declared in this scope
canvas.h:56: error: ?wnoutrefresh? was not declared in this scope
canvas.h: In member function ?void display::Canvas::redraw()?:
canvas.h:57: error: ?m_window? was not declared in this scope
canvas.h:57: error: ?redrawwin? was not declared in this scope
canvas.h: In static member function ?static void display::Canvas::redraw_std()?:
canvas.h:58: error: ?stdscr? was not declared in this scope
canvas.h:58: error: ?redrawwin? was not declared in this scope
canvas.h: In member function ?void display::Canvas::resize(int, int)?:
canvas.h:60: error: ?m_window? was not declared in this scope
canvas.h:60: error: ?wresize? was not declared in this scope
canvas.h: In static member function ?static void display::Canvas::resize_term(int, int)?:
canvas.h:63: error: ?resizeterm? was not declared in this scope
canvas.h: In static member function ?static void display::Canvas::resize_term(std::pair<int, int>)?:
canvas.h:64: error: ?resizeterm? was not declared in this scope
canvas.h: In member function ?unsigned int display::Canvas::get_x()?:
canvas.h:66: error: ?m_window? was not declared in this scope
canvas.h:66: error: ?getyx? was not declared in this scope
canvas.h: In member function ?unsigned int display::Canvas::get_y()?:
canvas.h:67: error: ?m_window? was not declared in this scope
canvas.h:67: error: ?getyx? was not declared in this scope
canvas.h: In member function ?unsigned int display::Canvas::width()?:
canvas.h:69: error: ?m_window? was not declared in this scope
canvas.h:69: error: ?getmaxyx? was not declared in this scope
In file included from canvas.cc:44:
canvas.h: In member function ?unsigned int display::Canvas::height()?:
canvas.h:70: error: ?m_window? was not declared in this scope
canvas.h:70: error: ?getmaxyx? was not declared in this scope
canvas.h: In member function ?void display::Canvas::move(unsigned int, unsigned int)?:
canvas.h:72: error: ?m_window? was not declared in this scope
canvas.h:72: error: ?wmove? was not declared in this scope
canvas.h: In member function ?void display::Canvas::set_background(int)?:
canvas.h:75: error: ?m_window? was not declared in this scope
canvas.h:75: error: ?wbkgdset? was not declared in this scope
canvas.h:75: error: return-statement with a value, in function returning 'void'
canvas.h: In member function ?void display::Canvas::erase()?:
canvas.h:77: error: ?m_window? was not declared in this scope
canvas.h:77: error: ?werase? was not declared in this scope
canvas.h: In static member function ?static void display::Canvas::erase_std()?:
canvas.h:78: error: ?stdscr? was not declared in this scope
canvas.h:78: error: ?werase? was not declared in this scope
canvas.h: In member function ?void display::Canvas::print_border(int, int, int, int, int, int, int, int)?:
canvas.h:83: error: ?m_window? was not declared in this scope
canvas.h:83: error: ?wborder? was not declared in this scope
canvas.h: In member function ?void display::Canvas::print_char(int)?:
canvas.h:94: error: ?m_window? was not declared in this scope
canvas.h:94: error: ?ch? was not declared in this scope
canvas.h:94: error: ?waddch? was not declared in this scope
canvas.h: In member function ?void display::Canvas::print_char(unsigned int, unsigned int, int)?:
canvas.h:95: error: ?m_window? was not declared in this scope
canvas.h:95: error: ?ch? was not declared in this scope
canvas.h:95: error: ?mvwaddch? was not declared in this scope
canvas.h: In member function ?void display::Canvas::set_attr(unsigned int, unsigned int, unsigned int, int, int)?:
canvas.h:97: error: ?m_window? was not declared in this scope
canvas.h:97: error: ?mvwchgat? was not declared in this scope
canvas.h: In member function ?void display::Canvas::set_default_attributes(int)?:
canvas.h:99: error: ?m_window? was not declared in this scope
canvas.h:99: error: ?wattrset? was not declared in this scope
canvas.h: In static member function ?static int display::Canvas::get_screen_width()?:
canvas.h:105: error: ?stdscr? was not declared in this scope
canvas.h:105: error: ?getmaxyx? was not declared in this scope
canvas.h: In static member function ?static int display::Canvas::get_screen_height()?:
canvas.h:106: error: ?stdscr? was not declared in this scope
canvas.h:106: error: ?getmaxyx? was not declared in this scope
canvas.h: In static member function ?static void display::Canvas::do_update()?:
canvas.h:110: error: ?doupdate? was not declared in this scope
canvas.h: In member function ?void display::Canvas::print(const char*, ...)?:
canvas.h:123: error: ?va_list? was not declared in this scope
canvas.h:123: error: expected ?;? before ?arglist?
canvas.h:125: error: ?arglist? was not declared in this scope
canvas.h:125: error: ?va_start? was not declared in this scope
canvas.h:126: error: ?m_window? was not declared in this scope
canvas.h:126: error: ?vw_printw? was not declared in this scope
canvas.h:127: error: ?va_end? was not declared in this scope
canvas.h: In member function ?void display::Canvas::print(unsigned int, unsigned int, const char*, ...)?:
canvas.h:132: error: ?va_list? was not declared in this scope
canvas.h:132: error: expected ?;? before ?arglist?
canvas.h:134: error: ?arglist? was not declared in this scope
canvas.h:134: error: ?va_start? was not declared in this scope
canvas.h:135: error: ?m_window? was not declared in this scope
canvas.h:135: error: ?wmove? was not declared in this scope
canvas.h:136: error: ?vw_printw? was not declared in this scope
canvas.h:137: error: ?va_end? was not declared in this scope
canvas.cc: In member function ?void display::Canvas::resize(int, int, int, int)?:
canvas.cc:52: error: ?m_window? was not declared in this scope
canvas.cc:52: error: ?wresize? was not declared in this scope
canvas.cc:53: error: ?mvwin? was not declared in this scope
canvas.cc: In member function ?void display::Canvas::print_attributes(unsigned int, unsigned int, const char*, const char*, const std::vector<display::Attributes, std::allocator<display::Attributes> >*)?:
canvas.cc:60: error: ?attr_t? was not declared in this scope
canvas.cc:60: error: expected ?;? before ?org_attr?
canvas.cc:62: error: ?m_window? was not declared in this scope
canvas.cc:62: error: ?org_attr? was not declared in this scope
canvas.cc:62: error: ?wattr_get? was not declared in this scope
canvas.cc:65: error: ?wattr_set? was not declared in this scope
canvas.cc: In static member function ?static void display::Canvas::initialize()?:
canvas.cc:94: error: ?initscr? was not declared in this scope
canvas.cc:95: error: ?raw? was not declared in this scope
canvas.cc:96: error: ?noecho? was not declared in this scope
canvas.cc:97: error: ?stdscr? was not declared in this scope
canvas.cc:97: error: ?TRUE? was not declared in this scope
canvas.cc:97: error: ?nodelay? was not declared in this scope
canvas.cc:98: error: ?keypad? was not declared in this scope
canvas.cc:99: error: ?curs_set? was not declared in this scope
canvas.cc: In static member function ?static void display::Canvas::cleanup()?:
canvas.cc:109: error: ?noraw? was not declared in this scope
canvas.cc:110: error: ?endwin? was not declared in this scope
make[3]: *** [canvas.o] Błąd 1
make[3]: Opuszczenie katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/src/display'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/dlh/Pobrane/rtorrent-0.8.5/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/dlh/Pobrane/rtorrent-0.8.5'
make: *** [all] Błąd 2