Heya - i've been trying to install Hercules to my Debian VPS (DigitalOcean) but i've yet to succeed. I'm quite new to Linux-world, but i have been able to set up the server, apache, mysql, php, mumble-server and wordpress (woohoo.. )
Got error in ./config at first, but it was related to mysql, which i fixed with apt-get install libmysqlclient-dev and apt-get install libssl-dev - i'm not sure which one actually fixed the problem.. but it worked.
After that, i got error in compiler, which indicated that i missed C for compiling anything. After installing that, i managed to start the compile but it resulted in the error at hand.
Here is the command shell log:
root@lolsuomi:~/Hercules# make sql MAKE mt19937ar make[1]: Entering directory '/root/Hercules/3rdparty/mt19937ar' CC mt19937ar.c make[1]: Leaving directory '/root/Hercules/3rdparty/mt19937ar' MAKE libconfig make[1]: Entering directory '/root/Hercules/3rdparty/libconfig' CC libconfig.c CC grammar.c CC scanctx.c CC scanner.c CC strbuf.c make[1]: Leaving directory '/root/Hercules/3rdparty/libconfig' MAKE common_sql make[1]: Entering directory '/root/Hercules/src/common' MKDIR obj_all CC conf.c CC db.c CC des.c CC ers.c CC grfio.c CC HPM.c CC mapindex.c CC md5calc.c CC mutex.c CC nullpo.c CC random.c CC showmsg.c CC strlib.c CC sysinfo.c CC thread.c CC timer.c CC utils.c CC console.c CC core.c CC memmgr.c CC socket.c AR obj_all/common.a MKDIR obj_sql CC sql.c AR obj_sql/common_sql.a CC console.c CC core.c CC memmgr.c CC socket.c AR obj_all/common.a MKDIR obj_sql CC sql.c AR obj_sql/common_sql.a CC console.c CC core.c CC memmgr.c CC socket.c AR obj_all/common_mini.a make[1]: Leaving directory '/root/Hercules/src/common' MAKE login_sql make[1]: Entering directory '/root/Hercules/src/login' MKDIR obj_sql CC account_sql.c CC HPMlogin.c CC ipban_sql.c CC login.c CC loginlog_sql.c LD login-server make[1]: Leaving directory '/root/Hercules/src/login' MAKE char_sql make[1]: Entering directory '/root/Hercules/src/char' MKDIR obj_sql CC char.c CC HPMchar.c CC loginif.c CC mapif.c CC geoip.c CC inter.c CC int_auction.c CC int_elemental.c CC int_guild.c CC int_homun.c CC int_mail.c CC int_mercenary.c CC int_party.c CC int_pet.c CC int_quest.c CC int_storage.c CC pincode.c LD char-server make[1]: Leaving directory '/root/Hercules/src/char' MAKE map_sql make[1]: Entering directory '/root/Hercules/src/map' MKDIR obj_sql CC atcommand.c CC battle.c CC battleground.c CC buyingstore.c CC channel.c CC chat.c CC chrif.c CC clif.c CC date.c CC duel.c CC int_elemental.c CC int_guild.c CC int_homun.c CC int_mail.c CC int_mercenary.c CC int_party.c CC int_pet.c CC int_quest.c CC int_storage.c CC pincode.c LD char-server make[1]: Leaving directory '/root/Hercules/src/char' MAKE map_sql make[1]: Entering directory '/root/Hercules/src/map' MKDIR obj_sql CC atcommand.c CC battle.c CC battleground.c CC buyingstore.c CC channel.c CC chat.c CC chrif.c CC clif.c CC date.c CC duel.c CC elemental.c CC guild.c CC homunculus.c CC HPMmap.c CC instance.c CC intif.c CC irc-bot.c CC itemdb.c CC log.c CC mail.c CC map.c CC mapreg_sql.c CC mercenary.c CC mob.c CC npc.c CC npc_chat.c CC party.c CC path.c CC pc.c CC pc_groups.c CC pet.c CC quest.c CC script.c CC searchstore.c CC skill.c CC status.c CC storage.c CC trade.c CC unit.c CC vending.c LD map-server obj_sql/HPMmap.o: In function `HPM_shared_symbols': /root/Hercules/src/map/../common/HPMSymbols.inc.h:401: undefined reference to `npc_chat' /root/Hercules/src/map/../common/HPMSymbols.inc.h:422: undefined reference to `libpcre' collect2: error: ld returned 1 exit status Makefile:117: recipe for target '../../map-server' failed make[1]: *** [../../map-server] Error 1 make[1]: Leaving directory '/root/Hercules/src/map' Makefile:120: recipe for target 'map_sql' failed make: *** [map_sql] Error 2 root@lolsuomi:~/Hercules#
I tried to google the shit out from that error but i could not find anything that would have helped me So i post it here, hoping that i can get this error solved and server up & running.
Heya - i've been trying to install Hercules to my Debian VPS (DigitalOcean) but i've yet to succeed. I'm quite new to Linux-world, but i have been able to set up the server, apache, mysql, php, mumble-server and wordpress (woohoo.. )
Got error in ./config at first, but it was related to mysql, which i fixed with apt-get install libmysqlclient-dev and apt-get install libssl-dev - i'm not sure which one actually fixed the problem.. but it worked.
After that, i got error in compiler, which indicated that i missed C for compiling anything.
After installing that, i managed to start the compile but it resulted in the error at hand.
Here is the command shell log:
root@lolsuomi:~/Hercules# make sql
MAKE mt19937ar
make[1]: Entering directory '/root/Hercules/3rdparty/mt19937ar'
CC mt19937ar.c
make[1]: Leaving directory '/root/Hercules/3rdparty/mt19937ar'
MAKE libconfig
make[1]: Entering directory '/root/Hercules/3rdparty/libconfig'
CC libconfig.c
CC grammar.c
CC scanctx.c
CC scanner.c
CC strbuf.c
make[1]: Leaving directory '/root/Hercules/3rdparty/libconfig'
MAKE common_sql
make[1]: Entering directory '/root/Hercules/src/common'
MKDIR obj_all
CC conf.c
CC db.c
CC des.c
CC ers.c
CC grfio.c
CC HPM.c
CC mapindex.c
CC md5calc.c
CC mutex.c
CC nullpo.c
CC random.c
CC showmsg.c
CC strlib.c
CC sysinfo.c
CC thread.c
CC timer.c
CC utils.c
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_all/common.a
MKDIR obj_sql
CC sql.c
AR obj_sql/common_sql.a
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_all/common.a
MKDIR obj_sql
CC sql.c
AR obj_sql/common_sql.a
CC console.c
CC core.c
CC memmgr.c
CC socket.c
AR obj_all/common_mini.a
make[1]: Leaving directory '/root/Hercules/src/common'
MAKE login_sql
make[1]: Entering directory '/root/Hercules/src/login'
MKDIR obj_sql
CC account_sql.c
CC HPMlogin.c
CC ipban_sql.c
CC login.c
CC loginlog_sql.c
LD login-server
make[1]: Leaving directory '/root/Hercules/src/login'
MAKE char_sql
make[1]: Entering directory '/root/Hercules/src/char'
MKDIR obj_sql
CC char.c
CC HPMchar.c
CC loginif.c
CC mapif.c
CC geoip.c
CC inter.c
CC int_auction.c
CC int_elemental.c
CC int_guild.c
CC int_homun.c
CC int_mail.c
CC int_mercenary.c
CC int_party.c
CC int_pet.c
CC int_quest.c
CC int_storage.c
CC pincode.c
LD char-server
make[1]: Leaving directory '/root/Hercules/src/char'
MAKE map_sql
make[1]: Entering directory '/root/Hercules/src/map'
MKDIR obj_sql
CC atcommand.c
CC battle.c
CC battleground.c
CC buyingstore.c
CC channel.c
CC chat.c
CC chrif.c
CC clif.c
CC date.c
CC duel.c
CC int_elemental.c
CC int_guild.c
CC int_homun.c
CC int_mail.c
CC int_mercenary.c
CC int_party.c
CC int_pet.c
CC int_quest.c
CC int_storage.c
CC pincode.c
LD char-server
make[1]: Leaving directory '/root/Hercules/src/char'
MAKE map_sql
make[1]: Entering directory '/root/Hercules/src/map'
MKDIR obj_sql
CC atcommand.c
CC battle.c
CC battleground.c
CC buyingstore.c
CC channel.c
CC chat.c
CC chrif.c
CC clif.c
CC date.c
CC duel.c
CC elemental.c
CC guild.c
CC homunculus.c
CC HPMmap.c
CC instance.c
CC intif.c
CC irc-bot.c
CC itemdb.c
CC log.c
CC mail.c
CC map.c
CC mapreg_sql.c
CC mercenary.c
CC mob.c
CC npc.c
CC npc_chat.c
CC party.c
CC path.c
CC pc.c
CC pc_groups.c
CC pet.c
CC quest.c
CC script.c
CC searchstore.c
CC skill.c
CC status.c
CC storage.c
CC trade.c
CC unit.c
CC vending.c
LD map-server
obj_sql/HPMmap.o: In function `HPM_shared_symbols':
/root/Hercules/src/map/../common/HPMSymbols.inc.h:401: undefined reference to `npc_chat'
/root/Hercules/src/map/../common/HPMSymbols.inc.h:422: undefined reference to `libpcre'
collect2: error: ld returned 1 exit status
Makefile:117: recipe for target '../../map-server' failed
make[1]: *** [../../map-server] Error 1
make[1]: Leaving directory '/root/Hercules/src/map'
Makefile:120: recipe for target 'map_sql' failed
make: *** [map_sql] Error 2
root@lolsuomi:~/Hercules#
I tried to google the shit out from that error but i could not find anything that would have helped me
So i post it here, hoping that i can get this error solved and server up & running.
=========================================================================================================
This problem was fixed with
Edited by AkQapt-get install libpcre3 libpcre3-dev
and then
./configure
make clean
make sql
No errors.
Thanks to Ema for the help, on IRC, #Hercules@Rizon
Share this post
Link to post
Share on other sites