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 08-29-2007, 10:19 AM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default Linux Build (1035)

there is a bug in the makefile for ./zone in the 1035 (and possibly further back) build.

the culprit is a pair of "hard coded" references to mysql:

these two lines:

Code:
#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
need to be replaced with:

Code:
MYSQL_FLAGS=$(shell mysql_config --cflags)
MYSQL_LIB=$(shell mysql_config --libs)
=sfisque
Reply With Quote
  #2  
Old 08-30-2007, 09:34 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

What's the effect of the bug though? And what flavor of Linux? Fairly certain FC4 has always worked using what is in the makefile. Enlighten me, please!
Reply With Quote
  #3  
Old 08-30-2007, 09:52 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Aye, I can also add that Ubuntu and Gentoo compile with no issue using the default makefile.
Reply With Quote
  #4  
Old 08-30-2007, 10:19 PM
Teppen
Banned
 
Join Date: Jan 2002
Posts: 80
Default

FYI, seems to work just fine on debian, fedora7, and suse10.2.
Reply With Quote
  #5  
Old 08-30-2007, 10:31 PM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

you're all kidding right?

any references to mysql are supposed to be via the mysql_config executable, that way if someone say (like me) installs mysql in /usr/local/ rather than in /usr, they wont have to worry about hardcoded makefiles failing.

trust me. the modification should be made.

== sfisque
Reply With Quote
  #6  
Old 08-31-2007, 12:26 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

You are right, the mod is a much better solution.

Please post this in the code forum so that it (hopefully) gets committed.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
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 04:51 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3