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

From Code::Blocks
(→‎Building: wx-config has funny name)
Line 37: Line 37:
 
=== Building ===
 
=== Building ===
  
 +
  # sh:
 
   export PATH=/usr/local/gnu-autotools/bin:$PATH
 
   export PATH=/usr/local/gnu-autotools/bin:$PATH
 
   export ACLOCAL_FLAGS="-I /usr/X11R6/share/aclocal -I /usr/local/share/aclocal"
 
   export ACLOCAL_FLAGS="-I /usr/X11R6/share/aclocal -I /usr/local/share/aclocal"
+
  # csh:
 
   setenv PATH /usr/local/gnu-autotools/bin:$PATH
 
   setenv PATH /usr/local/gnu-autotools/bin:$PATH
 
   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"
Line 45: Line 46:
 
   cd trunk
 
   cd trunk
 
   ./bootstrap
 
   ./bootstrap
   ./configure
+
   ./configure --with-wx-config=wxgtk2u-2.6-config --enable-contrib
 
   make
 
   make
 
   make install
 
   make install

Revision as of 10:12, 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

 # 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 trunk
 ./bootstrap
 ./configure --with-wx-config=wxgtk2u-2.6-config --enable-contrib
 make
 make install