<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Crzysdrs</id>
	<title>Code::Blocks - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Crzysdrs"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php/Special:Contributions/Crzysdrs"/>
	<updated>2026-04-21T16:15:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3806</id>
		<title>Installing Code::Blocks from source on Gentoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3806"/>
		<updated>2006-09-13T01:24:50Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: /* Subversion Portage Overlay */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Code::Blocks Compilation Methods for Gentoo ==&lt;br /&gt;
&lt;br /&gt;
=== Subversion Portage Overlay ===&lt;br /&gt;
The current suggested method for emerging Code::Blocks is through the use of custom Ebuilds. The most prominently known portage overlay for the ebuilds is located here: [http://forums.gentoo.org/viewtopic-t-440412.html Gentoo Forums Code::Blocks Portage Overlay]&lt;br /&gt;
&lt;br /&gt;
To create an overlay, please read [http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds HOWTO Installing 3rd Party Ebuilds]&lt;br /&gt;
&lt;br /&gt;
=== Create your own overlay ===&lt;br /&gt;
Another method of pulling together your own Ebuilds and creating your own portage overlay is to view the bug report for adding Code::Blocks to portage. [http://bugs.gentoo.org/show_bug.cgi?id=89533 Gentoo Code::Blocks Package Suggestion]&lt;br /&gt;
&lt;br /&gt;
== Preparing Code::Blocks from Source (For 1.0rc2) ==&lt;br /&gt;
&lt;br /&gt;
'''WORK IN PROGRESS'''&lt;br /&gt;
&lt;br /&gt;
( Note: This is non-official and unverified.  It worked for me, but... )&lt;br /&gt;
&lt;br /&gt;
===Prepare Libraries===&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses the wxWidgets (http://www.wxwindows.org/) library for its GUI. wxWidgets in turn uses GTK+ (http://www.gtk.org/). GTK+ is the library which GNOME desktop uses, but GNOME is not required to use it. In fact, odds are very good that if you have a number of GUI programs installed, you already have it. wxWidgets is also very common, if slightly less so. &lt;br /&gt;
&lt;br /&gt;
You need to compile the wxGTK package with the following use flag:&lt;br /&gt;
&lt;br /&gt;
 +gtk2 &lt;br /&gt;
&lt;br /&gt;
The best way of getting this done is by adding a line to /etc/portage/package.use and recompiling wxGTK :&lt;br /&gt;
&lt;br /&gt;
 # echo x11-libs/wxGTK gtk2  &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
 # emerge wxGTK&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks now works fine with Unicode. So you might want to build wxGTK with +unicode flag.&lt;br /&gt;
&lt;br /&gt;
===Get the source code===&lt;br /&gt;
&lt;br /&gt;
For this you have 2 options:&lt;br /&gt;
&lt;br /&gt;
====Option 1: Download a source tarball.====&lt;br /&gt;
&lt;br /&gt;
This is easy and means you have an easily-reproduced source set.&lt;br /&gt;
&lt;br /&gt;
1) '''Download a source tarball''' from [http://sourceforge.net/project/showfiles.php?group_id=126998&amp;amp;package_id=142469 The Download Section of CodeBlocks.org]&lt;br /&gt;
&lt;br /&gt;
2) '''Extract it'''. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however. This should create a codeblocks-1.0rc2 ( or similar ) folder.&lt;br /&gt;
&lt;br /&gt;
====Option 2: Fetch from CVS====&lt;br /&gt;
&lt;br /&gt;
This is not signifigantly harder and means you have a more up-to-date version of the source code.  Usually this means more features and different bugs, which might be more or less annoying.&lt;br /&gt;
&lt;br /&gt;
1) '''Install the CVS client'''.  You might have it already.  If not, this just requires the usual :&lt;br /&gt;
 # emerge dev-util/cvs&lt;br /&gt;
&lt;br /&gt;
2) '''Set the CVS root'''. Run the following command, and enter the password ''anonymous'' when asked :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&lt;br /&gt;
Note that simply hitting enter--not entering a password--might also work.&lt;br /&gt;
&lt;br /&gt;
3) '''Checkout a copy'''. cd to the directory you want the code to be placed in.  Note that CVS will create a codeblocks directory for you. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however.&lt;br /&gt;
 # cd /usr/local/src&lt;br /&gt;
The following command fetches the source from the CVS server :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks checkout codeblocks&lt;br /&gt;
&lt;br /&gt;
===Compile the Code===&lt;br /&gt;
&lt;br /&gt;
1) '''cd to codeblocks directory'''.  Following our example, from CVS this would be /usr/local/src/codeblocks; from a tarball, something like /usr/local/src/codeblocks-1.0rc2 :&lt;br /&gt;
 # cd /usr/local/src/codeblocks&lt;br /&gt;
or&lt;br /&gt;
 # cd /usr/local/src/codeblocks-1.0rc2&lt;br /&gt;
&lt;br /&gt;
2) '''bootstrap'''. The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.&lt;br /&gt;
 # ./bootstrap&lt;br /&gt;
Note: If you get weird errors here try running following command and then bootstrap again.&lt;br /&gt;
 # find . -type f -and -not -name &amp;quot;*.cpp&amp;quot; -and -not -name &amp;quot;*.h&amp;quot; -and -not -name &amp;quot;*.png&amp;quot; -and -not -name &amp;quot;*.bmp&amp;quot; | sed &amp;quot;s/.*/\&amp;quot;\\0\&amp;quot;/&amp;quot; | xargs dos2unix&lt;br /&gt;
&lt;br /&gt;
3) '''configure'''. Use 'configure --help' to see what things you can enable or disable.&lt;br /&gt;
 # ./configure&lt;br /&gt;
&lt;br /&gt;
4) '''make and make install'''.&lt;br /&gt;
 # make&lt;br /&gt;
 # sudo make install&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
&lt;br /&gt;
to come&lt;br /&gt;
&lt;br /&gt;
To run Code::Blocks:&lt;br /&gt;
 # codeblocks&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
[https://www.codeblocks.org/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=29 Linux releases or compiling on Linux] from the forum&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/cvs/?group_id=126998 Code::Blocks : CVS access instructions]&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/docman/display_doc.php?docid=14033&amp;amp;group_id=1 Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services]&lt;br /&gt;
&lt;br /&gt;
===Credits===&lt;br /&gt;
&lt;br /&gt;
Original Author: me22 ( me22.ca@gmail.com )&lt;br /&gt;
Some changes: sleipner ( themacgyver@gmail.com )&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=3805</id>
		<title>Installing Code::Blocks from source on Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux&amp;diff=3805"/>
		<updated>2006-09-12T17:33:50Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: /* Building Code::Blocks RC2 and SVN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installing Code::Blocks]]&lt;br /&gt;
[[Category:Installing Code::Blocks from source]]&lt;br /&gt;
These are instructions on how to build Code::Blocks under Linux. I 've ran and verified this procedure to work under SuSE 9.2 and Fedora Core 3. These instructions should work for all Linux distros, as we 'll be installing from sources.&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
&lt;br /&gt;
In order to sucesfully compile Code::Blocks, the wxWidgets (&amp;lt;u&amp;gt;wxGTK-2.6.1 or later&amp;lt;/u&amp;gt;) cross-platform UI library &amp;lt;u&amp;gt;must be installed&amp;lt;/u&amp;gt;. In this document, it is not assumed that it is already installed in your system and instructions are given on how to download, build and install it.&lt;br /&gt;
What is '''not''' covered here, is the wxWidgets prerequisites. The most important being GTK2, of course!&lt;br /&gt;
Let me stress it here, while it's early: &amp;lt;u&amp;gt;GTK2 is required&amp;lt;/u&amp;gt;, not GTK1, for Code::Blocks to be operational.&lt;br /&gt;
&lt;br /&gt;
You do not need to Compile wxWidgets if your distribution has wxGTK 2.6 and wxGTK 2.6-dev package available.  A quick search for &amp;quot;wxGTK&amp;quot; through your respective package manager should show bring up the needed packages.  After you have installed successfully you can moving on the the Installing Code::Blocks portion.  If you are using Ubuntu and have installed the wxGTK package, you must also have the dev version as well as the &amp;quot;wx-common&amp;quot; package in order to successfully compile Code::Blocks.&lt;br /&gt;
&lt;br /&gt;
All the instructions below, assume an existing directory named &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;. If you 'll be using a different one, adjust the path to match.&lt;br /&gt;
As a first step create this directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mkdir ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===wxGTK installation===&lt;br /&gt;
&lt;br /&gt;
====Getting wxGTK====&lt;br /&gt;
&lt;br /&gt;
Visit the [http://www.wxwidgets.org wxWidgets web site]. Click the &amp;quot;Download&amp;quot; button at the top of the page. Under wxWidgets 2.6.3 downloads, select wxGTK. Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
wxWidgets project has released two patches for 2.6.3 release. Click the &amp;quot;Patches&amp;quot; in the left side of the page. Download the Patch 2, either in zip or tar.gz format. Save the file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Uncompressing the wxGTK sources====&lt;br /&gt;
&lt;br /&gt;
After the download finishes, switch to &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, untar the wxGTK sources:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxGTK-2.6.3.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Move the patch to the wxGTK directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mv wxWidgets-2.6.3-Patch-2.tar.gz wxGTK-2.6.3&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;mv wxWidgets-2.6.3-Patch-2.zip wxGTK-2.6.3&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Switch to the wxGTK directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd wxGTK-2.6.3&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extract the patch&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;tar zxf wxWidgets-2.6.3-Patch-2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;unzip -fo wxWidgets-2.6.3-Patch-2.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remove the patch file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;rm wxWidgets-2.6.3-Patch-2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;rm wxWidgets-2.6.3-Patch-2.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====wxWidgets build====&lt;br /&gt;
&lt;br /&gt;
Here we will create a seperate build directory instead of building from the src directory, so that we can easily rebuild with different options (unicode / ansi, monolithic / many libs, etc).&lt;br /&gt;
&lt;br /&gt;
The documentation says the default is for gtk2 to use unicode and wx &amp;gt; 2.5 to build as a monolithic library.  This doesn't appear to be the case, so these flags are passed to configure.&lt;br /&gt;
&lt;br /&gt;
 mkdir build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 cd build_gtk2_shared_monolithic_unicode&lt;br /&gt;
 ../configure --prefix=/opt/wx/2.6 \&lt;br /&gt;
        --enable-xrc \&lt;br /&gt;
        --enable-monolithic \&lt;br /&gt;
        --enable-unicode&lt;br /&gt;
 make&lt;br /&gt;
 make -C contrib/src/stc&lt;br /&gt;
 su&lt;br /&gt;
 make install&lt;br /&gt;
 make -C contrib/src/stc install&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
(Note: it's not necessary to make or install stc if you're compiling cvs HEAD or Code::Blocks newer than RC1)&lt;br /&gt;
&lt;br /&gt;
Add /opt/wx/2.6/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile)&lt;br /&gt;
(On Suse 10.1 edit /etc/profile.local, it will only be available after a new login).  an example PATH&lt;br /&gt;
 export PATH=/usr/bin:/opt/wx/2.6/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
'''Note:''' On Ubuntu Hoary it was necessary to check &amp;quot;Run command as login shell&amp;quot; &lt;br /&gt;
in the gnome-terminal profile-settings, otherwise the PATH changes are not available in a gnome-terminal window.&lt;br /&gt;
&lt;br /&gt;
add /opt/wx/2.6/lib to /etc/ld.so.conf (nano /etc/ld.so.conf)&lt;br /&gt;
then run:&lt;br /&gt;
 ldconfig&lt;br /&gt;
 source /etc/profile&lt;br /&gt;
&lt;br /&gt;
That's it.  Now the linker will look in /opt/wx/2.6/lib for wx libraries and you will have a monolithic shared library unicode build.&lt;br /&gt;
&lt;br /&gt;
To check that things are working, type:&lt;br /&gt;
 wx-config --prefix&lt;br /&gt;
which should give you /opt/wx/2.6&lt;br /&gt;
 wx-config --libs&lt;br /&gt;
which should have at least&lt;br /&gt;
 -L/opt/wx/2.6/lib -lwx_gtk2-2.6&lt;br /&gt;
but can contain other flags as well.&lt;br /&gt;
 which wx-config&lt;br /&gt;
should return /opt/wx/2.6/bin/wx-config&lt;br /&gt;
&lt;br /&gt;
===Code::Blocks installation===&lt;br /&gt;
&lt;br /&gt;
====Downloading Code::Blocks====&lt;br /&gt;
&lt;br /&gt;
You can get Code::Blocks source code in one of two ways:&lt;br /&gt;
* Download the latest source package, or&lt;br /&gt;
* Get the latest sources from the SVN repository.&lt;br /&gt;
Both methods, are described below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Downloading the latest source package=====&lt;br /&gt;
&lt;br /&gt;
Go to the Code::Blocks [https://www.codeblocks.org web site] and download the latest source package. This would be the &amp;quot; Code::Blocks IDE version 1.0rc2 source code (tarball)&amp;quot; codeblocks-1.0rc2.tar.gz.&lt;br /&gt;
Save this file in &amp;lt;tt&amp;gt;~/devel&amp;lt;/tt&amp;gt; and then untar it:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&lt;br /&gt;
tar zxf codeblocks-1.0rc2.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;~/devel/codeblocks-1.0rc2&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd codeblocks-1.0rc2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Getting the latest sources from SVN=====&lt;br /&gt;
'''IMPORTANT NOTICE: The Sourceforge CVS is no longer used although it still exists'''&lt;br /&gt;
&lt;br /&gt;
Enter your development directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ~/devel&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then checkout the source using one of [https://www.codeblocks.org/source_code.shtml these] methods.&lt;br /&gt;
&lt;br /&gt;
This will create the directory &amp;lt;tt&amp;gt;trunk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
Change to the source code directory, by issuing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;cd trunk&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC2 and SVN====&lt;br /&gt;
If you are a Gentoo user, please see [[Compiling_Code::Blocks_in_Gentoo]].&lt;br /&gt;
&lt;br /&gt;
If you're compiling the svn trunk versions of CodeBlocks (or future versions) then the unix build has switched to autotools.  So first build wxWidgets as described above and then build CodeBlocks as follows:&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
This sets up the configure script and it's dependencies.  It only needs to be run once (after downloading the source from svn).  '''If you get errors like:'''&lt;br /&gt;
 aclocal:configure.in:61: warning: macro `AM_OPTIONS_WXCONFIG' not found in library&lt;br /&gt;
Then aclocal is having trouble finding the wxWidgets .m4 files.  You can do one of two things:&lt;br /&gt;
To just get bootstrap to find the path this time do:&lt;br /&gt;
&amp;lt;!-- *********** Bad syntax... removed 2006-08-28 by BentFX ****************************&lt;br /&gt;
 export ACLOCAL_FLAGS=&amp;quot;--acdir=`wx-config --prefix`/share/aclocal&amp;quot;&lt;br /&gt;
&lt;br /&gt;
: Note: The above command resulted in missing macros when running ./bootstrap for me. Setting an additional search path instead of overwriting like above worked for me. In case of missing macros try &lt;br /&gt;
***********************************************************************************--&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;export ACLOCAL_FLAGS=&amp;quot;-I `wx-config --prefix`/share/aclocal&amp;quot;&amp;lt;/pre&amp;gt; &amp;lt;!--[[User:Jabber|Jabber]] 06:24, 2 August 2006 (EDT)--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To change the aclocal search path more permanently do:&lt;br /&gt;
 echo `wx-config --prefix`/share/aclocal &amp;gt;&amp;gt; /usr/share/aclocal/dirlist&lt;br /&gt;
Then aclocal will also search somewhere like /opt/wx/2.6/share/aclocal&lt;br /&gt;
&lt;br /&gt;
(*Note// '''If you run ./bootstrap and get errors like''':&lt;br /&gt;
 : bad interpreter: File not found&lt;br /&gt;
then there exists a problem with DOS line-endings. i had this error after i tried to build a  codeblocks from sources which were checked out with cvs on a windows machine. After i checked out a fresh copy of codeblocks from cvs under Ubuntu linux (see above topic: Downloading the latest source package fom SVN), all errors were gone. &lt;br /&gt;
//tiwag 051008*)&amp;lt;br&amp;gt;&lt;br /&gt;
Or, instead of downloading from CVS, you might consider using the little command line tool dos2unix, which normally comes with most distributions. //lizzarddude060103&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If configure aborts with some unspecific error message(&amp;quot;.infig.status: error: cannot find input file: Makefile&amp;quot;), you might consider also running&lt;br /&gt;
 dos2unix bootstrap acinclude.m4 codeblocks.pc.in configure.in Makefile.am&lt;br /&gt;
before running bootstrap&lt;br /&gt;
&lt;br /&gt;
Once you've run the bootstrap script, installing is as simple as:&lt;br /&gt;
 ./configure&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
To uninstall you can later run:&lt;br /&gt;
 make uninstall&lt;br /&gt;
&lt;br /&gt;
If you want to recompile everything, first run:&lt;br /&gt;
 make clean&lt;br /&gt;
and then follow the above sequence for installing.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will install to /usr/local.  If you want it in its own tree (so you can have multiple versions of CodeBlocks, each in its own subdirectory of /opt) replace the above ./configure command with:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks-svn&lt;br /&gt;
or similar.  Then you can later install a different build like:&lt;br /&gt;
 ./configure --prefix=/opt/codeblocks2-svn&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
By default, CodeBlocks will not compile the contributed plugins from SVN.  If you want to compile / install them too, replace the above ./configure command with:&lt;br /&gt;
 ./configure --enable-contrib&lt;br /&gt;
followed by 'make &amp;amp;&amp;amp; make install' as usual.&lt;br /&gt;
&lt;br /&gt;
To see a list of other options available for configuring the build of CodeBlocks do:&lt;br /&gt;
 ./configure --help&lt;br /&gt;
&lt;br /&gt;
To compile under gentoo, use&lt;br /&gt;
 ./configure --with-wx-config=wx-config-2.6&lt;br /&gt;
&lt;br /&gt;
====Building Code::Blocks RC1 and former====&lt;br /&gt;
&lt;br /&gt;
To build Code::Blocks all you have to do now is type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will build everything: the application and the plugins. The final step is to update the working environment for your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following notes about converting the line endings does '''not''' apply to the CVS Version! The &amp;quot;update&amp;quot; script included there works just fine.&lt;br /&gt;
&lt;br /&gt;
'''Important note:''' Don't run that final make yet! The &amp;quot;update&amp;quot; script seems to be using Dos character encoding, which will result in its failure to run on Linux. To fix this, use dos2unix:&lt;br /&gt;
&lt;br /&gt;
To install it in Gentoo, do:&lt;br /&gt;
&lt;br /&gt;
 # emerge -av dos2unix&lt;br /&gt;
&lt;br /&gt;
In Debian and Ubuntu, do (as root, or using sudo etc.):&lt;br /&gt;
&lt;br /&gt;
 # apt-get install sysutils&lt;br /&gt;
&lt;br /&gt;
This will install dos2unix. Now we are ready to convert the script.&lt;br /&gt;
 # dos2unix -n update update.unix&lt;br /&gt;
 # chmod +x update.unix&lt;br /&gt;
 # ./update.unix&lt;br /&gt;
The first line converts the script character encoding, the second makes it executable and the third runs it. This trick is from a forum post by ilkapo.&lt;br /&gt;
&lt;br /&gt;
OK. Now that the update script is converted to unix format, you can run the final make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make -f Makefile.unix update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If everything's gone well, congratulations! You should be able to launch Code::Blocks by running the generated &amp;lt;tt&amp;gt;run.sh&amp;lt;/tt&amp;gt; script in the &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; subdir:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;output/run.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script can be ran from anywhere in your system so, yes, you can make a shortcut to it on your desktop ;)&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3804</id>
		<title>Installing Code::Blocks from source on Gentoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3804"/>
		<updated>2006-09-12T17:29:19Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Current Code::Blocks Compilation Methods for Gentoo ==&lt;br /&gt;
&lt;br /&gt;
=== Subversion Portage Overlay ===&lt;br /&gt;
The current suggested method for emerging Code::Blocks is through the use of custom Ebuilds. The most prominently known portage overlay for the ebuilds is located here: [http://forums.gentoo.org/viewtopic-t-440412.html Gentoo Forums Code::Blocks Portage Overlay]&lt;br /&gt;
&lt;br /&gt;
=== Create your own overlay ===&lt;br /&gt;
Another method of pulling together your own Ebuilds and creating your own portage overlay is to view the bug report for adding Code::Blocks to portage. [http://bugs.gentoo.org/show_bug.cgi?id=89533 Gentoo Code::Blocks Package Suggestion]&lt;br /&gt;
&lt;br /&gt;
== Preparing Code::Blocks from Source (For 1.0rc2) ==&lt;br /&gt;
&lt;br /&gt;
'''WORK IN PROGRESS'''&lt;br /&gt;
&lt;br /&gt;
( Note: This is non-official and unverified.  It worked for me, but... )&lt;br /&gt;
&lt;br /&gt;
===Prepare Libraries===&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses the wxWidgets (http://www.wxwindows.org/) library for its GUI. wxWidgets in turn uses GTK+ (http://www.gtk.org/). GTK+ is the library which GNOME desktop uses, but GNOME is not required to use it. In fact, odds are very good that if you have a number of GUI programs installed, you already have it. wxWidgets is also very common, if slightly less so. &lt;br /&gt;
&lt;br /&gt;
You need to compile the wxGTK package with the following use flag:&lt;br /&gt;
&lt;br /&gt;
 +gtk2 &lt;br /&gt;
&lt;br /&gt;
The best way of getting this done is by adding a line to /etc/portage/package.use and recompiling wxGTK :&lt;br /&gt;
&lt;br /&gt;
 # echo x11-libs/wxGTK gtk2  &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
 # emerge wxGTK&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks now works fine with Unicode. So you might want to build wxGTK with +unicode flag.&lt;br /&gt;
&lt;br /&gt;
===Get the source code===&lt;br /&gt;
&lt;br /&gt;
For this you have 2 options:&lt;br /&gt;
&lt;br /&gt;
====Option 1: Download a source tarball.====&lt;br /&gt;
&lt;br /&gt;
This is easy and means you have an easily-reproduced source set.&lt;br /&gt;
&lt;br /&gt;
1) '''Download a source tarball''' from [http://sourceforge.net/project/showfiles.php?group_id=126998&amp;amp;package_id=142469 The Download Section of CodeBlocks.org]&lt;br /&gt;
&lt;br /&gt;
2) '''Extract it'''. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however. This should create a codeblocks-1.0rc2 ( or similar ) folder.&lt;br /&gt;
&lt;br /&gt;
====Option 2: Fetch from CVS====&lt;br /&gt;
&lt;br /&gt;
This is not signifigantly harder and means you have a more up-to-date version of the source code.  Usually this means more features and different bugs, which might be more or less annoying.&lt;br /&gt;
&lt;br /&gt;
1) '''Install the CVS client'''.  You might have it already.  If not, this just requires the usual :&lt;br /&gt;
 # emerge dev-util/cvs&lt;br /&gt;
&lt;br /&gt;
2) '''Set the CVS root'''. Run the following command, and enter the password ''anonymous'' when asked :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&lt;br /&gt;
Note that simply hitting enter--not entering a password--might also work.&lt;br /&gt;
&lt;br /&gt;
3) '''Checkout a copy'''. cd to the directory you want the code to be placed in.  Note that CVS will create a codeblocks directory for you. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however.&lt;br /&gt;
 # cd /usr/local/src&lt;br /&gt;
The following command fetches the source from the CVS server :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks checkout codeblocks&lt;br /&gt;
&lt;br /&gt;
===Compile the Code===&lt;br /&gt;
&lt;br /&gt;
1) '''cd to codeblocks directory'''.  Following our example, from CVS this would be /usr/local/src/codeblocks; from a tarball, something like /usr/local/src/codeblocks-1.0rc2 :&lt;br /&gt;
 # cd /usr/local/src/codeblocks&lt;br /&gt;
or&lt;br /&gt;
 # cd /usr/local/src/codeblocks-1.0rc2&lt;br /&gt;
&lt;br /&gt;
2) '''bootstrap'''. The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.&lt;br /&gt;
 # ./bootstrap&lt;br /&gt;
Note: If you get weird errors here try running following command and then bootstrap again.&lt;br /&gt;
 # find . -type f -and -not -name &amp;quot;*.cpp&amp;quot; -and -not -name &amp;quot;*.h&amp;quot; -and -not -name &amp;quot;*.png&amp;quot; -and -not -name &amp;quot;*.bmp&amp;quot; | sed &amp;quot;s/.*/\&amp;quot;\\0\&amp;quot;/&amp;quot; | xargs dos2unix&lt;br /&gt;
&lt;br /&gt;
3) '''configure'''. Use 'configure --help' to see what things you can enable or disable.&lt;br /&gt;
 # ./configure&lt;br /&gt;
&lt;br /&gt;
4) '''make and make install'''.&lt;br /&gt;
 # make&lt;br /&gt;
 # sudo make install&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
&lt;br /&gt;
to come&lt;br /&gt;
&lt;br /&gt;
To run Code::Blocks:&lt;br /&gt;
 # codeblocks&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
[https://www.codeblocks.org/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=29 Linux releases or compiling on Linux] from the forum&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/cvs/?group_id=126998 Code::Blocks : CVS access instructions]&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/docman/display_doc.php?docid=14033&amp;amp;group_id=1 Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services]&lt;br /&gt;
&lt;br /&gt;
===Credits===&lt;br /&gt;
&lt;br /&gt;
Original Author: me22 ( me22.ca@gmail.com )&lt;br /&gt;
Some changes: sleipner ( themacgyver@gmail.com )&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3803</id>
		<title>Installing Code::Blocks from source on Gentoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3803"/>
		<updated>2006-09-12T17:28:14Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: /* Preparing Code::Blocks from Source (Outdated) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}&lt;br /&gt;
[[Category:Outdated]]&lt;br /&gt;
&lt;br /&gt;
== Current Code::Blocks Compilation Methods for Gentoo ==&lt;br /&gt;
&lt;br /&gt;
=== Subversion Portage Overlay ===&lt;br /&gt;
The current suggested method for emerging Code::Blocks is through the use of custom Ebuilds. The most prominently known portage overlay for the ebuilds is located here: [http://forums.gentoo.org/viewtopic-t-440412.html Gentoo Forums Code::Blocks Portage Overlay]&lt;br /&gt;
&lt;br /&gt;
=== Create your own overlay ===&lt;br /&gt;
Another method of pulling together your own Ebuilds and creating your own portage overlay is to view the bug report for adding Code::Blocks to portage. [http://bugs.gentoo.org/show_bug.cgi?id=89533 Gentoo Code::Blocks Package Suggestion]&lt;br /&gt;
&lt;br /&gt;
== Preparing Code::Blocks from Source (For 1.0rc2) ==&lt;br /&gt;
&lt;br /&gt;
'''WORK IN PROGRESS'''&lt;br /&gt;
&lt;br /&gt;
( Note: This is non-official and unverified.  It worked for me, but... )&lt;br /&gt;
&lt;br /&gt;
===Prepare Libraries===&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses the wxWidgets (http://www.wxwindows.org/) library for its GUI. wxWidgets in turn uses GTK+ (http://www.gtk.org/). GTK+ is the library which GNOME desktop uses, but GNOME is not required to use it. In fact, odds are very good that if you have a number of GUI programs installed, you already have it. wxWidgets is also very common, if slightly less so. &lt;br /&gt;
&lt;br /&gt;
You need to compile the wxGTK package with the following use flag:&lt;br /&gt;
&lt;br /&gt;
 +gtk2 &lt;br /&gt;
&lt;br /&gt;
The best way of getting this done is by adding a line to /etc/portage/package.use and recompiling wxGTK :&lt;br /&gt;
&lt;br /&gt;
 # echo x11-libs/wxGTK gtk2  &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
 # emerge wxGTK&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks now works fine with Unicode. So you might want to build wxGTK with +unicode flag.&lt;br /&gt;
&lt;br /&gt;
===Get the source code===&lt;br /&gt;
&lt;br /&gt;
For this you have 2 options:&lt;br /&gt;
&lt;br /&gt;
====Option 1: Download a source tarball.====&lt;br /&gt;
&lt;br /&gt;
This is easy and means you have an easily-reproduced source set.&lt;br /&gt;
&lt;br /&gt;
1) '''Download a source tarball''' from [http://sourceforge.net/project/showfiles.php?group_id=126998&amp;amp;package_id=142469 The Download Section of CodeBlocks.org]&lt;br /&gt;
&lt;br /&gt;
2) '''Extract it'''. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however. This should create a codeblocks-1.0rc2 ( or similar ) folder.&lt;br /&gt;
&lt;br /&gt;
====Option 2: Fetch from CVS====&lt;br /&gt;
&lt;br /&gt;
This is not signifigantly harder and means you have a more up-to-date version of the source code.  Usually this means more features and different bugs, which might be more or less annoying.&lt;br /&gt;
&lt;br /&gt;
1) '''Install the CVS client'''.  You might have it already.  If not, this just requires the usual :&lt;br /&gt;
 # emerge dev-util/cvs&lt;br /&gt;
&lt;br /&gt;
2) '''Set the CVS root'''. Run the following command, and enter the password ''anonymous'' when asked :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&lt;br /&gt;
Note that simply hitting enter--not entering a password--might also work.&lt;br /&gt;
&lt;br /&gt;
3) '''Checkout a copy'''. cd to the directory you want the code to be placed in.  Note that CVS will create a codeblocks directory for you. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however.&lt;br /&gt;
 # cd /usr/local/src&lt;br /&gt;
The following command fetches the source from the CVS server :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks checkout codeblocks&lt;br /&gt;
&lt;br /&gt;
===Compile the Code===&lt;br /&gt;
&lt;br /&gt;
1) '''cd to codeblocks directory'''.  Following our example, from CVS this would be /usr/local/src/codeblocks; from a tarball, something like /usr/local/src/codeblocks-1.0rc2 :&lt;br /&gt;
 # cd /usr/local/src/codeblocks&lt;br /&gt;
or&lt;br /&gt;
 # cd /usr/local/src/codeblocks-1.0rc2&lt;br /&gt;
&lt;br /&gt;
2) '''bootstrap'''. The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.&lt;br /&gt;
 # ./bootstrap&lt;br /&gt;
Note: If you get weird errors here try running following command and then bootstrap again.&lt;br /&gt;
 # find . -type f -and -not -name &amp;quot;*.cpp&amp;quot; -and -not -name &amp;quot;*.h&amp;quot; -and -not -name &amp;quot;*.png&amp;quot; -and -not -name &amp;quot;*.bmp&amp;quot; | sed &amp;quot;s/.*/\&amp;quot;\\0\&amp;quot;/&amp;quot; | xargs dos2unix&lt;br /&gt;
&lt;br /&gt;
3) '''configure'''. Use 'configure --help' to see what things you can enable or disable.&lt;br /&gt;
 # ./configure&lt;br /&gt;
