We develop Firewall Builder on RedHat 7.1. We tested it on Solars 8 as well, but this is not our main development platform. We could not test it on Debian, SuSe distributions, although we've got positive feedback saying it works there, provided that correct libstdc++ and gtk-- packages are installed.
Generally speaking, you need the following packages:
If your system is configured as "Gnome Workstation" or Ximian Gnome is installed, then you already have proper gtk+, gtk-- and libsigc++ packages. If you are using KDE, then you need to add these packages.
gtk-- RPM's can be downloaded from http://gtkmm.sourceforge.net/ or directly in http://www.hvrlab.org/pub/gtkmm/
libsigc++ can be downloaded from their Home Page or from Sourceforge: http://sourceforge.net/project/showfiles.php?group_id=1970
libsigc++ also comes as part of Ximian Gnome distribution.
libxml2 and libxslt can be downloaded from http://xmlsoft.org
Firewall Builder implements number of features which make use of SNMP, therefore you will need ucd-snmp RPM installed, too. We tested with version 4.1.2 shipped with RedHat 7.0 and version 4.2 shipped with RedHat 7.1
You will also need relatively new resolver library (libresolv). I do not know how to determine version of libresolv itself since RedHat now ships it as part of glibc and glibc-devel package. You should be fine if you use any fresh distribution. If your glibc is 2.2 then your copy of libresolv is fine. RedHat 6.2 ships old resolver though, so unfortunately you can not build Firewall Builder on RedHat 6.2
Here is the list of recommended packages and where you can get them from:
gtkmm-1.2.5-1 | http://www.hvrlab.org/pub/gtkmm/ |
libsigc++-1.0.1-1 | http://www.hvrlab.org/pub/gtkmm/ |
libxml2-2.4.10 | ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxml/ |
libxslt-1.0.7-1 | ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxslt/ |
ucd-snmp-4.2-12 | CD #2 of RedHat distribution |
ucd-snmp-utils-4.2-12 | CD #2 of RedHat distribution |
openssl-0.9.6 | RedHat updates |
Requirements are very similar to those for Red Hat 7.1. If the system is configured as "Gnome Workstation" or Ximian Gnome is installed, the you don't need to add gtk+, gtk-- and libsigc++ packages. If you use KDE, you will need to add these packages though.
Here is the list of recommended packages. All these packages come with standard Mandrake 8.1, but you may need to install some of them by hand. What packages need to be installed depends on the configuration of OS. Some of these packages can be found on CD #1, while some others are on CD #2.
libglib1.2-1.2.10-3mdk.i586.rpm |
libstdc++2.10-2.96-0.62mdk.i586.rpm |
libgtkmm1.2-1.2.7-2mdk.i586.rpm |
libsigc++1.0-1.0.3-2mdk.i586.rpm |
libxml2-2.4.3-1mdk.i586.rpm |
libxslt1-1.0.3-1mdk.i586.rpm |
libxslt-proc-1.0.3-1mdk.i586.rpm |
libsnmp0-4.2.1-5mdk.i586.rpm |
ucd-snmp-utils-4.2.1-5mdk.i586.rpm |
libopenssl0-0.9.6b-1mdk.i586.rpm |
You will need the same libraries you would need to run our binary distribution, plus development packages of all the same libraries. That is, if you use RedHat, then you would need to install gtkmm-devel in addition to gtkmm RPM, libxml2-devel in addition to libxml2 and so on.
We tested with different versions of libxml2 and libxstl starting from libxml2-2.4.0 and libxslt-1.0.0, although we recommend using the latest which at the moment of writing this document are libxml2 2.4.10 and libxslt 1.0.7. Gnome ships with libxml-1.8 but you do not need to remove this one, just install libxml2 in addition - they do not conflict.
If you want to be able to use SNMP to collect some information about hosts/firewalls, you need to have ucd-snmp package installed. We tested with version 4.1.2. Home page: http://net-snmp.sourceforge.net/ If snmp library is not installed on your system, then support for features requiring SNMP will be automatically disabled in Firewall Builder.
If you would like to build API online class reference, you need to install DOC++ package. Home page: http://docpp.sourceforge.net/. If it is not present no error message will be shown, but class reference will not be generated.
NOTE: you need to upgrade g++ compiler on RedHat 7.0 in order to be able to builder Firewall Builder. Upgrade to the latest version available via RedHat updates site (tested with gcc-c++-2.96-69)
Here is the list of recommended packages for RedHat 7.1 and where you can get them from:
gtkmm-1.2.5-1 | http://www.hvrlab.org/pub/gtkmm/ |
gtkmm-devel-1.2.5-1 | http://www.hvrlab.org/pub/gtkmm/ |
libsigc++-1.0.1-1 | http://www.hvrlab.org/pub/gtkmm/ |
libsigc++-devel-1.0.1-1 | http://www.hvrlab.org/pub/gtkmm/ |
libxml2-2.4.10 | ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxml/ |
libxml2-devel-2.4.10 | ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxml/ |
libxslt-1.0.7-1 | ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxslt/ |
libxslt-devel-1.0.7-1 | ftp://ftp.gnome.org/pub/GNOME/stable/redhat/i386/libxslt/ |
doc++-3.4.8-1 | http://docpp.sourceforge.net/download.html |
ucd-snmp-4.2-12 | CD #2 of RedHat distribution |
ucd-snmp-devel-4.2-12 | CD #2 of RedHat distribution |
ucd-snmp-utils-4.2-12 | CD #2 of RedHat distribution |
openssl-0.9.6 or openssl095a-0.9.5a-9 | RedHat updates |
Here is the list of recommended packages for Mandrake 8.1 and where you can get them from:
libglib1.2-1.2.10-3mdk | CD #1 |
libglib1.2-devel-1.2.10-3mdk | CD #1 |
libgtkmm1.2-1.2.7-2mdk | CD #1 |
libgtkmm1.2-devel-1.2.7-2mdk | CD #2 |
gnome-libs-devel-1.4.1.2-6mdk (and all its dependencies) | CD #1 |
libsigc++1.0-1.0.3-2mdk | CD #2 |
libsigc++1.0-devel-1.0.3-2mdk | CD #2 |
libxml2-2.4.3-1mdk | CD #1 |
libxml2-devel-2.4.3-1mdk | CD #2 |
libxslt1-1.0.3-1mdk | CD #2 |
libxslt1-devel-1.0.3-1mdk | CD #2 |
libsnmp0-4.2.1-5mdk | CD #1 |
libsnmp0-devel-4.2.1-5mdk | CD #3 |
ucd-snmp-utils-4.2.1-5mdk | CD #1 |
ucd-snmp-4.2.1-5mdk | CD #2 |
libopenssl0-0.9.6b-1mdk | CD #1 |
openssl-0.9.6b-1mdk | CD #1 |
libopenssl0-devel-0.9.6b-1mdk | CD #2 |
doc++-3.4.8-1 | http://docpp.sourceforge.net/download.html |
We use SGML DocBook to generate HTML version of FAQ, so if you want to regenerate it, you would need openjade and docbook-utils packages as well. These are part of Mandrake Cooker, or you can find them on rpmfind.net.
You need gcc version 2.95.2 or higher. We tested with Ximian Gnome installed in /opt/gnome.
You also need to install GTK-- (http://gtkmm.sourceforge.net/) To compile it under Solaris you might have to set following env. variable:
env CXXFLAGS=-fpermissive ./configure
See this link for a discussion.
Make sure GNOME and GTK-- binaries are in the path.
download libxml2 and libxslt from ftp://xmlsoft.org/ and install them. Make sure xml2-config and xslt-config scripts are in the path.
You can get precompiled xml2 and xslt libraries for Solaris 8 here: http://garypennington.net/libxml2/
If you want to use SNMP, then install ucd-snmp: