I'm going nuts trying to get rtorrent to build.  I need to build it with 
xmlrpc-c
So far i've had no trouble getting xmlrpc-c and libtorrent to build but 
rtorrent gives me major issues.
I tried with and without the patches from this site:
http://libtorrent.rakshasa.no/ticket/1935

When i google some of the errors i have it mentions something about missing 
libncurses-dev but i've got ncurses installed....I can't FIND a ncurses-dev 
package for solaris.

Any help would be appreciated

i end with these errors:


g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../..    -g -O2 -g -DDEBUG 
-I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include   
-I/usr/include/curl   -I/usr/local/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: 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:75: error: ISO C++ forbids declaration of `c' with no type
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:83: error: ISO C++ forbids declaration of `ls' with no type
canvas.h:83: error: ISO C++ forbids declaration of `rs' with no type
canvas.h:83: error: ISO C++ forbids declaration of `ts' with no type
canvas.h:83: error: ISO C++ forbids declaration of `bs' with no type
canvas.h:83: error: ISO C++ forbids declaration of `tl' with no type
canvas.h:83: error: ISO C++ forbids declaration of `tr' with no type
canvas.h:83: error: ISO C++ forbids declaration of `bl' with no type
canvas.h:83: error: ISO C++ forbids declaration of `br' with no type
canvas.h:94: error: expected `,' or `...' before "ch"
canvas.h:94: error: ISO C++ forbids declaration of `chtype' with no type
canvas.h:95: error: expected `,' or `...' before "ch"
canvas.h:95: error: ISO C++ forbids declaration of `chtype' with no type
canvas.h:118: error: ISO C++ forbids declaration of `WINDOW' with no type
canvas.h:118: error: expected `;' before '*' token
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' undeclared (first use this function)
canvas.h:52: error: (Each undeclared identifier is reported only once for each 
function it appears in.)
canvas.h: In destructor `display::Canvas::~Canvas()':
canvas.h:53: error: `m_window' undeclared (first use this function)
canvas.h:53: error: `delwin' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::refresh()':
canvas.h:55: error: `m_window' undeclared (first use this function)
canvas.h:55: error: `wnoutrefresh' undeclared (first use this function)
canvas.h: In static member function `static void 
display::Canvas::refresh_std()':
canvas.h:56: error: `stdscr' undeclared (first use this function)
canvas.h:56: error: `wnoutrefresh' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::redraw()':
canvas.h:57: error: `m_window' undeclared (first use this function)
canvas.h:57: error: `redrawwin' undeclared (first use this function)
canvas.h: In static member function `static void display::Canvas::redraw_std()':
canvas.h:58: error: `stdscr' undeclared (first use this function)
canvas.h:58: error: `redrawwin' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::resize(int, int)':
canvas.h:60: error: `m_window' undeclared (first use this function)
canvas.h:60: error: `wresize' undeclared (first use this function)
canvas.h: In static member function `static void 
display::Canvas::resize_term(int, int)':
canvas.h:63: error: `resizeterm' undeclared (first use this function)
canvas.h: In static member function `static void 
display::Canvas::resize_term(std::pair<int, int>)':
canvas.h:64: error: `resizeterm' undeclared (first use this function)
canvas.h: In member function `unsigned int display::Canvas::get_x()':
canvas.h:66: error: `m_window' undeclared (first use this function)
canvas.h:66: error: `getyx' undeclared (first use this function)
canvas.h: In member function `unsigned int display::Canvas::get_y()':
canvas.h:67: error: `m_window' undeclared (first use this function)
canvas.h:67: error: `getyx' undeclared (first use this function)
canvas.h: In member function `unsigned int display::Canvas::width()':
canvas.h:69: error: `m_window' undeclared (first use this function)
canvas.h:69: error: `getmaxyx' undeclared (first use this function)
canvas.h: In member function `unsigned int display::Canvas::height()':
canvas.h:70: error: `m_window' undeclared (first use this function)
canvas.h:70: error: `getmaxyx' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::move(unsigned int, unsigned 
int)':
canvas.h:72: error: `m_window' undeclared (first use this function)
canvas.h:72: error: `wmove' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::set_background(int)':
canvas.h:75: error: `m_window' undeclared (first use this function)
canvas.h:75: error: `wbkgdset' undeclared (first use this function)
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' undeclared (first use this function)
canvas.h:77: error: `werase' undeclared (first use this function)
canvas.h: In static member function `static void display::Canvas::erase_std()':
canvas.h:78: error: `stdscr' undeclared (first use this function)
canvas.h:78: error: `werase' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::print_border(int, int, int, 
int, int, int, int, int)':
canvas.h:83: error: `m_window' undeclared (first use this function)
canvas.h:83: error: `wborder' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::print_char(int)':
canvas.h:94: error: `m_window' undeclared (first use this function)
canvas.h:94: error: `ch' undeclared (first use this function)
canvas.h:94: error: `waddch' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::print_char(unsigned int, 
unsigned int, int)':
canvas.h:95: error: `m_window' undeclared (first use this function)
canvas.h:95: error: `ch' undeclared (first use this function)
canvas.h:95: error: `mvwaddch' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::set_attr(unsigned int, 
unsigned int, unsigned int, int, int)':
canvas.h:97: error: `m_window' undeclared (first use this function)
canvas.h:97: error: `mvwchgat' undeclared (first use this function)
canvas.h: In member function `void 
display::Canvas::set_default_attributes(int)':
canvas.h:99: error: `m_window' undeclared (first use this function)
canvas.h:99: error: `wattrset' undeclared (first use this function)
canvas.h: In static member function `static int 
display::Canvas::get_screen_width()':
canvas.h:105: error: `stdscr' undeclared (first use this function)
canvas.h:105: error: `getmaxyx' undeclared (first use this function)
canvas.h: In static member function `static int 
display::Canvas::get_screen_height()':
canvas.h:106: error: `stdscr' undeclared (first use this function)
canvas.h:106: error: `getmaxyx' undeclared (first use this function)
canvas.h: In static member function `static void display::Canvas::do_update()':
canvas.h:110: error: `doupdate' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::print(const char*, ...)':
canvas.h:125: error: `va_start' undeclared (first use this function)
canvas.h:126: error: `m_window' undeclared (first use this function)
canvas.h:126: error: `vw_printw' undeclared (first use this function)
canvas.h:127: error: `va_end' undeclared (first use this function)
canvas.h: In member function `void display::Canvas::print(unsigned int, 
unsigned int, const char*, ...)':
canvas.h:134: error: `va_start' undeclared (first use this function)
canvas.h:135: error: `m_window' undeclared (first use this function)
canvas.h:135: error: `wmove' undeclared (first use this function)
canvas.h:136: error: `vw_printw' undeclared (first use this function)
canvas.h:137: error: `va_end' undeclared (first use this function)
canvas.cc: In member function `void display::Canvas::resize(int, int, int, 
int)':
canvas.cc:52: error: `m_window' undeclared (first use this function)
canvas.cc:52: error: `wresize' undeclared (first use this function)
canvas.cc:53: error: `mvwin' undeclared (first use this function)
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' undeclared (first use this function)
canvas.cc:60: error: expected `;' before "org_attr"
canvas.cc:62: error: `m_window' undeclared (first use this function)
canvas.cc:62: error: `org_attr' undeclared (first use this function)
canvas.cc:62: error: `wattr_get' undeclared (first use this function)
canvas.cc:65: error: `wattr_set' undeclared (first use this function)
canvas.cc: In static member function `static void 
display::Canvas::initialize()':
canvas.cc:94: error: `initscr' undeclared (first use this function)
canvas.cc:95: error: `raw' undeclared (first use this function)
canvas.cc:96: error: `noecho' undeclared (first use this function)
canvas.cc:97: error: `stdscr' undeclared (first use this function)
canvas.cc:97: error: `TRUE' undeclared (first use this function)
canvas.cc:97: error: `nodelay' undeclared (first use this function)
canvas.cc:98: error: `keypad' undeclared (first use this function)
canvas.cc:99: error: `curs_set' undeclared (first use this function)
canvas.cc: In static member function `static void display::Canvas::cleanup()':
canvas.cc:109: error: `noraw' undeclared (first use this function)
canvas.cc:110: error: `endwin' undeclared (first use this function)
make[3]: *** [canvas.o] Error 1
make[3]: Leaving directory `/root/rtorrent-0.8.6/src/display'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rtorrent-0.8.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rtorrent-0.8.6'
make: *** [all] Error 2
-- 
This message posted from opensolaris.org

Reply via email to