News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

CodeBlocks in RHEL 4

Started by praetor, August 04, 2010, 04:22:18 PM

Previous topic - Next topic

praetor

Our previous production release is shipped with RHEL 4.

I have had a lot of success with CodeBlocks in windows and RHEL 5, but I can't get it to run on my old development machine running RHEL 5 (which of course I need to get work done on this week).

When I try to configure CodeBlocks, it requires WxWidget.  WxWidget needs GTK+:
     checking for pkg-config... /usr/bin/pkg-config
     checking for GTK+ - version >= 2.0.0... no
     *** Could not run GTK+ test program, checking why...

When I try to configure GTK+, I find it needs another version of glib:
    checking for BASE_DEPENDENCIES... configure: error: Package requirements
     (glib-2.0 >= 2.23.6    atk >=  1.29.2    pango >= 1.20    cairo >= 1.6) were not met:
    Requested 'glib-2.0 >= 2.23.6' but version of GLib is 2.4.7

I am less confident messing with glib, as there are 5 other developers on this machine and I fear I will cause damage to the underlying operating system.  I encountered basically the same result using version 8 of Code Blocks. 


What would be the quickest way for me to get Code Blocks running on this machine? 

Suggestions, Concerns, welcome...

Thanks,

James
Boston, MA



oBFusCATed

What is the wxGTK version on RHEL 4?
There is a possibility that C::B can't be build with wx older that 2.8.x, where x >= 6 (here I'm just guessing)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

SharkCZ

Code::Blocks for RHEL >= 4 is packaged in the Fedora EPEL repository, see http://fedoraproject.org/wiki/EPEL
Code::Blocks package maintainer for Fedora and EPEL

praetor

I couldn't build/install wxWidget because of the GTK/glib dependency.  Here is what rpm tells me is installed related to these two packages:

[castel@ESPSWT01 ~]$ rpm -qa | grep "^gtk[+2]"
gtk2-engines-2.2.0-7.el4
gtk2-2.4.13-24.el4
gtk+-1.2.10-36
[castel@ESPSWT01 ~]$ rpm -qa | grep wxGTK
[castel@ESPSWT01 ~]$ rpm -qa | grep wx
[castel@ESPSWT01 ~]$

I found the sources for CodeBlocks in the EPEL repository and will try to build that.  Hopefully, it doesn't have the same dependencies...

James
Boston, MA

SharkCZ

You don't have build anything, it's all built there, C::B 10.05, wxGTK 2.8.11 and all the needed dependencies, just install and enjoy.
Code::Blocks package maintainer for Fedora and EPEL