Skip to content
This repository has been archived by the owner on Aug 10, 2019. It is now read-only.

mysqlnd.h file is missing, seems to be an upstream error #22

Closed
vidluther opened this issue Jan 7, 2013 · 8 comments
Closed

mysqlnd.h file is missing, seems to be an upstream error #22

vidluther opened this issue Jan 7, 2013 · 8 comments
Assignees
Labels

Comments

@vidluther
Copy link

As discussed on your blog, this error from launchpad is also on the dotdeb repositories.

https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1056072

Easiest way to duplicate would be to do a pecl install mysqlnd_ms it'll never complete :).

@mongeron
Copy link

I don't think upstream matters here. I was able to install mysqlnd_ms with PHP 5.3.20 packages from Dotdeb, and the include files needed by mysqlnd_ms are there correctly.

So, it is a problem with the packaging scripts.

@vidluther
Copy link
Author

@mongeron it's an issue with PHP 5.4, not 5.3.

@mongeron
Copy link

Sorry, that is what I meant. In Dotdeb php 5.3 -dev packages, the include files for mysqlnd are correctly included, while as in php 5.4 packages the include files are not correctly included.

I think this has happened because with PHP 5.4 the default MySQL library is based on the libmysqlclient library, and mysqlnd isn't enabled by default. Therefore the required include files for mysqlnd are also missing from php5-dev.

@gplessis
Copy link
Owner

Guys, I'm working on a fix for the missing headers in PHP 5.4 (your analysis is right, @mongeron), but feel free to submit yours :)

@mongeron
Copy link

Unfortunately I am not familiar enough with building Debian packages, so that I could make a fix. I'll just try to find a quick and dirty solution so I can get the mysqlnd_ms module installed to my server.

It is good to know that you are working on the fix. I propose that you submit the solution to Debian upstream also, because the same issue has been over there too.

@ghost ghost assigned gplessis Jan 17, 2013
@gplessis
Copy link
Owner

mysqlnd.h will be back in php5-dev as of PHP 5.4.11. See 746ae48 for more info.

@gplessis
Copy link
Owner

Sorry, the mysqlnd.h support needs some more work (it totally broke PHP's make test). Re-opening this issue.

@gplessis gplessis reopened this Jan 22, 2013
@gplessis
Copy link
Owner

Definitively fixed with 69667e6

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

No branches or pull requests

3 participants