Re: Smokeping failure

2012-05-14 Thread Rodrigo OSORIO
Hi,

The smokeping configure script requires FCGI and other modules
needs on run should be installed before configure. 
As a quick fix I suggest you a small change in the port makefile,
replacing RUN_DEPENDS by  BUILD_DEPENDS.
I request the port and fix it ASAP.

Regards
Rodrigo OSORIO

On 13/05/12 22:24 -0400, Darin wrote:
 It's apparently failing on the absence of FCGI or CGI::Fast.  Any idea 
 why this is happening all of a sudden?
 
 
 
 
 make failure:   
 
 
 cthulhu# cd /usr/ports/net-mgmt/smokeping
 cthulhu# make clean
 ===  Cleaning for smokeping-2.6.7
 cthulhu# make
 ===  License check disabled, port has not defined LICENSE
 ===  Found saved configuration for smokeping-2.4.2_6
 ===  Extracting for smokeping-2.6.7
 = SHA256 Checksum OK for smokeping-2.6.7.tar.gz.
 ===   smokeping-2.6.7 depends on file: /usr/local/bin/perl5.12.4 - found
 cd /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.7/lib ; /bin/rm 
 BER.pm SNMP_util.pm SNMP_Session.pm
 ===  Patching for smokeping-2.6.7
 ===   smokeping-2.6.7 depends on file: /usr/local/bin/perl5.12.4 - found
 ===  Applying FreeBSD patches for smokeping-2.6.7
 /usr/bin/sed -i.bak -e s!%%USERS%%!smokeping!g -e 
 s!%%GROUPS%%!smokeping!g -e s!%%PREFIX%%!/usr/local!g -e 
 s!%%LOCALBASE%%!/usr/local!g -e 
 s!%%DATADIR%%!/usr/local/share/smokeping!g -e 
 s!%%DOCSDIR%%!/usr/local/share/doc/smokeping!g -e 
 s!%%EXAMPLESDIR%%!/usr/local/share/examples/smokeping!g -e 
 s!%%WWWDIR%%!/usr/local/www/smokeping!g -e 
 s!%%ETCDIR%%!/usr/local/etc/smokeping!g  
 /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.7/doc/Makefile.in
 ===   smokeping-2.6.7 depends on executable: gmake - found
 ===   smokeping-2.6.7 depends on file: /usr/local/bin/perl5.12.4 - found
 ===  Configuring for smokeping-2.6.7
 checking build system type... i386-portbld-freebsd9.0
 checking host system type... i386-portbld-freebsd9.0
 checking target system type... i386-portbld-freebsd9.0
 checking for gcc... cc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether cc accepts -g... yes
 checking for cc option to accept ISO C89... none needed
 checking how to run the C preprocessor... cpp
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking minix/config.h usability... no
 checking minix/config.h presence... no
 checking for minix/config.h... no
 checking whether it is safe to define __EXTENSIONS__... yes
 checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
 wheel
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... conftools/install-sh -c -d
 checking for gawk... no
 checking for mawk... no
 checking for nawk... nawk
 checking whether gmake sets $(MAKE)... yes
 checking for style of include used by gmake... GNU
 checking dependency style of cc... none
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for perl... /usr/local/bin/perl
 checking for sed... /usr/bin/sed
 checking for grep... (cached) /usr/bin/grep
 checking for echo... /bin/echo
 checking for ln... /bin/ln
 checking for cp... /bin/cp
 checking for rm... /bin/rm
 checking for rmdir... /bin/rmdir
 checking for mkdir... /bin/mkdir
 checking for find... /usr/bin/find
 checking for sendmail... /usr/sbin/sendmail
 checking for gnroff... no
 checking for nroff... /usr/bin/nroff
 checking for gnumake... no
 checking for gmake... /usr/local/bin/gmake
 checking checking for gnu make availablility... /usr/local/bin/gmake is 
 GNU make
 checking checking for perl module 'RRDs'... Ok
 checking checking for perl module 'FCGI'... Failed
 checking checking for perl module 'CGI'... Ok
 checking checking for perl module 'CGI::Fast'... Failed
 checking checking for perl module 'Config::Grammar'... Ok
 checking checking for perl module 'Digest::HMAC_MD5'... Ok
 checking checking for perl module 'LWP'... Ok
 
 ** Aborting Configure **
 
