Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: afb on November 01, 2006, 10:25:33 am

Title: CentOS/RHEL RPMS
Post by: afb on November 01, 2006, 10:25:33 am
The needed changes and patches to build Code::Blocks RPMS "out of the box" for CentOS 3 and CentOS 4 (which are based on RHEL 3 and RHEL 4) are almost done now.

Code
yum install codeblocks

There are no official wxWidgets 2.6.3 packages for those platforms (only 2.4), but it is not hard to build packages from the "vendor" wxGTK.spec in the main wx download.

It should be possible to use on all Red Hat Enterprise Linux "clones", and can be built for the older Fedora Core releases (i.e. 1-3) as well, if desired... (using the SRPMS)

See Installing_Code::Blocks_from_source_on_RPM_based_distributions (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_RPM_based_distributions)

Title: Re: CentOS/RHEL RPMS
Post by: afb on November 01, 2006, 10:30:58 am
BTW:
These packages were motivated by this user input:
http://forums.codeblocks.org/index.php?topic=4314.0
Title: Re: CentOS/RHEL RPMS
Post by: Pecan on November 01, 2006, 02:40:09 pm
BTW:
These packages were motivated by this user input:
http://forums.codeblocks.org/index.php?topic=4314.0

My hats off to you. That certainly looks like a lot of good work.
And, anybody who can attack auto*tools and win needs kudos hurled at 'em

Walks off hurling kudos.
Title: Re: CentOS/RHEL RPMS
Post by: afb on November 01, 2006, 02:56:13 pm
My hats off to you. That certainly looks like a lot of good work.

Thanks for the kind words! Will try to update with some screenshots
once the packages build without too much handholding/patching...

The idea is that the SVN tarball should be all you need to build a RPM.
Code
rpmbuild -tb codeblocks-trunk-r$REVISION.tar.gz