ERROR: Can't create '/usr/local/lib64/perl5'

Zvi Vered <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CABRndgzhBntbEe6HOD7qHB0Yv6jkYLpNtKCdeh7Gp+to7+PAXw@mail.gmail.com>
Hello,

Under Centos 7.2.1511 I downloaded net-snmp-5.7.3.tar.gz and extracted it.

Then I ran:
./configure --prefix=/tmp
make
make install

During the install phase I got the following error:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/lib64/perl5'
mkdir /usr/local/lib64/perl5: Permission denied at
/usr/share/perl5/ExtUtils/Install.pm line 494.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Why am I getting this ?
I want to install net-snmp in /tmp. There should not be any permission problem.

Can I omit any perl in net-snmp ?
The final installation will be in a busybox target that has no perl at all.

Thank you,
Z.V

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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.