[smokeping-users] configure fails to find perl modules, Mac 10.4.6

Gregory Sloop gregs at sloop.net
Fri Dec 13 17:05:23 CET 2013


The error is that none of those Grammar.pm files are in the path for perl
to find.

But I know absolutely nothing about getting SP running under OSX.

It appears as though the perl module config::grammar isn't installed
and SP needs it.

Here's what I find with a quick Google search on installing modules
under OSX.
http://www.perlmonks.org/?node_id=640489

Start there.

Once you get dependencies sorted out, then smokeping should install
fine.

-Greg

LN> Hello,

LN> How can I get configure to complete when it is failing to find perl
LN> modules that exist on my system?   I imagine that there is a simple
LN> solution but I'm afraid to start hacking files willy-nilly because my
LN> knowledge of this stuff is actually quite limited.

LN> When I run  ./configure --prefix=/opt/smokeping  I get the failure
LN> "Can't locate Config/Grammar.pm in @INC".  Details below.  Grammar.pm
LN> exists in several places on my system.

LN> I am running mac os x 10.4.6.  I have made sure I have a recent copy
LN> of perl by running curl -L http://xrl.us/installperlosx | bash as
LN> recommended on the perl monks site.

LN> I have the Grammar.pm on my system.  (results of find / -name
Grammar.pm 2>>/dev/null are below the configure fail messages

LN> NB - I am also having trouble building mod_fastcgi.so.  I'm including
LN> this information in case it is relevant to the failure of the
LN> configure script.

LN> thank you very much
LN> Layla Nahar


LN> ---configure fail results---

LN> helenatroy:smokeping-2.6.9 helenatroy$ ./bin/smokeping
LN> --config=/opt/smokeping/etc/config --debug
LN> Can't locate Config/Grammar.pm in @INC (@INC contains:
LN> /Users/smokeping/smokeping-2.6.9/bin/../lib
LN> /Users/smokeping/smokeping-2.6.9/bin/../thirdparty/lib/perl5
LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level
LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0
LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/darwin-2level
LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0 .) at
LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping/Config.pm line
LN> 5.
LN> BEGIN failed--compilation aborted at
LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping/Config.pm line
LN> 13.
LN> Compilation failed in require at
LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping.pm line 14.
LN> BEGIN failed--compilation aborted at
LN> /Users/smokeping/smokeping-2.6.9/bin/../lib/Smokeping.pm line 14.
LN> Compilation failed in require at ./bin/smokeping line 12.
LN> BEGIN failed--compilation aborted at ./bin/smokeping line 12.


LN> --- results of:   find / -name Grammar.pm 2>/dev/null --

LN> helenatroy:smokeping-2.6.9 helenatroy$ find / -name Grammar.pm 2>/dev/null
LN> /Library/Perl/Updates/5.10.0/TAP/Parser/Grammar.pm
LN> /opt/smokeping/thirdparty/lib/perl5/Config/Grammar.pm
LN> /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/Wx/XSP/Grammar.pm
LN> /System/Library/Perl/Extras/5.8.9/darwin-thread-multi-2level/Wx/XSP/Grammar.pm
LN> /Users/helenatroy/perl5/perlbrew/build/perl-5.16.0/cpan/Test-Harness/lib/TAP/Parser/Grammar.pm
LN> /Users/helenatroy/perl5/perlbrew/build/perl-5.16.0/lib/TAP/Parser/Grammar.pm
LN> /Users/helenatroy/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/TAP/Parser/Grammar.pm

LN> _______________________________________________
LN> smokeping-users mailing list
LN> smokeping-users at lists.oetiker.ch
LN> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

-- 
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail: gregs at sloop.net
http://www.sloop.net
---



More information about the smokeping-users mailing list