If you know where perl can find the missing modules, set
the PERL5LIB environment variable accordingly.
 
FIRST though, make sure that 'perl' starts the perl
binary you want to use for SmokePing.
 
Now you can install local copies of the missing modules
by running
 
  ./setup/build-perl-modules.sh /usr/local/thirdparty
 
The RRDs perl module is part of RRDtool. Either 

Re: Smokeping failure

2012-05-14 Thread Lowell Gilbert
Darin derw...@naebunny.net writes:

 It's apparently failing on the absence of FCGI or CGI::Fast.  Any idea
 why this is happening all of a sudden?

I don't use (or know anything about) smokeping, 
but I did notice the new entry in UPDATING
saying that such configurations were preferred, 
and pointing to the documentation.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Smokeping failure

2012-05-14 Thread Jason Hellenthal

This has nothing to do with the webserver configuration.

This is a build failure due to a missing depend.

On Mon, May 14, 2012 at 11:32:16AM -0400, Lowell Gilbert wrote:
 Darin derw...@naebunny.net writes:
 
  It's apparently failing on the absence of FCGI or CGI::Fast.  Any idea
  why this is happening all of a sudden?
 
 I don't use (or know anything about) smokeping, 
 but I did notice the new entry in UPDATING
 saying that such configurations were preferred, 
 and pointing to the documentation.
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

-- 

 - (2^(N-1))
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Smokeping failure

2012-05-14 Thread Lowell Gilbert
Jason Hellenthal jhellent...@dataix.net top-posted:


 On Mon, May 14, 2012 at 11:32:16AM -0400, Lowell Gilbert wrote:
 Darin derw...@naebunny.net writes:
 
  It's apparently failing on the absence of FCGI or CGI::Fast.  Any idea
  why this is happening all of a sudden?
 
 I don't use (or know anything about) smokeping, 
 but I did notice the new entry in UPDATING
 saying that such configurations were preferred, 
 and pointing to the documentation.


 This has nothing to do with the webserver configuration.

 This is a build failure due to a missing depend.

Well, you definitely need one of those missing CGI ports for the default
configurations, so you can work around this by installing them. It looks
like you *should* be able to configure it other ways, so I don't think
putting them in the build requirements is a real fix.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Smokeping failure

2012-05-14 Thread Darin

On 5/14/2012 1:11 PM, Lowell Gilbert wrote:

Jason Hellenthaljhellent...@dataix.net  top-posted:



On Mon, May 14, 2012 at 11:32:16AM -0400, Lowell Gilbert wrote:

Darinderw...@naebunny.net  writes:


It's apparently failing on the absence of FCGI or CGI::Fast.  Any idea
why this is happening all of a sudden?

I don't use (or know anything about) smokeping,
but I did notice the new entry in UPDATING
saying that such configurations were preferred,
and pointing to the documentation.



This has nothing to do with the webserver configuration.

This is a build failure due to a missing depend.

Well, you definitely need one of those missing CGI ports for the default
configurations, so you can work around this by installing them. It looks
like you *should* be able to configure it other ways, so I don't think
putting them in the build requirements is a real fix.

Just wondering why FastCGI is needed all of a sudden.  I've used 
Smokeping for years and have never needed it before.. Just another bit 
of code that really doesn't add anything IMO.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Smokeping failure

2012-05-13 Thread Darin
It's apparently failing on the absence of FCGI or CGI::Fast.  Any idea 
why this is happening all of a sudden?





