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: net-snmp-users@lists.sourceforge.net
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to