error: zm requires MySQL headers... but they're there!

Forum for questions and support relating to the 1.26.x releases only.
Locked
McFuzz
Posts: 181
Joined: Tue Aug 28, 2012 7:03 am

error: zm requires MySQL headers... but they're there!

Post by McFuzz »

Howdy!

During the dpkg-buildpackage process, the following error message appeared:
error: zm requires MySQL headers - check that MySQL development packages are installed
I am running Percona SQL server and I do have libmysqlclient-dev installed....


Any ideas?

thanks :)
McFuzz
Posts: 181
Joined: Tue Aug 28, 2012 7:03 am

Re: error: zm requires MySQL headers... but they're there!

Post by McFuzz »

mastertheknife - any ideas? This is happening when I try to use your git repo :p
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: error: zm requires MySQL headers... but they're there!

Post by mastertheknife »

Is this with cmake or autotools?
Kfir Itzhak.
McFuzz
Posts: 181
Joined: Tue Aug 28, 2012 7:03 am

Re: error: zm requires MySQL headers... but they're there!

Post by McFuzz »

mastertheknife wrote:Is this with cmake or autotools?
cmake
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: error: zm requires MySQL headers... but they're there!

Post by mastertheknife »

Do you have a mysql.h file in /usr/include/mysql/mysql.h ?
Kfir Itzhak.
McFuzz
Posts: 181
Joined: Tue Aug 28, 2012 7:03 am

Re: error: zm requires MySQL headers... but they're there!

Post by McFuzz »

Yes I do :)

I couldn't hold on and so I've just used regular MySQL instead of Percona though I am pretty sure that if I build a new VM using the same steps, I could replicate it...

By the way - same issue happens whether I try to pull it off github or manually compile.
Locked