Jump to content
  • 0

configure on debian not working


Question

Posted (edited)

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

2 answers to this question

Recommended Posts

  • 1
Posted

"configure: error: MySQL not found or incompatible"

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

apt-get install libssl-dev

 

  • 0
Posted

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

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...