Installing Code::Blocks from source on FreeBSD
From Code::Blocks
At first we need to install gnu-make:
pkg_add -r gmake
then wx-gtk:
pkg_add -r wxgtk2-contrib
then dosunix wich converts files from dos to unix format:
pkg_add dosunix
now download and extract codeblocks:
fetch http://mesh.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-1.0-finalbeta.tar.gz tar xzf codeblocks-1.0-finalbeta.tar.gz
cd codeblocks-1.0-finalbeta/src
now make it:
gmake -f Makefile.unix dosunix update update.unix chmod +x update.unix
now execute:
cd update LD_LIBRARY_PATH=. ./codeblocks.exe