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

From Code::Blocks
Line 5: Line 5:
 
=== wxWidgets ===
 
=== wxWidgets ===
  
  pkg_add -r wxgtk2
+
  pkg_add -r wxgtk2-unicode
  
 
=== SVN client ===  
 
=== SVN client ===  
  
 
  pkg_add -r subversion
 
  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 ===
 
=== zip ===
Line 22: Line 34:
 
== Building ==
 
== Building ==
  
First, you have to install the following Ports:
+
   <!--cp -R /usr/X11R6/share/aclocal/ /usr/local/gnu-autotools/share/-->
 
 
* 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
 
   cd codeblocks

Revision as of 00:45, 29 November 2006

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

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

Building

 cd codeblocks
 export PATH=/usr/local/gnu-autotools/bin:$PATH
 ./bootstrap
 ./configure
 make
 make install