&lt;br /&gt;
4) '''make and make install'''.&lt;br /&gt;
 # make&lt;br /&gt;
 # sudo make install&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
&lt;br /&gt;
to come&lt;br /&gt;
&lt;br /&gt;
To run Code::Blocks:&lt;br /&gt;
 # codeblocks&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
[https://www.codeblocks.org/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=29 Linux releases or compiling on Linux] from the forum&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/cvs/?group_id=126998 Code::Blocks : CVS access instructions]&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/docman/display_doc.php?docid=14033&amp;amp;group_id=1 Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services]&lt;br /&gt;
&lt;br /&gt;
===Credits===&lt;br /&gt;
&lt;br /&gt;
Original Author: me22 ( me22.ca@gmail.com )&lt;br /&gt;
Some changes: sleipner ( themacgyver@gmail.com )&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=3802</id>
		<title>Compiled packages of Code::Blocks</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Compiled_packages_of_Code::Blocks&amp;diff=3802"/>
		<updated>2006-09-12T17:27:00Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: /* SVN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Downloads=&lt;br /&gt;
&lt;br /&gt;
==Stable Releases==&lt;br /&gt;
===1.0 RC2===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 98/NT/Me/2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Ansi&lt;br /&gt;
| With contrib plugins - With MinGW bundled&lt;br /&gt;
| [http://prdownloads.sourceforge.net/codeblocks/codeblocks-1.0rc2_mingw.exe?download Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Debian-logo_32.png]] [[wikipedia:Debian|Debian]]&lt;br /&gt;
| Sid&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Etch i386 also&lt;br /&gt;
| [http://neutronic.mine.nu/unstable Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| Probably it works on Dapper x86 also - Might have a problem with encoding related error messages, this is solved by editing the generated .desktop file i n /usr/share/applications/ and comment out ;encoding=UTF-8&lt;br /&gt;
| [http://neutronic.mine.nu/ubuntu-breezy/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Ebuild&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72819 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo_Linux|Gentoo]]&lt;br /&gt;
| 2005.1&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Patch&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://bugs.gentoo.org/attachment.cgi?id=72820 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 3&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| SRPMS compatible with wxGTK-2.4 is also [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.src.rpm available].&lt;br /&gt;
| [http://timeoff.wsisiz.edu.pl/zrzut/codeblocks-1.0-0.2.rc2.fc3.i386.rpm Download]&lt;br /&gt;
| Requires wxGTK-2.4 ([http://dag.wieers.com/packages/wxGTK/ Dag repository])&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4&lt;br /&gt;
| i386&lt;br /&gt;
| Binary&lt;br /&gt;
| not available any more&lt;br /&gt;
| [http://www.neoinvent.com/cb/codeblocks-1.0-rc2.i386.rpm Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:FreeBSD-logo_32.png]] [[wikipedia:Freebsd|FreeBSD]]&lt;br /&gt;
| 6.0&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?topic=1407.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Development Releases==&lt;br /&gt;
===SVN===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;font-size: 85%; border: gray solid 1px; border-collapse: collapse; text-align: center; width: 100%;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;width:12em&amp;quot; | [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Microsoft_Windows-logo-alt2_32.png]] [[wikipedia:Microsoft_Windows|Windows]]&lt;br /&gt;
| 2000/XP&lt;br /&gt;
| x86&lt;br /&gt;
| Binary Unicode&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
|&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| x86&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Ubuntu-logo_32.png]] [[wikipedia:Ubuntu_Linux|Ubuntu]]&lt;br /&gt;
| 5.10 Breezy&lt;br /&gt;
| AMD64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 9.3&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/93/rpm/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/Editors/codeblocks Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| i586&lt;br /&gt;
| Binary&lt;br /&gt;
| rev2509 with all contrib plugins except wxsmith&lt;br /&gt;
| [http://www.savefile.com/files.php?fid=5856206 Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:SuSE-logo-alt_32.png]] [[wikipedia:Suse|SUSE]]&lt;br /&gt;
| 10.0&lt;br /&gt;
| x86 64&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Slackware-logo_32.png]] [[wikipedia:Slackware|Slackware]]&lt;br /&gt;
| 10.2&lt;br /&gt;
| athlon-xp&lt;br /&gt;
| Binary&lt;br /&gt;
| {{dunno}}&lt;br /&gt;
| [http://www.icpnet.pl/~groman/cb-slack/ Download]&lt;br /&gt;
| &lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Mac-logo-alt.png]] [[wikipedia:Mac_os_x|Mac OS X]]&lt;br /&gt;
| 10.3 Panther&lt;br /&gt;
| PPC&lt;br /&gt;
| Binary&lt;br /&gt;
| Not ready yet&lt;br /&gt;
| [http://developer.berlios.de/project/showfiles.php?group_id=5358 Download]&lt;br /&gt;
| Bundled with wxMac 2.6 inside the app bundle&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Fedora-logo_32.png]] [[wikipedia:Fedora_Core|Redhat]]&lt;br /&gt;
| Fedora Core 4/5&lt;br /&gt;
| i686&lt;br /&gt;
| Binary&lt;br /&gt;
| With contrib plugins&lt;br /&gt;
| [/index.php?board=20.0 Download]&lt;br /&gt;
| Fedora Core 4 requires wxGTK packages e.g. from [http://ftp.freshrpms.net/pub/freshrpms/ayo/fedora/linux/4/i386/RPMS.freshrpms/ Freshrpms]&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
! style=&amp;quot;text-align: left; background: #ececec;&amp;quot; | [[Image:Gentoo-logo_32.png]] [[wikipedia:Gentoo|Gentoo]]&lt;br /&gt;
| Gentoo&lt;br /&gt;
| x86/AMD64&lt;br /&gt;
| Portage Overlay&lt;br /&gt;
| ?&lt;br /&gt;
| [http://www.stud.uni-karlsruhe.de/~uyavl/public/gentoo/codeblocks-9999-overlay-16-NO_DIGEST.tar.bz2 Download]&lt;br /&gt;
| [http://forums.gentoo.org/viewtopic-t-440412.html Forum Guide] [[Compiling_Code::Blocks_in_Gentoo]]&lt;br /&gt;
|- style=&amp;quot;border: solid 1px gray;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background: #ececec; border: solid 1px gray;&amp;quot;&lt;br /&gt;
! [[wikipedia:Operating_System|OS]]&lt;br /&gt;
! OS Version&lt;br /&gt;
! Architecture&lt;br /&gt;
! Package Type&lt;br /&gt;
! Remarks&lt;br /&gt;
! Download&lt;br /&gt;
! Installation Guide&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3801</id>
		<title>Installing Code::Blocks from source on Gentoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3801"/>
		<updated>2006-09-12T17:15:38Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: /* Code::Blocks now works fine with Unicode and wx2.6, and the build system has changed */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}&lt;br /&gt;
[[Category:Outdated]]&lt;br /&gt;
&lt;br /&gt;
== Current Code::Blocks Compilation Methods for Gentoo ==&lt;br /&gt;
&lt;br /&gt;
=== Subversion Portage Overlay ===&lt;br /&gt;
The current suggested method for emerging Code::Blocks is through the use of custom Ebuilds. The most prominently known portage overlay for the ebuilds is located here: [http://forums.gentoo.org/viewtopic-t-440412.html Gentoo Forums Code::Blocks Portage Overlay]&lt;br /&gt;
&lt;br /&gt;
=== Create your own overlay ===&lt;br /&gt;
Another method of pulling together your own Ebuilds and creating your own portage overlay is to view the bug report for adding Code::Blocks to portage. [http://bugs.gentoo.org/show_bug.cgi?id=89533 Gentoo Code::Blocks Package Suggestion]&lt;br /&gt;
&lt;br /&gt;
== Preparing Code::Blocks from Source (Outdated) ==&lt;br /&gt;
&lt;br /&gt;
'''WORK IN PROGRESS'''&lt;br /&gt;
&lt;br /&gt;
( Note: This is non-official and unverified.  It worked for me, but... )&lt;br /&gt;
&lt;br /&gt;
===Prepare Libraries===&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses the wxWidgets (http://www.wxwindows.org/) library for its GUI. wxWidgets in turn uses GTK+ (http://www.gtk.org/). GTK+ is the library which GNOME desktop uses, but GNOME is not required to use it. In fact, odds are very good that if you have a number of GUI programs installed, you already have it. wxWidgets is also very common, if slightly less so. &lt;br /&gt;
&lt;br /&gt;
You need to compile the wxGTK package with the following use flag:&lt;br /&gt;
&lt;br /&gt;
 +gtk2 &lt;br /&gt;
&lt;br /&gt;
The best way of getting this done is by adding a line to /etc/portage/package.use and recompiling wxGTK :&lt;br /&gt;
&lt;br /&gt;
 # echo x11-libs/wxGTK gtk2  &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
 # emerge wxGTK&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks now works fine with Unicode. So you might want to build wxGTK with +unicode flag.&lt;br /&gt;
&lt;br /&gt;
===Get the source code===&lt;br /&gt;
&lt;br /&gt;
For this you have 2 options:&lt;br /&gt;
&lt;br /&gt;
====Option 1: Download a source tarball.====&lt;br /&gt;
&lt;br /&gt;
This is easy and means you have an easily-reproduced source set.&lt;br /&gt;
&lt;br /&gt;
1) '''Download a source tarball''' from [http://sourceforge.net/project/showfiles.php?group_id=126998&amp;amp;package_id=142469 The Download Section of CodeBlocks.org]&lt;br /&gt;
&lt;br /&gt;
2) '''Extract it'''. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however. This should create a codeblocks-1.0rc2 ( or similar ) folder.&lt;br /&gt;
&lt;br /&gt;
====Option 2: Fetch from CVS====&lt;br /&gt;
&lt;br /&gt;
This is not signifigantly harder and means you have a more up-to-date version of the source code.  Usually this means more features and different bugs, which might be more or less annoying.&lt;br /&gt;
&lt;br /&gt;
1) '''Install the CVS client'''.  You might have it already.  If not, this just requires the usual :&lt;br /&gt;
 # emerge dev-util/cvs&lt;br /&gt;
&lt;br /&gt;
2) '''Set the CVS root'''. Run the following command, and enter the password ''anonymous'' when asked :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&lt;br /&gt;
Note that simply hitting enter--not entering a password--might also work.&lt;br /&gt;
&lt;br /&gt;
3) '''Checkout a copy'''. cd to the directory you want the code to be placed in.  Note that CVS will create a codeblocks directory for you. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however.&lt;br /&gt;
 # cd /usr/local/src&lt;br /&gt;
The following command fetches the source from the CVS server :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks checkout codeblocks&lt;br /&gt;
&lt;br /&gt;
===Compile the Code===&lt;br /&gt;
&lt;br /&gt;
1) '''cd to codeblocks directory'''.  Following our example, from CVS this would be /usr/local/src/codeblocks; from a tarball, something like /usr/local/src/codeblocks-1.0rc2 :&lt;br /&gt;
 # cd /usr/local/src/codeblocks&lt;br /&gt;
or&lt;br /&gt;
 # cd /usr/local/src/codeblocks-1.0rc2&lt;br /&gt;
&lt;br /&gt;
2) '''bootstrap'''. The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.&lt;br /&gt;
 # ./bootstrap&lt;br /&gt;
Note: If you get weird errors here try running following command and then bootstrap again.&lt;br /&gt;
 # find . -type f -and -not -name &amp;quot;*.cpp&amp;quot; -and -not -name &amp;quot;*.h&amp;quot; -and -not -name &amp;quot;*.png&amp;quot; -and -not -name &amp;quot;*.bmp&amp;quot; | sed &amp;quot;s/.*/\&amp;quot;\\0\&amp;quot;/&amp;quot; | xargs dos2unix&lt;br /&gt;
&lt;br /&gt;
3) '''configure'''. Use 'configure --help' to see what things you can enable or disable.&lt;br /&gt;
 # ./configure&lt;br /&gt;
&lt;br /&gt;
4) '''make and make install'''.&lt;br /&gt;
 # make&lt;br /&gt;
 # sudo make install&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
&lt;br /&gt;
to come&lt;br /&gt;
&lt;br /&gt;
To run Code::Blocks:&lt;br /&gt;
 # codeblocks&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
[https://www.codeblocks.org/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=29 Linux releases or compiling on Linux] from the forum&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/cvs/?group_id=126998 Code::Blocks : CVS access instructions]&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/docman/display_doc.php?docid=14033&amp;amp;group_id=1 Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services]&lt;br /&gt;
&lt;br /&gt;
===Credits===&lt;br /&gt;
&lt;br /&gt;
Original Author: me22 ( me22.ca@gmail.com )&lt;br /&gt;
Some changes: sleipner ( themacgyver@gmail.com )&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3800</id>
		<title>Installing Code::Blocks from source on Gentoo</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Gentoo&amp;diff=3800"/>
		<updated>2006-09-12T17:14:22Z</updated>

		<summary type="html">&lt;p&gt;Crzysdrs: /* The best way to compile C::B in gentoo these days is to use the codeblocks-svn ebuild which can be found in gentoo's bugzilla or in the forums */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{outdated}}&lt;br /&gt;
[[Category:Outdated]]&lt;br /&gt;
&lt;br /&gt;
== Current Code::Blocks Compilation Methods for Gentoo ==&lt;br /&gt;
&lt;br /&gt;
=== Subversion Portage Overlay ===&lt;br /&gt;
The current suggested method for emerging Code::Blocks is through the use of custom Ebuilds. The most prominently known portage overlay for the ebuilds is located here: [http://forums.gentoo.org/viewtopic-t-440412.html Gentoo Forums Code::Blocks Portage Overlay]&lt;br /&gt;
&lt;br /&gt;
=== Create your own overlay ===&lt;br /&gt;
Another method of pulling together your own Ebuilds and creating your own portage overlay is to view the bug report for adding Code::Blocks to portage. [http://bugs.gentoo.org/show_bug.cgi?id=89533 Gentoo Code::Blocks Package Suggestion]&lt;br /&gt;
&lt;br /&gt;
== Code::Blocks now works fine with Unicode and wx2.6, and the build system has changed ==&lt;br /&gt;
&lt;br /&gt;
'''WORK IN PROGRESS'''&lt;br /&gt;
&lt;br /&gt;
( Note: This is non-official and unverified.  It worked for me, but... )&lt;br /&gt;
&lt;br /&gt;
===Prepare Libraries===&lt;br /&gt;
&lt;br /&gt;
Code::Blocks uses the wxWidgets (http://www.wxwindows.org/) library for its GUI. wxWidgets in turn uses GTK+ (http://www.gtk.org/). GTK+ is the library which GNOME desktop uses, but GNOME is not required to use it. In fact, odds are very good that if you have a number of GUI programs installed, you already have it. wxWidgets is also very common, if slightly less so. &lt;br /&gt;
&lt;br /&gt;
You need to compile the wxGTK package with the following use flag:&lt;br /&gt;
&lt;br /&gt;
 +gtk2 &lt;br /&gt;
&lt;br /&gt;
The best way of getting this done is by adding a line to /etc/portage/package.use and recompiling wxGTK :&lt;br /&gt;
&lt;br /&gt;
 # echo x11-libs/wxGTK gtk2  &amp;gt;&amp;gt; /etc/portage/package.use&lt;br /&gt;
 # emerge wxGTK&lt;br /&gt;
&lt;br /&gt;
Note: Code::Blocks now works fine with Unicode. So you might want to build wxGTK with +unicode flag.&lt;br /&gt;
&lt;br /&gt;
===Get the source code===&lt;br /&gt;
&lt;br /&gt;
For this you have 2 options:&lt;br /&gt;
&lt;br /&gt;
====Option 1: Download a source tarball.====&lt;br /&gt;
&lt;br /&gt;
This is easy and means you have an easily-reproduced source set.&lt;br /&gt;
&lt;br /&gt;
1) '''Download a source tarball''' from [http://sourceforge.net/project/showfiles.php?group_id=126998&amp;amp;package_id=142469 The Download Section of CodeBlocks.org]&lt;br /&gt;
&lt;br /&gt;
2) '''Extract it'''. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however. This should create a codeblocks-1.0rc2 ( or similar ) folder.&lt;br /&gt;
&lt;br /&gt;
====Option 2: Fetch from CVS====&lt;br /&gt;
&lt;br /&gt;
This is not signifigantly harder and means you have a more up-to-date version of the source code.  Usually this means more features and different bugs, which might be more or less annoying.&lt;br /&gt;
&lt;br /&gt;
1) '''Install the CVS client'''.  You might have it already.  If not, this just requires the usual :&lt;br /&gt;
 # emerge dev-util/cvs&lt;br /&gt;
&lt;br /&gt;
2) '''Set the CVS root'''. Run the following command, and enter the password ''anonymous'' when asked :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks login&lt;br /&gt;
Note that simply hitting enter--not entering a password--might also work.&lt;br /&gt;
&lt;br /&gt;
3) '''Checkout a copy'''. cd to the directory you want the code to be placed in.  Note that CVS will create a codeblocks directory for you. For this tutorial, I'm going to assume that you're installing as root, so /usr/local/src is a good pick. Any location is fine, however.&lt;br /&gt;
 # cd /usr/local/src&lt;br /&gt;
