Installing Code::Blocks from source on Arch Linux

From Code::Blocks

Download wxWidgets 3.0.3 source code:

1. Install wget and zip

pacman -S wget zip xterm

2. Download the wxWidgets source code


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


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 codeblocks-code

10. Go into codeblocks folder

 cd codeblocks-code

11. 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


14. Now install codeblocks to /opt/codeblocks

 make install

15. Start codeblocks

 LD_LIBRARY_PATH=/usr/local/bin /opt/codeblocks/bin/codeblocks