Ticket 2960

Summary: gtk+ not recognized in RHEL 7.2 during build even though both standard\devel package installed
Product: Slurm Reporter: William Schadlich <william.w.schadlich>
Component: OtherAssignee: Tim Wickberg <tim>
Status: RESOLVED INFOGIVEN QA Contact:
Severity: 4 - Minor Issue    
Priority: --- CC: daniel.p.davis
Version: 16.05.0   
Hardware: Linux   
OS: Linux   
Site: EM Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description William Schadlich 2016-08-02 10:28:27 MDT
During rpmbuild we get the following message that GTK+ is not available or installed incorrectly but it is installed which in turn doesn't create sview.  How do we go about verifying the problem and correcting?

checking pkg-config is at least version 0.7... yes
checking for GTK+ - version >= 2.7.1... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: WARNING: cannot build sview without gtk library
checking for mysql_config... /usr/bin/mysql_config
MySQL 5.5.47 test program built properly.


[root@clnhpc04 ~]# yum install gtk+
Loaded plugins: langpacks
Package 1:gtk+-1.2.10-77.el7.x86_64 already installed and latest version
Nothing to do
[root@clnhpc04 ~]# yum install gtk+-devel
Loaded plugins: langpacks
Package 1:gtk+-devel-1.2.10-77.el7.x86_64 already installed and latest version
Nothing to do
Comment 1 Tim Wickberg 2016-08-02 10:35:14 MDT
(In reply to William Schadlich from comment #0)
> During rpmbuild we get the following message that GTK+ is not available or
> installed incorrectly but it is installed which in turn doesn't create
> sview.  How do we go about verifying the problem and correcting?

Install the gtk2-devel package.

If you don't use 'sview' you can also disregard the warning, that's the only program within Slurm that makes use of that API.

> checking pkg-config is at least version 0.7... yes
> checking for GTK+ - version >= 2.7.1... no

The check fails for GTK version 2. Below you're demonstrating that you've installed GTK 1, which is an older (and separately packaged) version of the library.

> [root@clnhpc04 ~]# yum install gtk+
> Loaded plugins: langpacks
> Package 1:gtk+-1.2.10-77.el7.x86_64 already installed and latest version
> Nothing to do
> [root@clnhpc04 ~]# yum install gtk+-devel
> Loaded plugins: langpacks
> Package 1:gtk+-devel-1.2.10-77.el7.x86_64 already installed and latest
> version
> Nothing to do
Comment 2 William Schadlich 2016-08-02 11:29:52 MDT
Looks like I needed gtk2-devel as I already had gtk2 installed.

Also quick question for the typical users of Slurm do you see a big need to jump to 16.05.X from the updates made from 16.05.0 to 16.05.3?



From: bugs@schedmd.com [mailto:bugs@schedmd.com]
Sent: Tuesday, August 02, 2016 12:35 PM
To: Schadlich, William W <william.w.schadlich@exxonmobil.com>
Subject: [Bug 2960] gtk+ not recognized in RHEL 7.2 during build even though both standard\devel package installed

Tim Wickberg<mailto:tim@schedmd.com> changed bug 2960<https://bugs.schedmd.com/show_bug.cgi?id=2960>
What

Removed

Added

Assignee

support@schedmd.com<mailto:support@schedmd.com>

tim@schedmd.com<mailto:tim@schedmd.com>

Comment # 1<https://bugs.schedmd.com/show_bug.cgi?id=2960#c1> on bug 2960<https://bugs.schedmd.com/show_bug.cgi?id=2960> from Tim Wickberg<mailto:tim@schedmd.com>

(In reply to William Schadlich from comment #0<show_bug.cgi?id=2960#c0>)

> During rpmbuild we get the following message that GTK+ is not available or

> installed incorrectly but it is installed which in turn doesn't create

> sview.  How do we go about verifying the problem and correcting?



Install the gtk2-devel package.



If you don't use 'sview' you can also disregard the warning, that's the only

program within Slurm that makes use of that API.



> checking pkg-config is at least version 0.7... yes

> checking for GTK+ - version >= 2.7.1... no



The check fails for GTK version 2. Below you're demonstrating that you've

installed GTK 1, which is an older (and separately packaged) version of the

library.



> [root@clnhpc04 ~]# yum install gtk+

> Loaded plugins: langpacks

> Package 1:gtk+-1.2.10-77.el7.x86_64 already installed and latest version

> Nothing to do

> [root@clnhpc04 ~]# yum install gtk+-devel

> Loaded plugins: langpacks

> Package 1:gtk+-devel-1.2.10-77.el7.x86_64 already installed and latest

> version

> Nothing to do

________________________________
You are receiving this mail because:

  *   You reported the bug.
Comment 3 Tim Wickberg 2016-08-02 15:50:23 MDT
(In reply to William Schadlich from comment #2)
> Looks like I needed gtk2-devel as I already had gtk2 installed.
> 
> Also quick question for the typical users of Slurm do you see a big need to
> jump to 16.05.X from the updates made from 16.05.0 to 16.05.3?

The NEWS file summarizes all the various bug fixes that have happened recently. There are a handful of significant ones, and I would recommend upgrading at your earliest convenience.

https://github.com/SchedMD/slurm/blob/slurm-16.05/NEWS
Comment 4 William Schadlich 2016-08-03 08:33:06 MDT
Understand but to have to rebuild all my applications using OpenMPI and IntelMPI which have hooks into slurm is not easy so I’d prefer not to upgrade that fast after spending a month with users recompiling code to use the 16.05 version.  Potentially might be able to get away without having to redo all that work if the slurm libraries are the same names.




From: bugs@schedmd.com [mailto:bugs@schedmd.com]
Sent: Tuesday, August 02, 2016 12:35 PM
To: Schadlich, William W <william.w.schadlich@exxonmobil.com>
Subject: [Bug 2960] gtk+ not recognized in RHEL 7.2 during build even though both standard\devel package installed

Tim Wickberg<mailto:tim@schedmd.com> changed bug 2960<https://bugs.schedmd.com/show_bug.cgi?id=2960>
What

Removed

Added

Assignee

support@schedmd.com<mailto:support@schedmd.com>

tim@schedmd.com<mailto:tim@schedmd.com>

Comment # 1<https://bugs.schedmd.com/show_bug.cgi?id=2960#c1> on bug 2960<https://bugs.schedmd.com/show_bug.cgi?id=2960> from Tim Wickberg<mailto:tim@schedmd.com>

(In reply to William Schadlich from comment #0<show_bug.cgi?id=2960#c0>)

> During rpmbuild we get the following message that GTK+ is not available or

> installed incorrectly but it is installed which in turn doesn't create

> sview.  How do we go about verifying the problem and correcting?



Install the gtk2-devel package.



If you don't use 'sview' you can also disregard the warning, that's the only

program within Slurm that makes use of that API.



> checking pkg-config is at least version 0.7... yes

> checking for GTK+ - version >= 2.7.1... no



The check fails for GTK version 2. Below you're demonstrating that you've

installed GTK 1, which is an older (and separately packaged) version of the

library.



> [root@clnhpc04 ~]# yum install gtk+

> Loaded plugins: langpacks

> Package 1:gtk+-1.2.10-77.el7.x86_64 already installed and latest version

> Nothing to do

> [root@clnhpc04 ~]# yum install gtk+-devel

> Loaded plugins: langpacks

> Package 1:gtk+-devel-1.2.10-77.el7.x86_64 already installed and latest

> version

> Nothing to do

________________________________
You are receiving this mail because:

  *   You reported the bug.
Comment 5 Daniel P Davis 2017-01-09 06:18:44 MST
Closing.