ports/103973: problem with compiling /usr/ports/net-mgmt/nagios
Dmitriy Ivakin
divakin at huawei.com
Wed Oct 4 12:50:18 UTC 2006
>Number: 103973
>Category: ports
>Synopsis: problem with compiling /usr/ports/net-mgmt/nagios
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 04 12:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dmitriy Ivakin
>Release: 5.4
>Organization:
>Environment:
FreeBSD FreeBSD54.huawei.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Apr 27 15:28:30 MSD 2006 ivakin at HuaFree.huawei.com:/usr/src/sys/i386/compile/MONITOR26042006 i386
>Description:
Port /usr/ports/net-mgmt/nagios can't be installed. I've made make clean, them make install, the following output still exists
make install-basic
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/bin
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel nagios /usr/local/bin
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel nagiostats /usr/local/bin
make strip-post-install
/usr/bin/strip /usr/local/bin/nagios
/usr/bin/strip /usr/local/bin/nagiostats
cd ./cgi && make install
make install-basic
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/cgi-bin
for file in *.cgi; do /usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel $file /usr/local/www/nagios/cgi-bin; done
make strip-post-install
for file in *.cgi; do /usr/bin/strip /usr/local/www/nagios/cgi-bin/$file; done
cd ./html && make install
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/media
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/stylesheets
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/contexthelp
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/docs
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/docs/images
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/images
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/images/logos
/usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel -d /usr/local/www/nagios/ssi
/usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel robots.txt /usr/local/www/nagios
/usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel docs/robots.txt /usr/local/www/nagios/docs
for file in *.html; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios; done
for file in media/*.wav; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/media; done
for file in stylesheets/*.css; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/stylesheets; done
for file in contexthelp/*.html; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/contexthelp; done
for file in docs/*.html; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/docs; done
for file in docs/images/*.*; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/docs/images; done
for file in images/*.gif; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/images; done
for file in images/*.jpg; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/images; done
for file in images/*.png; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/images; done
for file in images/logos/*.*; do /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel $file /usr/local/www/nagios/images/logos; done
make install-basic
/usr/bin/install -c -o root -g wheel -m 775 -o root -g wheel -d /var/spool/nagios
/usr/bin/install -c -o root -g wheel -m 775 -o root -g wheel -d /var/spool/nagios/archives
if [ no = yes ]; then /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel p1.pl /usr/local/bin; fi;
*** Main program, CGIs and HTML files installed ***
You can continue with installing Nagios as follows (type 'make'
without any arguments for a list of all possible options):
make install-init
- This installs the init script in /usr/local/etc/rc.d
make install-commandmode
- This installs and configures permissions on the
directory for holding the external command file
make install-config
- This installs *SAMPLE* config files in /usr/local/etc/nagios
You'll have to modify these sample files before you can
use Nagios. Read the HTML documentation for more info
on doing this. Pay particular attention to the docs on
object configuration files, as they determine what/how
things get monitored!
/usr/bin/install -c -o root -g wheel -m 775 -o nagios -g www -d /var/spool/nagios/rw
install: www: Invalid argument
*** Error code 67
Stop in /usr/ports/net-mgmt/nagios/work/nagios-2.5.
*** Error code 1
Stop in /usr/ports/net-mgmt/nagios.
FreeBSD54#
>How-To-Repeat:
Just try to install this port.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list