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
(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
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.
(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
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.
Closing.