Comments (6)
You need to install the MySQL development files.
#sudo apt-get install mysql-devel
or
#sudo yum install mysql-devel
from dataparksearch.
What if i want to use Percona or MariaDB?
from dataparksearch.
What if i want to use Percona or MariaDB?
Will work. Just make sure to client libs are in place.
from dataparksearch.
configure: error: Invalid MySQL directory - unable to find mysql.h under /usr/include/mariadb/mysql.h
ls -l /usr/include/mariadb/mysql.h
-rw-r--r-- 1 root root 41230 Π½ΠΎΡ 5 22:40 /usr/include/mariadb/mysql.h
from dataparksearch.
If it is standard MySQL location as it looks like it should work with
./configure --with-mysql
otherwise you need to point to top of the location:
./configure --with-mysql=/usr
from dataparksearch.
Now I get it. May I suggest to change
--with-mysql=DIR Include MySQL support. DIR is the MySQL base
install directory, default is to search through
a number of common places for the MySQL files.
to
--with-mysql[=DIR] Include MySQL support. DIR is the MySQL installation prefix (e.g. `/usr`),
omitting DIR triggers a search through
a number of common places for the MySQL files.
because "base install directory" is hard to get, especially with the error message referring to mysql.h
when configure
wants include/mysql/mysql.h
. Definitely useful to add an example no matter how DIR
is called.
from dataparksearch.
Related Issues (16)
- sudo make install fails due to overwriting /usr/local/dpsearch/include/dps_http.h HOT 1
- wrong crosswords processing by indexer HOT 1
- indexer fails due to "Floating point exception (core dumped)"
- undefined reference to 'DpsStrndup' HOT 5
- Attempt to free invalid pointer HOT 1
- indexing stops after a while HOT 1
- acronym.c:269:sequence point error ? HOT 2
- Parameterized Queries
- search.cgi outputs itself on the screen HOT 2
- IPv6 URL support HOT 1
- Quick start instructions don't work because of missing file indexer HOT 4
- gcc5 make failed HOT 3
- indexer segmentation fault HOT 1
- "make bin-dist" fails due to "tar: invalid option -- 'y'" HOT 3
- Specify build instructions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataparksearch.