Installing Code::Blocks from source on FreeBSD

From Code::Blocks
Revision as of 00:04, 29 November 2006 by Sethjackson (talk | contribs) (Started on article cleanup.)


Prerequisites

wxWidgets

pkg_add -r wxgtk2-unicode

SVN client

pkg_add -r subversion

zip

pkg_add -r zip

Code::Blocks sources

mkdir codeblocks
svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk codeblocks

Building

First, you have to install the following Ports:

gnu-autoconf-2.59 Automatically configure source code on many Un*x platforms gnu-automake-1.9.6 GNU Standards-compliant Makefile generator (GNU unmodified) gnu-libtool-1.5.18 Generic shared library support script (GNU unmodified)

now you have to copy the m4 files from /usr/X11R6/share/aclocal/ to /usr/local/gnu-autotools/share/aclocal/

 cp -R /usr/X11R6/share/aclocal/ /usr/local/gnu-autotools/share/
 cd codeblocks
 export PATH=/usr/local/gnu-autotools/bin:$PATH
 ./bootstrap
 ./configure
 make
 make install