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

From Code::Blocks
 
Line 9: Line 9:
 
then dosunix wich converts files from dos to unix format:
 
then dosunix wich converts files from dos to unix format:
  
   pkg_add dosunix
+
   pkg_add -r dosunix
 +
 
 +
then zip wich is used by the update script:
 +
 
 +
  pkg_add -r zip
  
 
now download and extract codeblocks:
 
now download and extract codeblocks:
  
   fetch http://mesh.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-1.0-finalbeta.tar.gz
+
   fetch http://mesh.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-1.0-rc1-1.tar.gz
 
   tar xzf codeblocks-1.0-finalbeta.tar.gz
 
   tar xzf codeblocks-1.0-finalbeta.tar.gz
  
   cd codeblocks-1.0-finalbeta/src
+
   cd codeblocks-1.0-RC1-1/src
  
 
now make it:
 
now make it:
Line 22: Line 26:
 
   dosunix update update.unix
 
   dosunix update update.unix
 
   chmod +x update.unix
 
   chmod +x update.unix
 +
 +
now run upated.unix:
 +
  ./update.unix
  
 
now execute:
 
now execute:
   cd update
+
   cd output
   LD_LIBRARY_PATH=. ./codeblocks.exe
+
   ./run.sh

Revision as of 21:53, 19 August 2005

At first we need to install gnu-make:

 pkg_add -r gmake

then wx-gtk:

 pkg_add -r wxgtk2-contrib

then dosunix wich converts files from dos to unix format:

 pkg_add -r dosunix

then zip wich is used by the update script:

 pkg_add -r zip

now download and extract codeblocks:

 fetch http://mesh.dl.sourceforge.net/sourceforge/codeblocks/codeblocks-1.0-rc1-1.tar.gz
 tar xzf codeblocks-1.0-finalbeta.tar.gz
 cd codeblocks-1.0-RC1-1/src

now make it:

 gmake -f Makefile.unix
 dosunix update update.unix
 chmod +x update.unix

now run upated.unix:

 ./update.unix

now execute:

 cd output
 ./run.sh