Ir para conteúdo
  • 0

[Dúvida] [Nível Avançado] Distro Em Linux Ubuntu


W0lfer

Pergunta

Galera, eu estava com um erro para compilar um OTServer 9.7 no Linux Ubuntu, então me indicaram executar esses comandos e instalar esse boost.

 

 

wget http://ufpr.dl.sourc...t_1_51_0.tar.gz

tar -vzxf boost*

cd boost*

./b2 install --prefix=/usr/

 

Tá, fiz isso e instalei o tal boost 1.51.0 mas isso só piorou o problema, agora quando vou compilar, acontece esse erro abaixo:

 

In file included from /usr/include/boost/regex/v4/regex.hpp:70,

from /usr/include/boost/regex.hpp:31,

from otpch.h:37,

from actions.cpp:17:

/usr/include/boost/regex/v4/basic_regex_creator.hpp: In member function âvoid boost::re_detail::basic_regex_creator<charT, traits>::fixup_recursions(boost::re_detail::re_syntax_base*)â:

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: expected type-specifier before âre_recurseâ

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: expected â>â before âre_recurseâ

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: expected â(â before âre_recurseâ

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: âre_recurseâ was not declared in this scope

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: expected primary-expression before â>â token

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: âstruct boost::re_detail::re_syntax_baseâ has no member named âstate_idâ

/usr/include/boost/regex/v4/basic_regex_creator.hpp:852: error: expected â)â before â;â token

In file included from /usr/include/boost/regex/v4/regex.hpp:73,

from /usr/include/boost/regex.hpp:31,

from otpch.h:37,

from actions.cpp:17:

/usr/include/boost/regex/v4/basic_regex_parser.hpp: In member function âbool boost::re_detail::basic_regex_parser<charT, traits>::parse_perl_extension()â:

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1917: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1981: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: âre_recurseâ was not declared in this scope

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: âprâ was not declared in this scope

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: expected type-specifier before âre_recurseâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: expected â>â before âre_recurseâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: expected â(â before âre_recurseâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: expected primary-expression before â>â token

/usr/include/boost/regex/v4/basic_regex_parser.hpp:1986: error: expected â)â before â;â token

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2005: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2028: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2054: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2095: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2104: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2114: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2127: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2143: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2151: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2165: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2176: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2184: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2192: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2206: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2216: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2224: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2237: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2245: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2257: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2265: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2275: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2284: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2297: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2309: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2334: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2344: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2361: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2377: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2391: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2405: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2422: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2446: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2472: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

/usr/include/boost/regex/v4/basic_regex_parser.hpp:2518: error: âerror_perl_extensionâ is not a member of âboost::regex_constantsâ

In file included from /usr/include/boost/regex/v4/perl_matcher.hpp:581,

from /usr/include/boost/regex/v4/regex.hpp:88,

from /usr/include/boost/regex.hpp:31,

from otpch.h:37,

from actions.cpp:17:

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function âbool boost::re_detail::perl_matcher<BidiIterator, Allocator, traits>::match_recursion()â:

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:908: error: expected â>â before âre_recurseâ

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:908: error: expected â(â before âre_recurseâ

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:908: error: âre_recurseâ was not declared in this scope

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:908: error: expected primary-expression before â>â token

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:908: error: âconst struct boost::re_detail::re_syntax_baseâ has no member named âstate_idâ

/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:909: error: expected â)â before â{â token

In file included from /usr/include/boost/date_time/gregorian_calendar.hpp:63,

from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:14,

from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19,

from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18,

from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,

from /usr/include/boost/date_time/posix_time/ptime.hpp:12,

from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,

from /usr/include/boost/asio/time_traits.hpp:21,

from /usr/include/boost/asio/deadline_timer_service.hpp:22,

from /usr/include/boost/asio/basic_deadline_timer.hpp:21,

from /usr/include/boost/asio.hpp:21,

from otsystem.h:33,

from luascript.h:20,

from configmanager.h:20,

from otpch.h:40,

from actions.cpp:17:

/usr/include/boost/date_time/gregorian_calendar.ipp: At global scope:

/usr/include/boost/date_time/gregorian_calendar.ipp:103: error: prototype for âdate_int_type_ boost::date_time::gregorian_calendar_base<ymd_type_, date_int_type_>::modjulian_day_number(const ymd_type_&)â does not match any in class âboost::date_time::gregorian_calendar_base<ymd_type_, date_int_type_>â

/usr/include/boost/date_time/gregorian_calendar.hpp:47: error: candidate is: static long int boost::date_time::gregorian_calendar_base<ymd_type_, date_int_type_>::modjulian_day_number(const ymd_type_&)

/usr/include/boost/date_time/gregorian_calendar.ipp:152: error: prototype for âymd_type_ boost::date_time::gregorian_calendar_base<ymd_type_, date_int_type_>::from_modjulian_day_number(date_int_type_)â does not match any in class âboost::date_time::gregorian_calendar_base<ymd_type_, date_int_type_>â

/usr/include/boost/date_time/gregorian_calendar.hpp:50: error: candidate is: static ymd_type_ boost::date_time::gregorian_calendar_base<ymd_type_, date_int_type_>::from_modjulian_day_number(long int)

In file included from /usr/include/boost/thread/future.hpp:24,

from /usr/include/boost/thread.hpp:24,

from otsystem.h:34,

from luascript.h:20,

from configmanager.h:20,

from otpch.h:40,

from actions.cpp:17:

/usr/include/boost/exception_ptr.hpp:43: error: expected class-name before â{â token

make[1]: ** [actions.o] Erro 1

 

 

Se alguem puder ajudar a desfazer os comandos do início ou solucionar o problema de outra forma eu agradeço

Link para o comentário
Compartilhar em outros sites

4 respostass a esta questão

Posts Recomendados

  • 0

sudo apt-get update
sudo apt-get install gcc
sudo apt-get install g++  
sudo apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev libluajit-5.1-dev

 

Mande isso e depois tente compilar de novo.

 

 

Link para o comentário
Compartilhar em outros sites

  • 0

Deu o mesmo erro, ja tinha tudo que voce mandou no vps :X

 

Oque acabou com o VPS foi os comandos que eu coloquei em primeiro, pois antes nao dava esse erro.

Editado por W0lfer
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...