Jump to content
  • 0

configure on debian not working


suddath

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  06/23/12
  • Last Seen:  

So after following the many guides, all have trapped me in the same situation. I cannot complete the ./configure command to make my server files. 

I have made mysql (MariaDB version was installed automatically)

I have made databases, users, and set the privileges.

This is what I get when I run ./configure

Quote

checking whether gcc supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking for xlocale.h... yes
checking for library containing inflateEnd... -lz
checking for zlib.h... yes
checking for library containing sqrt... none required
checking for library containing clock_gettime... none required
checking whether CLOCK_MONOTONIC is supported and works... yes
checking for library containing pthread_create... -lpthread
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
checking mysql.h usability... yes
checking mysql.h presence... no
configure: WARNING: mysql.h: accepted by the compiler, rejected by the preproces                                                                                                             sor!
configure: WARNING: mysql.h: proceeding with the compiler's result
checking for mysql.h... yes
checking MySQL library (required)... no
configure: error: MySQL not found or incompatible
 

 

Edited by suddath
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

"configure: error: MySQL not found or incompatible"

You need libmysqlclient-dev if you already installed it 
run this command

apt-get install libssl-dev

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   0
  • Joined:  06/23/12
  • Last Seen:  

Nothing has changed after downloading that package. I am still getting the same errors. It seems as though the compiler is not comparable with the new MariaDB MySQL that is forcefully downloaded when I run apt-get install MySQL. 

Every time I try to install any version of libmysqlclient-dev I am just given a message stating that it is obsolete so maybe there is a workaround that others have used?

 

i am using Debian 8 as my OS

Link to comment
Share on other sites

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.

×
×
  • Create New...