Bug #56377 make install doesn't install a header, breaks builds of client applications
Submitted: 30 Aug 2010 16:02 Modified: 30 Aug 2010 20:15
Reporter: Andrey Hristov Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S1 (Critical)
Version:5.1.48, 5.1.50, 5.1.51-bzr OS:Any
Assigned to: CPU Architecture:Any

[30 Aug 2010 16:02] Andrey Hristov
Description:
When compiling PHP/mysqli with 5.1.50 from bzr I get the following message :

In file included from /work/vanilla/php/php-src/branches/PHP_5_3/ext/mysqli/php_mysqli_structs.h:61,
                 from /work/vanilla/php/php-src/branches/PHP_5_3/ext/mysqli/mysqli.c:33:
/usr/local/mysql/include/mysql/my_global.h:626:25: error: my_compiler.h: No such file or directory

After looking under /usr/local/mysql/include/mysql where the headers are installed there is no my_compiler.h . This file, however, exists in the bzr repository I use for building the server.

How to repeat:
Try compiling PHP, maybe other programs that use my_global.h

Suggested fix:
Install my_compiler.h
[30 Aug 2010 16:13] Valeriy Kravchuk
Indeed:

macbook-pro:5.1 openxs$ find . -name my_compiler.h
macbook-pro:5.1 openxs$ cd ../../bzr2/mysql-5.1-work/
macbook-pro:mysql-5.1-work openxs$ find . -name my_compiler.h
./include/my_compiler.h
[30 Aug 2010 20:15] Davi Arnaut
Closed as a duplicate of Bug#55846.