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

From CodeBlocks
Jump to: navigation, search
m (Building)
m
Line 1: Line 1:
 
[[Category:Installing Code::Blocks]]
 
[[Category:Installing Code::Blocks]]
 
[[Category:Installing Code::Blocks from source]]
 
[[Category:Installing Code::Blocks from source]]
 
 
== Prerequisites ==
 
== Prerequisites ==
  

Revision as of 02:10, 29 November 2006

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