RE: net-snmp with perl

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

	Thanks for your quick response. I have used that, but below log is
coming in Ubuntu.

checking for nlist64... no
checking for knlist... no
checking if we are in the source tree so we can install Perl modules... Yes
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.


I donlt know how to solve it. But I need extended net-snmp agent with
official perl module. When try to install net-snmp perl module it conflits
with my debian package. Hence  I want to create a simple net-snmp package
with all it dependencies.

Who to do it?

Br,
Ambika


 

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

Ambika Tripathy wrote:
>     what is the suitable flag at configuration time to include perl 
> module? Please give a sample example.

./configure --with-perl-modules

If you also want embedded Perl support in snmpd and snmptrapd, add
"--enable-embedded-perl" (now default).


+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.