Home
Screenshots
Getting 4Pane
Installing
i18n
Online Manual

Installing wxWidgets


4Pane requires the wxWidgets toolkit libraries to be installed on your system. Almost all distros will have these in package form: if so, install it and its dependencies.

If you intend to install a 4Pane binary, this is all you'll need. However if you want/need to build the 4Pane tarball you will also need either to have built the wxWidgets tarball as below, or else to have installed the appropriate wxWidgets development package which will probably be called something like wxGTK-devel, plus its dependencies.


If your distro has no wxWidgets package, or if you want a newer wx version, you can download the latest stable tarball from the wxWidgets website. Extract this in a directory of your choice; make a subdirectory in the resulting wxWidgets directory and cd into it. Then configure, make and make install.
4Pane will build against either the current stable wxWidgets-3.0 series, or the previous stable 2.8 one (preferably wxGTK-2.8.12.tar.gz). So in a shell you'd do:

tar -xf ./wxWidgets-3.0.1.tar.bz2
cd wxWidgets-3.0.1
mkdir build_gtk
cd build_gtk
../configure
make
su [enter root password]
make install
ldconfig

or, for wx2.8:
tar -xf ./wxGTK-2.8.12.tar.gz
cd wxGTK-2.8.12
mkdir build_gtk
cd build_gtk
../configure --enable-unicode
make
su [enter root password]
make install
ldconfig

You will probably need to have installed other packages first, such as the gtk2 development libraries (which should be called something like libgtk2.0-dev or gtk2-devel), or the gtk3 equivalents.