CPPSERV


Home Projects Jobs Clientele Contact

cppserv


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile errors in gentoo 2006.1



Hi
I used gentoo 2006.1 to compile cppserv-0.1.94 and got following error:

make[1]: Entering directory `/home/noniko/source/cppserv-0.1.94'
Compiling src/libcserv/GenericServlet.cpp
In file included from
/home/noniko/source/cppserv-0.1.94/include/servlet/Servlet.h:58,
 from /home/noniko/source/cppserv-0.1.94/include/servlet/GenericServlet.h:60
,
from src/libcserv/GenericServlet.cpp:53:
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:63:32:
error: boost/shar
ed_ptr.hpp: No such file or directory
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:120:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:120:
error: 'shared_ptr' declared as a 'virtual' field
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:120:
error: expected ';' before '<' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:187:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:187:
error: expected ',' or '...' before '<' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h: In
member function 'T servlet::ServletRequest::getAttribute(const
std::string&)':
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:548:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:548:
error: expected initializer before '<' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:549:
error: 'value' was not declared in this scope
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:551:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:551:
error: expected primary-expression before '>' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:551:
error: 'value' was not declared in this scope
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h: In
member function 'void servlet::ServletRequest::setAttribute(const
std::string&, const T&)':
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:555:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletRequest.h:555:
error: expected primary-expression before 'void'
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h: At
global scope:
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:492:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:492:
error: 'shared_ptr'
 declared as a 'virtual' field
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:492:
error: expected ';' before '<' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:541:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:541:
error: expected ',' or '...' before '<' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h: In
member function 'T servlet::ServletContext::getAttribute(const
std::string&)':
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:591:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:591:
error: expected initializer before '<' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:592:
error: 'value' was not declared in this scope
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:594:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:594:
error: expected primary-expression before '>' token
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:594:
error: 'value' was not declared in this scope
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h: In
member function 'void servlet::ServletContext::setAttribute(const
std::string&, const T&)':
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:598:
error: 'boost' has not been declared
/home/noniko/source/cppserv-0.1.94/include/servlet/ServletContext.h:598:
error: expected primary-expression before 'void'
make[1]: *** [debug/./src/libcserv/GenericServlet.o] Error 1
make[1]: Leaving directory `/home/noniko/source/cppserv-0.1.94'
make: *** [all] Error 2

Is it because current gentoo uses gcc4.1?
How can I get gentoo environment using gcc3.3?

noniko

Authoright © Total Knowledge: 2001-2008