Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not build (MySQL 8 issue maybe?) #16

Open
kingIZZZY opened this issue Aug 28, 2020 · 3 comments
Open

Does not build (MySQL 8 issue maybe?) #16

kingIZZZY opened this issue Aug 28, 2020 · 3 comments

Comments

@kingIZZZY
Copy link

This seems like a nice levenshtein plugin to have
I successfully built & installed on my local windows WSL ubuntu 18
However i cannot seem to build it on my online VPS CentOS 7 (cpanel/WHM) with MySQL 8 and mysql-community-devel-8.0.21-1.el7.x86_64

  • STANDARD is not defined
  • my_global.h and my_sys.h do not exist anymore in the mysql includes directory
  • my_bool is not defined etc. (looks like it's been removed from mysql?)

Any hope to update the header dependencies so it can still build?

@kingIZZZY
Copy link
Author

Workaround

  • Use TrustYard's version
  • Comment out #ifdef HAVE_DLOPEN / #endif /* HAVE_DLOPEN */

Then it successfully built & installed/created those CREATE FUNCTION commands successfully and passed the unittest.sql tests as well

@juanmirocks
Copy link
Owner

Thanks @kingIZZZY -- if I have time I will consolidate the build instructions.

svetasmirnova added a commit to svetasmirnova/Levenshtein-MySQL-UDF that referenced this issue Mar 21, 2022
@svetasmirnova
Copy link

Just sent pull request for this: #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants