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-10-2007, 10:07 PM
aragon
Sarnak
 
Join Date: Feb 2005
Location: Malaga-Spain
Posts: 40
Default Ubuntu Instalation

Hi,
I decided change bsd to Ubuntu, I've installed perl, Mysql-server5.0,etc.
When I try to compile the source with "make" I get the following error:
[QUOTE]
root@ubuntu:/home/eqemu# make
make -C EMuShareMem
make[1]: Entering directory `/home/eqemu/EMuShareMem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/eqemu/EMuShareMem'
make -C world
make[1]: mysql_config: Command not found
make[1]: Entering directory `/home/eqemu/world'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -I../common/SocketLib -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE client.cpp -o client.o
In file included from ../common/database.h:26,
from ../common/shareddb.h:6,
from worlddb.h:21,
from client.cpp:39:
../common/dbcore.h:9:19: error: mysql.h: No such file or directory

Last edited by aragon; 08-11-2007 at 06:11 AM..
Reply With Quote
  #2  
Old 08-10-2007, 10:12 PM
aragon
Sarnak
 
Join Date: Feb 2005
Location: Malaga-Spain
Posts: 40
Default

[CODE]../common/dbcore.h:25: error:

Last edited by aragon; 08-11-2007 at 06:19 AM..
Reply With Quote
  #3  
Old 08-10-2007, 10:13 PM
aragon
Sarnak
 
Join Date: Feb 2005
Location: Malaga-Spain
Posts: 40
Default

[CODE]
../common/dbcore.h:25: error:
Reply With Quote
  #4  
Old 08-16-2007, 04:15 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

find out where it's looking for mysql.h and either put it there or make a symbolic link. you have also need the mysql development stuff installed.

I can't give you specifics because I use gentoo mostly on where ubuntu puts it's stuff but your issue is that you need to make sure that file can be found one way or another.
__________________
--
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
  #5  
Old 08-16-2007, 06:27 AM
BWStripes
Sarnak
 
Join Date: Jun 2007
Location: Finland
Posts: 65
Default

gernblan is right, mysqldev needs to be installed.

The package name is libmysqlclientXX.dev think the latest number (XX) for Ubuntu was 15. As usual:
Code:
sudo apt-get install libmysqlclient15-dev
And you're away.
Reply With Quote
  #6  
Old 08-17-2007, 11:36 AM
aragon
Sarnak
 
Join Date: Feb 2005
Location: Malaga-Spain
Posts: 40
Default

Did the suggested thank you. Bu now im getting the following error:
Code:
make -C EMuShareMem
make[1]: se ingresa al directorio `/home/eqemu/EQEmu-0.7.0-1034/EMuShareMem'
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -DDEBUG=1 -DCATCH_CRASH -g -fPIC -O2 -D_GNU_SOURCE -DINVERSEXY -DFX  MMFMutex.cpp -o MMFMutex.o
gcc: error trying to exec 'cc1plus': execvp: No existe el fichero ó directorio
make[1]: *** [MMFMutex.o] Error 1
make[1]: se sale del directorio `/home/eqemu/EQEmu-0.7.0-1034/EMuShareMem'
make: *** [all] Error 2
root@servidor:/home/eqemu/EQEmu-0.7.0-1034#
Any Idea?
Reply With Quote
  #7  
Old 08-19-2007, 10:17 PM
BWStripes
Sarnak
 
Join Date: Jun 2007
Location: Finland
Posts: 65
Post

Ah, you're missing another another package

I made a list when I installed Ubuntu in my Linux guide. This is probably overkill, but works for me.

Quote:
Make sure you've got the following installed:

cpp (auto-selects other packages)
cvs, and cvsnt (If you plan to update the database on Linux)
g++ (auto-selects other packages)
gcc (auto-selects other packages)
libmysqlclient15-dev
libio-stringy-perl
libperl-5.8
libperl-dev
mysql-client
mysql-server (auto-selects other packages)
perl
zlib1g
zlib1g-dev

Optional:
wine (required for running minilogin under emulation)
Reply With Quote
  #8  
Old 08-22-2007, 02:15 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Yes, those packages should cover it.
__________________
--
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


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 09:46 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3