Re: Where is gtkmm.h (or am I going mad)?




On 4/22/2013 5:29 PM, Alan Mazer wrote:
On 4/22/2013 4:23 PM, Gavin Lambert wrote:
Quoth Alan Mazer
A few months ago, or maybe a little past that, I had an application
coded using gtmkk for RHEL 6.  I just went back to it now and can't get
it to compile.  Somehow gtkmm.h seems to have disappeared from my
system. More to the point, I can't figure out how to get it back. I've
got binaries but no includes.  Yum says that there's nothing available
except gtkmm24.x86_64 and says that I already have the latest version of
THAT.  I found an rpm somewhere and tried to install that and just got
an error. Am I going mad? How do I get my gtkmm stuff working again on
RHEL 6???
As a general rule, you need to install the -dev or -devel packages in order to get header files and other files required to build software that uses the library. The packages without the suffix are just the runtimes for prebuilt
binaries.



Understood.  But yum on RHEL 6 shows no devel packages available.

In case anyone else has this problem in the future... The solution is to go to the RedHat customer portal and select Downloads->Packages. This identifies the repository containing the package. Then you can use yum-config-manager with the --enable option to enable the corresponding repository, and then yum with the install option to install. It's still not clear how my code built in the past. It would appear that subsequent to my last compile some RHN update removed the devel package (perhaps after noticing that my access to the package was disabled).

I do have to give props to Red Hat though. The phone wait was annoying, but they identified and solved the problem in just a few minutes. US-based support that can solve problems. May their tribe increase!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]