Postado Julho 7, 2018 6 anos Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Base: baiak 8.6 tfs 0.4 Qual erro está surgindo/O que você procura? quando eu tinha o debian 8.7 eu dava 2 comando no putty e ja comessava a compilar a source make clean e depois make mas agora que troquei de vps para a lgvhost o debian deles e so o 8.11 e nao compila com esses comandos da erro alguem pode me ajudar?? root@localhost-95:/home/sourceotx# make clean rm -f obj/actions.o obj/cylinder.o obj/inputbox.o obj/monster.o obj/protocol.o obj/status.o obj/admin.o obj/database.o obj/databasemanager.o obj/ioban.o obj/monsters.o obj/protocolgame.o obj/talkaction.o obj/allocator.o obj/depot.o obj/ioguild.o obj/movement.o obj/protocolhttp.o obj/teleport.o obj/baseevents.o obj/dispatcher.o obj/iologindata.o obj/networkmessage.o obj/protocollogin.o obj/textlogger.o obj/beds.o obj/exception.o obj/iomap.o obj/npc.o obj/protocolold.o obj/thing.o obj/chat.o obj/fileloader.o obj/iomapserialize.o obj/otpch.o obj/quests.o obj/tile.o obj/combat.o obj/game.o obj/itemattributes.o obj/otserv.o obj/raids.o obj/tools.o obj/condition.o obj/gameservers.o obj/item.o obj/outfit.o obj/scheduler.o obj/trashholder.o obj/configmanager.o obj/globalevent.o obj/items.o obj/outputmessage.o obj/scriptmanager.o obj/vocation.o obj/connection.o obj/group.o obj/luascript.o obj/party.o obj/server.o obj/waitlist.o obj/container.o obj/gui.o obj/mailbox.o obj/playerbox.o obj/spawn.o obj/weapons.o obj/creature.o obj/house.o obj/manager.o obj/player.o obj/spectators.o obj/creatureevent.o obj/housetile.o obj/map.o obj/position.o obj/spells.o theotxserver root@localhost-95:/home/sourceotx# make g++ -c -march=native -mtune=native -I"." -I"/usr/include/lua5.1" -I"/usr/include/mysql" -I"/usr/include/libxml2" -DBOOST_DISABLE_ASSERTS -DNDEBUG -Werror -Wall -Ofast -g -std=c++11 -pthread -lpthread -fno-strict-aliasing -o obj/actions.o actions.cpp In file included from actions.cpp:17:0: otpch.h:29:30: fatal error: libxml/xmlmemory.h: No such file or directory #include <libxml/xmlmemory.h> ^ compilation terminated. Makefile:40: recipe for target 'obj/actions.o' failed make: *** [obj/actions.o] Error 1 root@localhost-95:/home/sourceotx# ja instalei todas as libs que vi nos tutoriais e nao consigo compilar por favor me ajudem root@localhost-95:/home/sourceotx# ./configure -enable-mysql -enable-server-diag -enable-root-permission checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/sourceotx/missing: Unknown `--is-lightweight' option Try `/home/sourceotx/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for ptrdiff_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for ceil... yes checking for floor... yes checking for ftime... yes checking for gethostbyname... yes checking for gethostname... yes checking for memset... yes checking for pow... yes checking for sqrt... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strstr... yes checking for strtol... yes ./configure: line 4961: syntax error near unexpected token `2.6.5,' ./configure: line 4961: `AM_PATH_XML2(2.6.5, , as_fn_error $? "You need libxml2 >= 2.6.5 to compile otxserver!" "$LINENO" 5)' root@localhost-95:/home/sourceotx# make -j 4 g++ -c -march=native -mtune=native -I"." -I"/usr/include/lua5.1" -I"/usr/include/mysql" -I"/usr/include/libxml2" -DBOOST_DISABLE_ASSERTS -DNDEBUG -Werror -Wall -Ofast -g -std=c++11 -pthread -lpthread -fno-strict-aliasing -o obj/actions.o actions.cpp g++ -c -march=native -mtune=native -I"." -I"/usr/include/lua5.1" -I"/usr/include/mysql" -I"/usr/include/libxml2" -DBOOST_DISABLE_ASSERTS -DNDEBUG -Werror -Wall -Ofast -g -std=c++11 -pthread -lpthread -fno-strict-aliasing -o obj/cylinder.o cylinder.cpp g++ -c -march=native -mtune=native -I"." -I"/usr/include/lua5.1" -I"/usr/include/mysql" -I"/usr/include/libxml2" -DBOOST_DISABLE_ASSERTS -DNDEBUG -Werror -Wall -Ofast -g -std=c++11 -pthread -lpthread -fno-strict-aliasing -o obj/protocol.o protocol.cpp g++ -c -march=native -mtune=native -I"." -I"/usr/include/lua5.1" -I"/usr/include/mysql" -I"/usr/include/libxml2" -DBOOST_DISABLE_ASSERTS -DNDEBUG -Werror -Wall -Ofast -g -std=c++11 -pthread -lpthread -fno-strict-aliasing -o obj/status.o status.cpp In file included from status.cpp:17:0: otpch.h:29:30: fatal error: libxml/xmlmemory.h: No such file or directory #include <libxml/xmlmemory.h> ^ compilation terminated. In file included from cylinder.cpp:17:0: otpch.h:29:30: fatal error: libxml/xmlmemory.h: No such file or directory #include <libxml/xmlmemory.h> ^ compilation terminated. In file included from actions.cpp:17:0: otpch.h:29:30: fatal error: libxml/xmlmemory.h: No such file or directory #include <libxml/xmlmemory.h> ^ compilation terminated. In file included from protocol.cpp:17:0: otpch.h:29:30: fatal error: libxml/xmlmemory.h: No such file or directory #include <libxml/xmlmemory.h> ^ compilation terminated. Makefile:40: recipe for target 'obj/cylinder.o' failed make: *** [obj/cylinder.o] Error 1 make: *** Waiting for unfinished jobs.... Makefile:40: recipe for target 'obj/status.o' failed make: *** [obj/status.o] Error 1 Makefile:40: recipe for target 'obj/actions.o' failed make: *** [obj/actions.o] Error 1 Makefile:40: recipe for target 'obj/protocol.o' failed make: *** [obj/protocol.o] Error 1 root@localhost-95:/home/sourceotx# Editado Julho 7, 2018 6 anos por mullino (veja o histórico de edições)
Postado Julho 7, 2018 6 anos N eh essa pasta da xmllib não? No seu tá buscando xml lib2 Editado Julho 7, 2018 6 anos por riicksouzaa (veja o histórico de edições)
Postado Julho 7, 2018 6 anos Autor 7 minutos atrás, riicksouzaa disse: N eh essa pasta da xmllib não? No seu tá buscando xml lib2 e como eu arrumo issu?? formatei a maguina aki
Postado Julho 7, 2018 6 anos /usr/include/libxml2 << tenta conferir se essa pasta existe... ou ver se ela está com nome diferente.
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.