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

From CodeBlocks
Jump to: navigation, search
(testing on FreeBSD 6.1)
Line 27: Line 27:
 
  pkg_add -r zip
 
  pkg_add -r zip
  
=== Code::Blocks sources ===
+
== Code::Blocks ==
  
mkdir codeblocks
+
=== Sources ===
svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk codeblocks
+
  
== Building ==
+
http://codeblocks.org/source_code.shtml
 +
 
 +
svn checkout svn://svn.berlios.de/codeblocks/trunk
 +
 
 +
=== Building ===
  
 
   <!--cp -R /usr/X11R6/share/aclocal/ /usr/local/gnu-autotools/share/-->
 
   <!--cp -R /usr/X11R6/share/aclocal/ /usr/local/gnu-autotools/share/-->
  
  cd codeblocks
 
 
   export PATH=/usr/local/gnu-autotools/bin:$PATH
 
   export PATH=/usr/local/gnu-autotools/bin:$PATH
 +
 
 +
  setenv PATH /usr/local/gnu-autotools/bin:$PATH
 +
 +
  cd trunk
 
   ./bootstrap
 
   ./bootstrap
 
   ./configure
 
   ./configure
 
   make
 
   make
 
   make install
 
   make install

Revision as of 11:01, 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

http://codeblocks.org/source_code.shtml

svn checkout svn://svn.berlios.de/codeblocks/trunk

Building

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