Ticket 2872 - configure --with-mysql_config does not find mysql_config binary
Summary: configure --with-mysql_config does not find mysql_config binary
Status: RESOLVED WONTFIX
Alias: None
Product: Slurm
Classification: Unclassified
Component: Other (show other tickets)
Version: 16.05.0
Hardware: Linux Linux
: --- 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2016-06-30 10:12 MDT by cbudzisz
Modified: 2017-11-03 14:50 MDT (History)
0 users

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description cbudzisz 2016-06-30 10:12:25 MDT
Still valid for 16.05.1 but shown here for 16.05.0

./configure does not honor the --with-mysql_config flag at all. and complains, that you need to install the mysql-devel packages although they are installed.

here are the steps to reproduce;

[root@slurm-master slurm]# which mysql_config
/usr/bin/mysql_config
[root@slurm-master slurm]# mysql_config --version
5.5.44
[root@slurm-master slurm]# tar xaf slurm-16.05.0.tar.bz2 
[root@slurm-master slurm]# cd slurm-16.05.0
[root@slurm-master slurm-16.05.0]# ./configure --with-mysql_config=/usr/bin/mysql_config
[root@slurm-master slurm-16.05.0]# grep -A2 'checking for mysql_config' config.log
configure:23185: checking for mysql_config
configure:23216: result: no
configure:23227: WARNING: *** mysql_config not found. Evidently no MySQL development libs installed on system.


Workaround:
explicitly set HAVEMYSQLCONFIG=/usr/bin/mysql_config in the configure script somwhere prior to the mysql_config check.
Comment 2 Jacob Jenson 2017-11-03 14:50:57 MDT
Before this ticket can be sent to the support team we need to put a support contract in place for your site. Please let me know if you would like to discuss Slurm support.