Saturday, April 28, 2007

Install fwbuilder 2.1.10 from source in Ubuntu 7.04

Firewall builder is a gui to help you build frewalls, the target firewall can be iptable, ipfilter, cisco pix, etc.

Conect your computer to the internet.

# - means it´s to be executed in the bash shell, without the # of course


# sudo apt-get install qt3-dev-tools

# sudo apt-get install libc6-dev

# sudo apt-get install g++


# sudo apt-get install libxml2-dev

# sudo apt-get install libxslt1-dev



download libfwbuilder-2.1.10.tar.gz at here and extract it.

# cd /.../libfwbuilder-2.1.10

# ./configure

# sudo make

# sudo make install



Now we have to install some Qt packages in order to fwbuilder-2.1.10.tar.gz compile, i don't now exactly wich ones are needed, i instaled the folowing packages.

libavahi-qt3-1 0.6.17-0ubuntu3 -- Avahi Qt3 integration library
libqt3-compat-headers 3.3.8really3.3.7-0ubuntu5 -- Qt 1.x and 2.x compatibility includes
libqt3-headers 3.3.8really3.3.7-0ubuntu5 -- Qt3 header files
libqt3-i18n 3.3.8really3.3.7-0ubuntu5 -- i18n files for Qt3 library
libqt3-mt 3.3.8really3.3.7-0ubuntu5 -- Qt GUI Library (Threaded runtime version), V
libqt3-mt-dev 3.3.8really3.3.7-0ubuntu5 -- Qt development files (Threaded)
libqt4-core 4.2.3-0ubuntu3 -- Qt 4 core non-GUI functionality runtime libr
libqt4-dev 4.2.3-0ubuntu3 -- Qt 4 development files
libqt4-gui 4.2.3-0ubuntu3 -- Qt 4 core GUI functionality runtime library
libqt4-qt3support 4.2.3-0ubuntu3 -- Qt 3 compatibility library for Qt 4
libqt4-sql 4.2.3-0ubuntu3 -- Qt 4 SQL database module
libqthreads-12 1.6.8-6build1 -- QuickThreads library for Guile
qt3-designer 3.3.8really3.3.7-0ubuntu5 -- Qt3 Designer
qt3-dev-tools 3.3.8really3.3.7-0ubuntu5 -- Qt3 development tools

Some of these migth not be necessary.


download fwbuilder-2.1.10.tar.gz at here and extract it.

# cd /.../fwbuilder-2.1.10

# ./configure

# sudo make

# sudo make install



# cd /usr/lib/i486-linux-gnu/

or

# cd /usr/lib/x86_64-linux-gnu/

if you have a amd64 (x86_64-linux) processor (may also for other 64 bit cpus) runing a 64 bit linux distribution.


# sudo ln -s /usr/local/lib/libfwbuilder.so.7.3.0 libfwbuilder.so.7

# sudo ln -s /usr/local/lib/libfwcompiler.so.7.3.0 libfwcompiler.so.7


now just run "fwbuilder":

# fwbuilder

No comments: