Closed ApertureDevelopment closed 7 years ago
Hi
You are not providing enough information, so I have to ask many questions:
did you have MySQL development files installed on your system?
1.1. if not, the you'll have to install it :-)
where are the header files?
2.1. you'll have to provide the path of the header files to the compiler to let it make and build the dynamic library.
how are you trying to install the driver?
3.1. if you are using LuaRocks, then you can add "MYSQL_INCDIR=/path/to/mysql/headers" in the command line
3.2. if you are using the Makefile distributed with the source, then you'll have to edit the file config to point to the proper path of the header files.
Hope this helps you!
Regards, Tomás
On 2017-09-22 18:05, Aperture Hosting wrote:
So while trying to install luasql for mysql I get the error:
Error: Could not find header file for MYSQL No file mysql.h in /usr/local/include No file mysql.h in /usr/include
and Google isn't helping, Google responds to me just with ways on Windows or how to use MySQL in C++
-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].
*
Links:
[1] https://github.com/keplerproject/luasql/issues/77 [2] https://github.com/notifications/unsubscribe-auth/AAIA7aBmH5KqCYE9X1Xh5-ufzkSGcjXbks5slCD9gaJpZM4PhPPc
I have an MySQL server installed
I don't know, I assume at the default path <.<
btw I use Linux Debian 9.1 Stretch, and if you mean the package https://packages.debian.org/jessie/libmysqlclient-dev it has no installation candidate
which package does it require?
ok found it
So while trying to install luasql for mysql I get the error:
and Google isn't helping, Google responds to me just with ways on Windows or how to use MySQL in C++
So where and how do I get the missing files?