Ir para conteúdo
Banner com Efeitos

Featured Replies

Postado

Estou tentando compilar a source, mas só dá esse error, alguem poderia me ajudar a resolver isso? estou tentando dxa um ot online usando a vps do google clound.  já conseguir resolver uma vez, mas agora nao to conseguindo. alguem pode me ajudar pfv?

 

esse arquivo "mysql.h" não  tô sabendo como instalar ele.

 

 

 

Citar

otxserver 2.5

Using LuaJIT................ : no
Using ground cache.......... : no
Server diagnostics.......... : yes
Home-directory configuration : no
Root run permission......... : yes
Login server mode........... : no
OTAdmin protocol............ : no
OTServ custom allocator..... : no
Debug build................. : no

Build with MySQL............ : yes
Build with MySQL++Connector. : no
Build with SQLite........... : no
Build with PostgreSQL....... : no

Configure complete, now you may type './build.sh'.
root@baiak:/home/otserv/trunk# ./build.sh;
The OTX Server build script -
Using ccache
CCache binaries located in /usr/lib/ccache

Start building on 2 cores, using 3 processes

make  all-am
make[1]: Entering directory '/home/otserv/trunk'
  CXX      actions.o
  CXX      allocator.o
  CXX      baseevents.o
In file included from luascript.h:42:0,
                 from configmanager.h:20,
                 from otpch.h:40,
                 from allocator.cpp:17:
database.h:25:19: fatal error: mysql.h: No such file or directory
compilation terminated.
Makefile:570: recipe for target 'allocator.o' failed
make[1]: *** [allocator.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from luascript.h:42:0,
                 from configmanager.h:20,
                 from otpch.h:40,
                 from baseevents.cpp:17:
database.h:25:19: fatal error: mysql.h: No such file or directory
compilation terminated.
Makefile:570: recipe for target 'baseevents.o' failed
make[1]: *** [baseevents.o] Error 1
In file included from luascript.h:42:0,
                 from configmanager.h:20,
                 from otpch.h:40,
                 from actions.cpp:17:
database.h:25:19: fatal error: mysql.h: No such file or directory
compilation terminated.
Makefile:570: recipe for target 'actions.o' failed
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory '/home/otserv/trunk'
Makefile:419: recipe for target 'all' failed
make: *** [all] Error 2
root@baiak:/home/otserv/trunk# sl
The program 'sl' is currently not installed. You can install it by typing:

 

 

 

 

Editado por Everaldo Woopz (veja o histórico de edições)

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo