Zvi Vered
2017-02-26 03:50:35 UTC
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
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