make failure:   



cthulhu# cd /usr/ports/net-mgmt/smokeping
cthulhu# make clean
===  Cleaning for smokeping-2.6.7
cthulhu# make
===  License check disabled, port has not defined LICENSE
===  Found saved configuration for smokeping-2.4.2_6
===  Extracting for smokeping-2.6.7
= SHA256 Checksum OK for smokeping-2.6.7.tar.gz.
===   smokeping-2.6.7 depends on file: /usr/local/bin/perl5.12.4 - found
cd /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.7/lib ; /bin/rm 
BER.pm SNMP_util.pm SNMP_Session.pm

===  Patching for smokeping-2.6.7
===   smokeping-2.6.7 depends on file: /usr/local/bin/perl5.12.4 - found
===  Applying FreeBSD patches for smokeping-2.6.7
/usr/bin/sed -i.bak -e s!%%USERS%%!smokeping!g -e 
s!%%GROUPS%%!smokeping!g -e s!%%PREFIX%%!/usr/local!g -e 
s!%%LOCALBASE%%!/usr/local!g -e 
s!%%DATADIR%%!/usr/local/share/smokeping!g -e 
s!%%DOCSDIR%%!/usr/local/share/doc/smokeping!g -e 
s!%%EXAMPLESDIR%%!/usr/local/share/examples/smokeping!g -e 
s!%%WWWDIR%%!/usr/local/www/smokeping!g -e 
s!%%ETCDIR%%!/usr/local/etc/smokeping!g  
/usr/ports/net-mgmt/smokeping/work/smokeping-2.6.7/doc/Makefile.in

===   smokeping-2.6.7 depends on executable: gmake - found
===   smokeping-2.6.7 depends on file: /usr/local/bin/perl5.12.4 - found
===  Configuring for smokeping-2.6.7
checking build system type... i386-portbld-freebsd9.0
checking host system type... i386-portbld-freebsd9.0
checking target system type... i386-portbld-freebsd9.0
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... conftools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking for style of include used by gmake... GNU
checking dependency style of cc... none
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl... /usr/local/bin/perl
checking for sed... /usr/bin/sed
checking for grep... (cached) /usr/bin/grep
checking for echo... /bin/echo
checking for ln... /bin/ln
checking for cp... /bin/cp
checking for rm... /bin/rm
checking for rmdir... /bin/rmdir
checking for mkdir... /bin/mkdir
checking for find... /usr/bin/find
checking for sendmail... /usr/sbin/sendmail
checking for gnroff... no
checking for nroff... /usr/bin/nroff
checking for gnumake... no
checking for gmake... /usr/local/bin/gmake
checking checking for gnu make availablility... /usr/local/bin/gmake is 
GNU make

checking checking for perl module 'RRDs'... Ok
checking checking for perl module 'FCGI'... Failed
checking checking for perl module 'CGI'... Ok
checking checking for perl module 'CGI::Fast'... Failed
checking checking for perl module 'Config::Grammar'... Ok
checking checking for perl module 'Digest::HMAC_MD5'... Ok
checking checking for perl module 'LWP'... Ok

** Aborting Configure **

   If you know where perl can find the missing modules, set
   the PERL5LIB environment variable accordingly.

   FIRST though, make sure that 'perl' starts the perl
   binary you want to use for SmokePing.

   Now you can install local copies of the missing modules
   by running

 ./setup/build-perl-modules.sh /usr/local/thirdparty

   The RRDs perl module is part of RRDtool. Either use the rrdtool
   package provided by your OS or install rrdtool from source.
   If you install from source, the RRDs module is located
   PREFIX/lib/perl

===  Script configure failed unexpectedly.
Please report the problem to po...@freebsd.org [maintainer] and attach the
/usr/ports/net-mgmt/smokeping/work/smokeping-2.6.7/config.log 
including the

output of the failure of your make command. Also, it might be a good idea to