problem to install minimal agent

Gery <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I am using source of net-snmp 5.4.1 on FC6 and trying to build minimal agent w/ 
follows configuration:

./configure --enable-mini-agent --prefix=/opt/x86/snmp 
--with-persistent-directory="/opt/x86/snmp" --with-logfile="/opt/x86/snmp/log" 
--disable-embedded-perl --disable-perl-cc-checks --disable-perl-modules 
--disable-manuals --disable-debugging --disable-privacy --disable-internal-md5 
--disable-des --disable-md5

The configuration step goes well, so the make step also. At the installation get 
follow:

make[2]: Entering directory `/home/gxk/prjs/snmp/net-snmp-5.4.1/perl/TrapReceiver'
make[2]: Leaving directory `/home/gxk/prjs/snmp/net-snmp-5.4.1/perl/TrapReceiver'
Warning: You do not have permissions to install into 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi at 
/usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 114.
mkdir /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/NetSNMP: 
Permission denied at /usr/lib/perl5/5.8.8/ExtUtils/Install.pm line 176
make[1]: *** [pure_site_install] Error 13
make[1]: Leaving directory `/home/gxk/prjs/snmp/net-snmp-5.4.1/perl'
make: *** [perlinstall] Error 1

Did i miss some option? Why the installation tries to write under /usr/lib/perl*?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.