Difference between revisions of "Installing Code::Blocks from source on FreeBSD"
From Code::Blocks
m |
Sethjackson (talk | contribs) |
||
Line 36: | Line 36: | ||
http://codeblocks.org/source_code.shtml | http://codeblocks.org/source_code.shtml | ||
− | svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk | + | mkdir codeblocks |
+ | svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk codeblocks | ||
=== Building === | === Building === | ||
Line 47: | Line 48: | ||
setenv ACLOCAL_FLAGS "-I /usr/X11R6/share/aclocal -I /usr/local/share/aclocal" | setenv ACLOCAL_FLAGS "-I /usr/X11R6/share/aclocal -I /usr/local/share/aclocal" | ||
− | cd | + | cd codeblocks |
./bootstrap | ./bootstrap | ||
./configure --with-wx-config=wxgtk2u-2.6-config --enable-contrib | ./configure --with-wx-config=wxgtk2u-2.6-config --enable-contrib |
Revision as of 17:24, 29 November 2006
These are instructions on how to build Code::Blocks on FreeBSD. They have been tested with PC-BSD 1.2 (based on FreeBSD 6.1)
Prerequisites
wxWidgets
pkg_add -r wxgtk2-unicode
SVN client
pkg_add -r subversion
GNU autoconf
pkg_add -r gnu-autoconf
GNU automake
pkg_add -r gnu-automake
GNU libtool
pkg_add -r gnu-libtool
zip
pkg_add -r zip
Code::Blocks
Sources
http://codeblocks.org/source_code.shtml
mkdir codeblocks svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk codeblocks
Building
# sh: export PATH=/usr/local/gnu-autotools/bin:$PATH export ACLOCAL_FLAGS="-I /usr/X11R6/share/aclocal -I /usr/local/share/aclocal" # csh: setenv PATH /usr/local/gnu-autotools/bin:$PATH setenv ACLOCAL_FLAGS "-I /usr/X11R6/share/aclocal -I /usr/local/share/aclocal"
cd codeblocks ./bootstrap ./configure --with-wx-config=wxgtk2u-2.6-config --enable-contrib make su - make install
Ports/Packages
codeblocks
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/codeblocks/
Currently 1.0RC2 (last stable)