Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2009, 06:10 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

I also modified my zone makefile:

Code:
diff -up EQEmuServer/zone/makefile.dan EQEmuServer/zone/makefile
--- EQEmuServer/zone/makefile.dan       2009-04-30 21:10:03.000000000 -0700
+++ EQEmuServer/zone/makefile   2009-04-30 21:14:18.000000000 -0700
@@ -10,8 +10,8 @@ OUT=-o 
 LINKOUT=-o 
 NOLINK=-c
 LINKER=gcc
-MYSQL_FLAGS=-I/usr/include/mysql
-MYSQL_LIB=-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
+MYSQL_FLAGS=$(shell mysql_config --cflags)
+MYSQL_LIB=$(shell mysql_config --libs)
 DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386
 #try commenting out the following three lines to disable embedded perl
 PERL_FLAGS=perl -MExtUtils::Embed -e ccopts
Since under Fedora, the 64 bit libs are in within different paths (lib64 rather than lib), I had to make that change. I can't remember if Debian does this or not. In any case, the above should give the proper compile and linking flags for mysql.
Reply With Quote
  #2  
Old 05-28-2009, 02:47 PM
ndnet
Hill Giant
 
Join Date: Oct 2003
Posts: 105
Default

I pulled a clean trunk down from the googlecode svn. Made the changes above, including modifying the makefiles.

Unfortunately the server still crashed on LoadAAs().

Pulled down a fresh version of PEQ and got it updated. Our custom bins can get into zone without a crash with the fresh PEQ db.

Gonna double-check our dump and ensure everything came down properly.
Reply With Quote
  #3  
Old 05-28-2009, 05:02 PM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

Well, at least you have narrowed down the problem. Let me know if there is anything else you need.
Reply With Quote
  #4  
Old 05-28-2009, 05:33 PM
KingMort
Banned
 
Join Date: Sep 2006
Posts: 841
Default

Yup just something whacked out with that particular copy of the database...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:07 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3