Difference between revisions of "Installing Code::Blocks from source on Arch Linux"

From Code::Blocks
(remove gamin, add boost as dependency)
Line 23: Line 23:
  
 
7. Install svn and other needed libraries
 
7. Install svn and other needed libraries
   pacman -S svn hunspell gamin
+
   pacman -S svn hunspell boost
  
 
8. Go back to home
 
8. Go back to home

Revision as of 06:47, 9 August 2019

Download wxWidgets 3.0.3 source code:

1. Install wget and zip

pacman -S wget zip

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