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

From Code::Blocks
m
 
(11 intermediate revisions by the same user not shown)
Line 14: Line 14:
  
 
  pkg_add -r gnu-autoconf
 
  pkg_add -r gnu-autoconf
 +
 +
# On PC-BSD I used pkg_add -r autotools instead of autoconf and automake
  
 
=== GNU automake ===
 
=== GNU automake ===
Line 22: Line 24:
  
 
  pkg_add -r gnu-libtool
 
  pkg_add -r gnu-libtool
 +
 +
# On PC-BSD used pkg_add -r libtool instead
  
 
=== zip ===
 
=== zip ===
  
 
  pkg_add -r zip
 
  pkg_add -r zip
 +
 +
=== rsync ===
 +
 +
pkg_add -r rsync
 +
 +
# On PC-BSD, rsync was needed to run some Code::Blocks scripts.
 +
 +
=== gnome-icon-theme ===
 +
 +
pkg_add -r gnome-icon-theme
 +
 +
# On PC-BSD, gnome-icon-theme was needed by the make install.
  
 
== Code::Blocks ==
 
== Code::Blocks ==
Line 31: Line 47:
 
=== Sources ===
 
=== Sources ===
  
http://codeblocks.org/source_code.shtml
+
https://www.codeblocks.org/downloads/7
  
 
  mkdir codeblocks  
 
  mkdir codeblocks  
Line 47: Line 63:
 
   cd codeblocks
 
   cd codeblocks
 
   ./bootstrap
 
   ./bootstrap
   ./configure --with-wx-config=wxgtk2u-2.6-config --enable-contrib
+
   ./configure --with-wx-config=wxgtk2u-2.8-config --with-contrib-plugins=all
 
   make
 
   make
 
   su -
 
   su -
Line 58: Line 74:
 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/codeblocks/
 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/codeblocks/
  
Currently 1.0RC2 (last stable)
+
http://www.freshports.org/devel/codeblocks/
 +
 
 +
Currently 8.02 (last stable)

Latest revision as of 22:51, 11 March 2010

Prerequisites

wxWidgets

pkg_add -r wxgtk2-unicode

SVN client

pkg_add -r subversion

GNU autoconf

pkg_add -r gnu-autoconf
  1. On PC-BSD I used pkg_add -r autotools instead of autoconf and automake

GNU automake

pkg_add -r gnu-automake

GNU libtool

pkg_add -r gnu-libtool
  1. On PC-BSD used pkg_add -r libtool instead

zip

pkg_add -r zip

rsync

pkg_add -r rsync
  1. On PC-BSD, rsync was needed to run some Code::Blocks scripts.

gnome-icon-theme

pkg_add -r gnome-icon-theme
  1. On PC-BSD, gnome-icon-theme was needed by the make install.

Code::Blocks

Sources

https://www.codeblocks.org/downloads/7

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

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 codeblocks
 ./bootstrap
 ./configure --with-wx-config=wxgtk2u-2.8-config --with-contrib-plugins=all
 make
 su -
 make install

Ports/Packages

codeblocks

http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/codeblocks/

http://www.freshports.org/devel/codeblocks/

Currently 8.02 (last stable)