Changing the Theme 64 Bit Eclipse: Linux Installation, including PDT, WTP (WST), ATF, and MySQL (SQL Explorer Plugin)
Apr 11
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Firestarter LogoI recently installed Firestarter (a Firewall GUI for Linux - sometimes I just cant be arsed using CLI to configure iptables etc!), but I’ve noticed that when my system boots, it throws up the following error:

invoke-rc.d: initscript firestarter, action "restart" failed
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2

This is actually a bug with version 1.0.3-5, and the solution is pretty simple - to upgrade to version 1.0.3-6. However, I have Ubuntu 64 Bit installed, and unfortunately, 1.0.3-6 is not yet available in the repositories. Not worries - just a simple case of downloading the source tar ball, compiling, and installing.

First, I removed the currently installed version:

sudo apt-get remove firestarter

and downloaded the latest tar ball. Once this had downloaded to my desktop, I went through my usual routine of creating a new directory, moving the file, extracting… and so on:

cd ~/Desktop
mkdir firestarter
mv firestarter-1.0.3.tar.gz firestarter
cd firestarter
tar -zxvf firestarter-1.0.3.tar.gz
cd firestarter-1.0.3

Installation is pretty straightforward - although it’s always good to read the README and INSTALL files!

more INSTALL

So, configure, make, and install:

./configure --sysconfdir=/etc
make
sudo make install

However, the configure step threw out a few errors for me:

Package libgnome-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnome-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnome-2.0' found Package libgnomeui-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgnomeui-2.0' found Package gnome-vfs-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-vfs-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gnome-vfs-2.0' found Package libglade-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libglade-2.0' found
configure: error: Library requirements (libgnome-2.0 >= 2.0.0
libgnomeui-2.0 >= 2.0.0
gtk+-2.0 >= 2.4.0
gnome-vfs-2.0 >= 2.6.0
libglade-2.0 >= 2.3.6)

which basically means that I didn’t have some of the necessary development libraries installed required to compile the binaries. No real problem, and easy enough to solve by, well, installed in the required packages:

sudo apt-get install libgnome-dev libgnomeui-dev libgnome-vfs-dev libglade2-dev

This process also had to download an additional 50 packages to meet the dependencies of the above four packages (and there were probably some sub dependencies there too…)

Anyway, the configure process ran smoothly after installing the required dev libraries, so I could then run

make
sudo make install

to compile and install the new binaries.

It’s possible to have Firestarter run as a system service, by copying the fedora.init file from the install directory to /etc/init.d and renaming the file to firestarter, then enabling the script:

sudo cp fedora.init /etc/init.d/firestarter
sudo chkconfig firestarter reset

However, since I had previously installed Firestarter, all the relevant scripts and symbolic links were already in place. All I had to do was make a minor change to the /etc/init.d/firestarter script:

cd /etc/init.d
cp firestarter firestarter.old
gksu gedit firestarter

and changed the line

[ -x /usr/sbin/firestarter ] || exit 0

to

[ -x /usr/local/bin/firestarter ] || exit 0

so that the script would point to the new installed binary. That’s it.



Refurbished DELL XPS M1330 13.3" Laptop/Notebook PC
US $655.00 (30 Bids)
End Date: Thursday Dec-04-2008 11:33:41 PST
Bid now | Add to watch list
HP tx2000z 2.4Ghz CPU 3GB 250GB HDD Laptop Notebook
US $705.00 (37 Bids)
End Date: Thursday Dec-04-2008 12:00:00 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $425.00 (16 Bids)
End Date: Thursday Dec-04-2008 12:10:00 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $457.00 (41 Bids)
End Date: Thursday Dec-04-2008 12:20:00 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $466.00 (31 Bids)
End Date: Thursday Dec-04-2008 12:30:00 PST
Bid now | Add to watch list
New Compaq Presario CQ50-139WM Notebook 15.4" Laptop
US $405.00 (28 Bids)
End Date: Thursday Dec-04-2008 12:30:26 PST
Bid now | Add to watch list
Dell LATITUDE D820 Dual Core Duo Laptop Notebook Win XP
US $660.00 (38 Bids)
End Date: Thursday Dec-04-2008 12:50:00 PST
Bid now | Add to watch list
HP 17" Pavilion dv9819wm Laptop PC Computer notebook
US $590.00 (28 Bids)
End Date: Thursday Dec-04-2008 12:58:07 PST
Bid now | Add to watch list


  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • StumbleUpon
  • Technorati
  • Slashdot
  • TwitThis
  • Yahoo! Buzz

Related posts:

  1. Ubuntu Readahead boot profiling, and Bootchart
  2. Concurrent init.d scripts and HAL initialise error on boot up

Related posts brought to you by Yet Another Related Posts Plugin.

written by Hodge \\ tags: ,

Leave a Reply

Webloogle Blog Directory