I make a fresh install of kubuntu and apt-get Fluxbox from Ubuntu repository yesterday and tried to login to Fluxbox. First problems I discovered was the root menu doesn’t work at all, meaning you can’t even open a xterm to run your commands. Second, they provides you the latest Fluxbox, version 1.0.0 ( at that moment), but it doesn’t come with fluxbox-generate_menu, meaning I could not even generate a working root menu. With this two problems, is enough to repel users from using Fluxbox. Therefore I decided to write this post for those who willing to compile Fluxbox from source code. Sorry for making my complains as an introduction.
Untar the source code.
tar -zxvf fluxbox-1.0.0.tar.gz
Download compilation utils and libs packages from your repository, the name of the packages might be different from the list bellow. ( The examples here is done under Kubuntu 7.10 )
sudo apt-get install build-essential texinfo acl-dev autoconf automake1.4 xorg-dev libx11-dev libimlib2-dev libxinerama-dev libxrender-dev libxft2-dev libxpm-dev
Next, run ./configure inside fluxbox-1.0.0 directory.
./configure --prefix=/usr --enable-nls --enable-imlib2 --enable-xinerama
The options append after ./configure is not compulsory. Bare in mind, fluxbox binary will be install under /usr/bin if you set –prefix=/usr. Check out more options of configuration,
Next, carry on with make if configure returns no error.
Checks your outcome before install, goto src folder and run
It should show this, if you follow my configs
Fluxbox version: 1.0.0 Compiled: Oct 21 2007 13:55:28 Compiler: GCC Compiler version: 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) Defaults: menu: /usr/share/fluxbox/menu style: /usr/share/fluxbox/styles/Clean keys: /usr/share/fluxbox/keys init: /usr/share/fluxbox/init nls: /usr/share/fluxbox/nls Compiled options (- => disabled): -DEBUG EWMH GNOME IMLIB2 KDE NLS REMEMBER RENDER SHAPE SLIT TOOLBAR XFT XINERAMA XMB XPM
At last, Install Fluxbox.
sudo make install
p.s. Compilation might be tricky if your libs or tools version are not match. Google it or ask around if you face any problems compiling it.