Bug #91054 8.0.11 builds my_config.h without installing it
Submitted: 29 May 2018 2:18 Modified: 1 Jun 2018 4:31
Reporter: Joel Bion Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.11 OS:Linux
Assigned to: CPU Architecture:x86
Tags: 8.0.11, installation, my_config.h

[29 May 2018 2:18] Joel Bion
Description:
issuing the following sequence of commands results in my_config.h being created in the build/include directory, but is not installed anywhere in the installation directory tree. Please note that I am trying to install into a brand new installation prefix. The "How to repeat" shows the commands I use

How to repeat:
 rm -rf /usr/share/mysql8/
 mkdir /usr/share/mysql8
 tar xf mysql-boost-8.0.11.tar.gz
 cd mysql-8.0.11/
 mkdir build
 cd build
 cmake -DCMAKE_INSTALL_PREFIX=/usr/share/mysql8       -DMYSQL_DATADIR=/us\
r/share/mysql8/var       -DWITH_SSL=system       -DWITH_BOOST=../boost       ..
 make
 make VERBOSE=1 install

..you will note a file is created:

# ls -l include/my_config.h
-rw-r--r-- 1 root root 10405 May 28 17:49 include/my_config.h

but is not installed anywhere:

# cd /usr/share/mysql8
# find . -name my_config.h
# (returns nothing)

Some version details: 

make is version 4.2.1
glibc is version 2.27
cmake is version 3.11.1
kernel is version 4.16.8

Suggested fix:
I have no suggested fix.
[29 May 2018 10:33] MySQL Verification Team
Thank you for the bug report.
[29 May 2018 11:20] Terje Røsten
Hi!

Thanks for your report.

This is by design, headers included in MySQL C API has been cleaned up
and my_config.h is not needed any more for building client applications.
[1 Jun 2018 4:31] MySQL Verification Team
Per Terje's previous note this is by design, closing as !bg.

Thanks,
Umesh