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

From Code::Blocks
(Started on article cleanup.)
Line 25: Line 25:
 
First, you have to install the following Ports:
 
First, you have to install the following Ports:
  
gnu-autoconf-2.59  Automatically configure source code on many Un*x platforms  
+
* 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-automake-1.9.6  GNU Standards-compliant Makefile generator (GNU unmodified)
gnu-libtool-1.5.18  Generic shared library support script (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/
 
now you have to copy the m4 files from /usr/X11R6/share/aclocal/ to /usr/local/gnu-autotools/share/aclocal/

Revision as of 00:05, 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