RE: net-snmp with perl

"Ambika Tripathy" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

Thanks. I have followed below way

#apt-get -f install

#apt-get install libperl-dev

Then configure configure and build as 

SNMP_LIB_PATH="`pwd`/pkg/usr/local"

#./configure --with-mib-modules="nethawkmib nethawktrap"
--prefix=$SNMP_LIB_PATH
#make
#make install

I am expecting all the lib/binary/help file for snmp and related package in
SNMP_LIB_PATH.

But I found the perl stuffs are going to /usr/local/lib/perl/...


Is there any way to redirect the output of perl to specified location like
--perfix?

Br,
Ambika



-----Original Message-----
From: Thomas Anders [mailto:[email protected]] 
Sent: 2008-12-04 00:10
To: Ambika Tripathy
Cc: [email protected]
Subject: Re: net-snmp with perl

Ambika Tripathy wrote:
> checking for Perl cc... Can't locate Config.pm in @INC (@INC contains:
> /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
> /usr/local/lib/site_perl .).
> BEGIN failed--compilation aborted.
> configure: error: Could not determine the compiler that was used to 
> build /usr/bin/perl. Either set the environment variable PERLPROG to a 
> different perl binary or use --without-perl-modules to build without Perl.

Install the Ubuntu package that includes Perl's Config.pm ("perl-modules" in
Debian Etch) or use "--disable-perl-cc-checks".


+Thomas



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.