|
|
- Setting up the build environment
|
|
|
SVN |
|
|
If you don't have svn installed, type the following command in console: |
|
|
sudo apt-get install subversion |
|
|
GTK+ library |
|
|
If you don't have GTK+ development library files installed, type the following command in console: |
|
|
sudo apt-get install libgtk2.0-dev |
|
|
GCC |
|
|
If you don't have GCC installed (especially g++), type the following command in console: |
|
|
sudo apt-get install gcc |
|
|
Autotools |
|
|
sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install libtool |
|
|
|
|
|
|
|
|
Download latest wxWidgets version from http://www.wxwidgets.org |
|
|
mkdir ~/source
cd ~/source
tar -xvjf ~/download/wxWidgets-2.8.10.tar.bz2
cd wxWidgets-2.8.10
mkdir compile
cd compile
../configure --prefix=/opt/wxWidgets --enable-unicode --disable-shared
make
make install |
|
|
Alternatively, you can also install the official release of wxWidgets binary packages instead of build your own sets. More detailed information can be found by click here. |
|
|
|
|
|
- Check out source from SVN
|
|
|
cd ~/source
svn co https://gobx.svn.sourceforge.net/svnroot/gobx/trunk gobx |
|
|
|
|
|
|
|
|
If you installed wxWidgets by build it yourself as shown here. Then type the following commands in console: |
|
|
cd ~/source/gobx/build
autoreconf -i -s -f
mkdir compile
cd compile
../configure --prefix=/opt/gobx --with-wxdir=/opt/wxWidgets/bin
make
make install |
|
|
If you installed the official wxWidgets binary packages. Then type the following commands in console (the difference is the value of --with-wxdir): |
|
|
cd ~/source/gobx/build
autoreconf -i -s -f
mkdir compile
cd compile
../configure --prefix=/opt/gobx --with-wxdir=/usr/bin
make
make install |
|
|
|