tar.gz archive that contains the sources.Ĥ. go into trunk, if you haven't already done it.ģ. You need to get the latest sources from SVN svn checkout svn:///codeblocks/trunkĢ. Prepare SRPM package from SVN (if needed)ġ. Download the Source RPM from Note: SRPM's are for the last stable (10.05) the SVN branch includes the many improvements since then.
#WWW CODEBLOCKS ORG DOWNLOADS INSTALL#
Install Code::Blocks Download the Source RPMġ. packages/rpm/rhel-4/subversion.spec (CentOS 4).packages/rpm/rhel-3/subversion.spec (CentOS 3).subversion >= 1.4.0, (see )īinary packages for Red Hat Linux 9, Fedora Core 1, CentOS 3, CentOS 4 at:īuild Subversion RPM from source (if needed).wxGTK-xrc and its devel package (in some distributions included in the packages of point 1)īuild the wxGTK RPM from source (if needed).wxGTK >= 2.6.0 and its devel package (see ).Note that currently Code::Blocks requires wxWidgets 2.6, not 2.8! So if your distribution only provides packages for wxWidgets 2.8, you need to build wxWidgets 2.6 yourself. So you have to take a look at it yourself. So it isn't checked whether wxGTK is installed or not. The build requirements in the source RPM are set to a minimum. Note: the following section on the required version is out of date please do use from the 2.8 branch. You will still need root access to install. You can now build packages without being root (assuming that the spec files are correct). It is recommended that you don't use the root account to build packages, here is how you set up a minimal user build environment:Įcho "%_tmppath /tmp/$USER/rpm" >. Non-root rpmbuild environment (recommended) The top work directory for RPM varies between distributions and setups, but you can find your RPM top dir by setting a variable like: Then you need to invoke bootstrap like this, both on the commandline and in codeblocks.spec:ĪUTOMAKE=automake-1.7 ACLOCAL=aclocal-1.7 ACLOCAL_FLAGS="-I /usr/share/aclocal". If you have CentOS 3 or RHEL 3, you will need to rebuild "automake17" to use instead of automake-1.6: Install newer autotools versions (if needed) Su -c 'yum groupinstall "Development Tools"' This has to be installed before starting: Upgrading GTK+ is beyond the scope of this document, easier to upgrade distribution ? Older distributions might only support GTK+ 1.x. 2.1.1 Prepare SRPM package from SVN (if needed).1.4.1 Build Subversion RPM from source (if needed).1.3.1 Build the wxGTK RPM from source (if needed).1.2.1 Non-root rpmbuild environment (recommended).1.1.1 Install newer autotools versions (if needed).