The following command fetches the source from the CVS server :&lt;br /&gt;
 # cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks checkout codeblocks&lt;br /&gt;
&lt;br /&gt;
===Compile the Code===&lt;br /&gt;
&lt;br /&gt;
1) '''cd to codeblocks directory'''.  Following our example, from CVS this would be /usr/local/src/codeblocks; from a tarball, something like /usr/local/src/codeblocks-1.0rc2 :&lt;br /&gt;
 # cd /usr/local/src/codeblocks&lt;br /&gt;
or&lt;br /&gt;
 # cd /usr/local/src/codeblocks-1.0rc2&lt;br /&gt;
&lt;br /&gt;
2) '''bootstrap'''. The very first time you unpack the source (or checkout from CVS), you need to run ./bootstrap. This will create a sane building environment.&lt;br /&gt;
 # ./bootstrap&lt;br /&gt;
Note: If you get weird errors here try running following command and then bootstrap again.&lt;br /&gt;
 # find . -type f -and -not -name &amp;quot;*.cpp&amp;quot; -and -not -name &amp;quot;*.h&amp;quot; -and -not -name &amp;quot;*.png&amp;quot; -and -not -name &amp;quot;*.bmp&amp;quot; | sed &amp;quot;s/.*/\&amp;quot;\\0\&amp;quot;/&amp;quot; | xargs dos2unix&lt;br /&gt;
&lt;br /&gt;
3) '''configure'''. Use 'configure --help' to see what things you can enable or disable.&lt;br /&gt;
 # ./configure&lt;br /&gt;
&lt;br /&gt;
4) '''make and make install'''.&lt;br /&gt;
 # make&lt;br /&gt;
 # sudo make install&lt;br /&gt;
&lt;br /&gt;
===More===&lt;br /&gt;
&lt;br /&gt;
to come&lt;br /&gt;
&lt;br /&gt;
To run Code::Blocks:&lt;br /&gt;
 # codeblocks&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
&lt;br /&gt;
[https://www.codeblocks.org/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=29 Linux releases or compiling on Linux] from the forum&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/cvs/?group_id=126998 Code::Blocks : CVS access instructions]&lt;br /&gt;
&lt;br /&gt;
[http://sourceforge.net/docman/display_doc.php?docid=14033&amp;amp;group_id=1 Basic Introduction to CVS and SourceForge.net (SF.net) Project CVS Services]&lt;br /&gt;
&lt;br /&gt;
===Credits===&lt;br /&gt;
&lt;br /&gt;
Original Author: me22 ( me22.ca@gmail.com )&lt;br /&gt;
Some changes: sleipner ( themacgyver@gmail.com )&lt;/div&gt;</summary>
		<author><name>Crzysdrs</name></author>
	</entry>
</feed>