Jump to content
  • 0

[make sql error] MySQL not found or disabled by the configure script.


Question

Posted (edited)

I'm trying to install Athena, in a new machine Centos 64bits, I installed all, but when I try to use "make_sql" appears this error:

[root@localhost ragnarok]# make sql

MySQL not found or disabled by the configure script

make: *** [needs_mysql] Error 1

[root@localhost ragnarok]#

So I try to configurate with "./configure -with-mysql", but appears this:

[root@localhost ragnarok]# ./configure -with-mysql

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking how to run the C preprocessor... gcc -E

checking whether byte ordering is bigendian... no

checking whether pointers can be stored in ints (old code)... yes (with -m32)

checking whether gcc supports -Wno-unused-parameter... yes

checking whether gcc supports -Wno-pointer-sign... yes

checking whether gcc can actually use -Wno-pointer-sign... yes

checking whether gcc supports -Wno-switch... yes

checking whether gcc supports -fPIC... yes

checking whether gcc needs -fPIC for shared objects... no

checking whether gcc is able to typecast to union... yes

checking for setrlimit... yes

checking for strnlen... yes

checking for inflateEnd in -lz... yes

checking zlib.h usability... yes

checking zlib.h presence... yes

checking for zlib.h... yes

checking for library containing sqrt... -lm

checking for library containing clock_gettime... -lrt

checking whether CLOCK_MONOTONIC is supported and works... yes

checking for mysql_config... /usr/bin/mysql_config

checking for mysql_init in -lmysqlclient... no

checking mysql.h usability... yes

checking mysql.h presence... yes

checking for mysql.h... yes

checking MySQL library (optional)... no

configure: error: MySQL not found or incompatible (requested)

[root@localhost ragnarok]#

I installed all the libraries and I reinstalled the mysql but the problem continue.

Thanks.

Edited by jeyner

2 answers to this question

Recommended Posts

Posted

"I'm trying to install eAthena" -> Installation help for eAthena: http://eathena.ws - although the principle is the same.

configure: error: MySQL not found or incompatible (requested) - this means what it says. Did you yum install or is this a tarball installation of MySQL?

Posted

Yeah, I installed everything. Look...

[root@= ~]# yum install mysql

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirror.ash.fastserv.com

* extras: mirror.dattobackup.com

* rpmforge: mirror.us.leaseweb.net

* rpmforge-extras: mirror.us.leaseweb.net

* updates: mirrors.gigenet.com

Setting up Install Process

Package mysql-5.0.95-1.el5_7.1.x86_64 already installed and latest version

Package mysql-5.0.95-1.el5_7.1.i386 already installed and latest version

Nothing to do

[root@= ~]#

[root@= ~]# yum install mysql-devel

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirror.ash.fastserv.com

* extras: mirror.dattobackup.com

* rpmforge: mirror.us.leaseweb.net

* rpmforge-extras: mirror.us.leaseweb.net

* updates: mirrors.gigenet.com

Setting up Install Process

Package mysql-devel-5.0.95-1.el5_7.1.x86_64 already installed and latest version

Package mysql-devel-5.0.95-1.el5_7.1.i386 already installed and latest version

Nothing to do

[root@= ~]#

Thks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...