Nagios on solaris 10

Hi

For a Nagios installation on solaris I use the following packages:
[blockquote]apache-2.2.6-sol10-sparc-local apache
curl-7.17.1-sol10-sparc-local curl
expat-1.95.5-sol10-sparc-local expat
fontconfig-2.4.2-sol10-sparc-local fontconfig
freetype-2.3.1-sol10-sparc-local freetype
gcc-3.4.6-sol10-sparc-local gcc
jpeg-6b-sol10-sparc-local jpeg
libgcc-3.4.6-sol10-sparc-local libgcc
libiconv-1.11-sol10-sparc-local libiconv
libpng-1.2.24-sol10-sparc-local libpng
libxml2-2.6.26-sol10-sparc-local libxml2
mysql-5.0.51-sol10-sparc-local mysql
openldap-2.3.35-sol10-sparc-local ldap
openssl-0.9.8f-sol10-sparc-local openssl
php-5.2.5-sol10-sparc-local [pP][hH][pP]
rrdtool-1.2.19-sol10-sparc-local rrdtool
sasl-2.1.21-sol10-sparc-local sasl
sed-4.1.5-sol10-sparc-local sed
SFWgd.pkg gd
xpm-3.4k-sol9-sparc-local xpm
zlib-1.2.3-sol9-sparc-local zlib
[/blockquote]

There was a serious problem on a
SunOS sb01958a 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V245

To reduce impact of the installation, we want to recompile the main packages and drop those not needed.
But I don’t know which packages I can drop and even don’t know how to find out what packages I could drop.

Questions:

  1. What packages can I drop when I recompile nagios, apache, etc.

  2. How can I find out what nagios really needs?

  3. If I do NOT compile on that particular platform (for developing I do not have the above solaris version!), do I really solve the problems with the above version or is it essential to compile on the exact OS where I will install nagios (I truly expect your clearvoyant…)?

  4. I s there an alternative to apache2 that demands less packages.

  5. Instead of installing from pre-compiled packages, I could always compile the stuff on the target machine during installation. Would this approach be safer and can it be done by a script with minimal user interaction? pros/cons for this approach?

thanks a lot!