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 |
[CODE]../common/dbcore.h:25: error:
|
[CODE]
../common/dbcore.h:25: error: |
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. |
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 |
Did the suggested thank you. Bu now im getting the following error:
Code:
make -C EMuShareMem |
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:
|
Yes, those packages should cover it.
|
All times are GMT -4. The time now is 03:49 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.