From owner-freebsd-ports@FreeBSD.ORG Fri Jan 27 20:53:29 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B42D16A420 for ; Fri, 27 Jan 2006 20:53:29 +0000 (GMT) (envelope-from ntwrk_engr@yahoo.com) Received: from web35610.mail.mud.yahoo.com (web35610.mail.mud.yahoo.com [66.163.179.149]) by mx1.FreeBSD.org (Postfix) with SMTP id BC33B43D46 for ; Fri, 27 Jan 2006 20:53:28 +0000 (GMT) (envelope-from ntwrk_engr@yahoo.com) Received: (qmail 188 invoked by uid 60001); 27 Jan 2006 20:53:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=di0Ov9GvqV32ZbeH4RBz0hiVlPP8iwKaQFUAiQVCbRlnbiw2TQcWmg+qz8kmIiBTiUGi46RVmmxaB5Uz4DzKlLYGzKVG1Gks0HaQ7dc5P9buwmIAUik/goIp3oCWDlHrEWL4q59W8gw8cKwcV4F/mfy5CSsaYQ0UsgbCC5TP5Yc= ; Message-ID: <20060127205328.186.qmail@web35610.mail.mud.yahoo.com> Received: from [66.82.9.57] by web35610.mail.mud.yahoo.com via HTTP; Fri, 27 Jan 2006 12:53:28 PST Date: Fri, 27 Jan 2006 12:53:28 -0800 (PST) From: Henri Prudhomme To: Freebsd Ports MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Nagios package build problem (with perl?) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 20:53:29 -0000 Hello, I am trying to build a Nagios package for use on other machines. Any suggestions why there seems to be a perl problem with pod2usage, podchecker and podselect? My cvsup update on ports was a couple of weeks ago (Jan. 7, 2006) and I updated all of the ports based on that cvsup prior to building the Nagios package. Thanks, Henri ========== My machine: uname -a FreeBSD mis7011-8876.yavco.net 4.10-RELEASE-p20 FreeBSD 4.10-RELEASE-p20 #0: Sat Jan 14 22:00:07 MST 2006 root@mis7011-8876.yavco.net:/usr/obj/usr/src/sys/GENERIC i386 What I did: mis7011-8876# cd /usr/ports/net-mgmt/nagios mis7011-8876# make package-recursive clean ===> Installing for nagios-2.0.r1 ===> nagios-2.0.r1 depends on file: /usr/local/libexec/nagios/check_nagios - found ===> nagios-2.0.r1 depends on file: /usr/local/etc/rc.subr - found ===> nagios-2.0.r1 depends on shared library: gd.4 - found ===> nagios-2.0.r1 depends on shared library: gnugetopt.1 - found ===> nagios-2.0.r1 depends on shared library: iconv.3 - found You already have a "nagios" group, so I will use it. You already have a "nagios" user, so I will use it. ===> Generating temporary packing list ===> Checking if net-mgmt/nagios already installed cd ./base && make install /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/strip /usr/local/bin/nagios /usr/bin/install -c -o root -g wheel -m 755 -o root -g wheel nagiostats /usr/local/bin /usr/bin/strip /usr/local/bin/nagiostats cd ./cgi && make install /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; /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 /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 chmod g+s /var/spool/nagios/rw *** External command directory configured *** You can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): 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 755 -o root -g wheel -d /usr/local/etc/nagios /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/nagios.cfg /usr/local/etc/nagios/nagios.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/cgi.cfg /usr/local/etc/nagios/cgi.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/resource.cfg /usr/local/etc/nagios/resource.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/template-object/bigger.cfg /usr/local/etc/nagios/bigger.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/template-object/minimal.cfg /usr/local/etc/nagios/minimal.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/template-object/checkcommands.cfg /usr/local/etc/nagios/checkcommands.cfg-sample /usr/bin/install -c -o root -g wheel -m 644 -o root -g wheel sample-config/template-object/misccommands.cfg /usr/local/etc/nagios/misccommands.cfg-sample *** Sample config file installed *** Remember, these are *SAMPLE* config files. You'll need to read the documentation for more information on how to actually define services, hosts, etc. to fit your particular needs. If you have questions about configuring Nagios properly, please: - Look at the sample config files - Read the HTML documentation - Read the FAQs online at http://www.nagios.org/faqs *BEFORE* you post a question to one of the mailing lists. ********************************************************************** Enable nagios in /etc/rc.conf with the following line: nagios_enable="YES" Configuration templates are available in /usr/local/etc/nagios as *.cfg-sample files. Copy then to *.cfg files where required and edit to suit your needs. Documentation is available in HTML form in /usr/local/www/nagios/docs. If you don't already have a web server running, you will need to install and configure one to finish off your nagios installation. When used with Apache, the following should be sufficient to publish the web component of nagios (modification of allow list encouraged): Order allow,deny Allow from all Options ExecCGI ScriptAlias /nagios/cgi-bin/ /usr/local/www/nagios/cgi-bin/ Alias /nagios/ /usr/local/www/nagios/ ********************************************************************** Users experiencing troubles with logos used in the Status Map CGI should first check the value of the physical_html_path variable defined in /usr/local/etc/nagios/cgi.cfg. Refer to the example in /usr/local/etc/nagios/cgi.cfg-sample for the correct value. ********************************************************************** ===> Installing rcNG startup script(s) ===> Registering installation for nagios-2.0.r1 ===> Building package for nagios-2.0.r1 Creating package /usr/ports/packages/All/nagios-2.0.r1.tgz Registering depends: nagios-plugins-1.4.2_2,1 gd-2.0.33_4,1 freetype2-2.1.10_2 gettext-0.14.5 jpeg-6b_3 libgnugetopt-1.2 libiconv-1.9.2_1 expat-1.95.8_3 perl-5.8.7_2 pkgconfig-0.20 png-1.2.8_2 rc_subr-1.31_1. Creating gzip'd tar ball in '/usr/ports/packages/All/nagios-2.0.r1.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/libiconv-1.9.2_1.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/libiconv-1.9.2_1.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/autoconf-2.59_2.tgz Registering depends: m4-1.4.4 perl-5.8.7_2. Creating gzip'd tar ball in '/usr/ports/packages/All/autoconf-2.59_2.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/automake-1.9.6.tgz Registering depends: autoconf-2.59_2 m4-1.4.4 perl-5.8.7_2. Creating gzip'd tar ball in '/usr/ports/packages/All/automake-1.9.6.tgz' rmdir: /var/tmp/usr/ports/devel/automake19/work: Directory not empty *** Error code 1 (ignored) ===> Generating temporary packing list Creating package /usr/ports/packages/All/gettext-0.14.5.tgz Registering depends: expat-1.95.8_3 libiconv-1.9.2_1. Creating gzip'd tar ball in '/usr/ports/packages/All/gettext-0.14.5.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/gmake-3.80_2.tgz Registering depends: gettext-0.14.5 expat-1.95.8_3 libiconv-1.9.2_1. Creating gzip'd tar ball in '/usr/ports/packages/All/gmake-3.80_2.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/libgnugetopt-1.2.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/libgnugetopt-1.2.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/libtool-1.5.22_1.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/libtool-1.5.22_1.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/m4-1.4.4.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/m4-1.4.4.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/p5-gettext-1.05_1.tgz Registering depends: gettext-0.14.5 expat-1.95.8_3 libiconv-1.9.2_1 perl-5.8.7_2. Creating gzip'd tar ball in '/usr/ports/packages/All/p5-gettext-1.05_1.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/pkgconfig-0.20.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/pkgconfig-0.20.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/gd-2.0.33_4,1.tgz Registering depends: freetype2-2.1.10_2 jpeg-6b_3 pkgconfig-0.20 png-1.2.8_2. Creating gzip'd tar ball in '/usr/ports/packages/All/gd-2.0.33_4,1.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/jpeg-6b_3.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/jpeg-6b_3.tgz' ===> Generating temporary packing list Creating package /usr/ports/packages/All/png-1.2.8_2.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/png-1.2.8_2.tgz' Creating package /usr/ports/packages/All/perl-5.8.7_2.tgz Registering depends:. Creating gzip'd tar ball in '/usr/ports/packages/All/perl-5.8.7_2.tgz' tar: man/man1/pod2usage.1.gz: Cannot stat: No such file or directory tar: man/man1/podchecker.1.gz: Cannot stat: No such file or directory tar: man/man1/podselect.1.gz: Cannot stat: No such file or directory tar: bin/pod2usage: Cannot stat: No such file or directory tar: bin/podchecker: Cannot stat: No such file or directory tar: bin/podselect: Cannot stat: No such file or directory tar: Error exit delayed from previous errors pkg_create: make_dist: tar command failed with code 512 *** Error code 1 Stop in /usr/ports/lang/perl5.8. *** Error code 1 Stop in /usr/ports/lang/perl5.8. *** Error code 1 Stop in /usr/ports/net-mgmt/nagios. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com