Installing Code::Blocks from source on Arch Linux
From Code::Blocks
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Download wxWidgets 3.0.3 source code:
1. Install wget and zip
pacman -S wget zip xterm
2. Download the wxWidgets source code
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.3/wxWidgets-3.0.3.tar.bz2
3. Extract it
tar -x -f wxWidgets-3.0.3.tar.bz2
3.Go into the extracted directory
cd wxWidgets-3.0.3
4. Configure wxWidgets
./configure --enable-unicode --enable-monolithic --enable-debug --enable-shared
5. Build it
make
6. Install it
make install
7. Install svn and other needed libraries
pacman -S svn hunspell boost
8. Go back to home
cd ~
9. Download Codeblocks code
svn checkout https://svn.code.sf.net/p/codeblocks/code/trunk codeblocks-code
10. Go into codeblocks folder
cd codeblocks-code
11. Bootstrap
./bootstrap
12. configure. We can not use the FileManager plugin because of the missing gamin library (08.2019)
./configure --with-contrib-plugins=all,-FileManager --prefix=/opt/codeblocks
13. make
make
14. Now install codeblocks to /opt/codeblocks
make install
15. Start codeblocks
LD_LIBRARY_PATH=/usr/local/bin /opt/codeblocks/bin/codeblocks