Installation On Solaris: cp: cannot create /usr/local/lib/#inst.8486#: Permission denied

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I'm new to net-snmp, and am attempting to install net-snmp on a Solaris
9 box. When I execute the "make install" command using a prefix, such as
follows:

make install prefix=/tmp/local/dist/usr/local
exec_prefix=/tmp/local/dist/usr/local 

Can anyone advise on this one? 
Thanks.

I get the following error (found at the bottom):

./install-sh -c -m 644 ./include/net-snmp/system/sysv.h
/tmp/net-snmp/include/ne
t-snmp/system/sysv.h
installing sysv.h in /tmp/net-snmp/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/ultrix4.h
/tmp/net-snmp/include
/net-snmp/system/ultrix4.h
installing ultrix4.h in /tmp/net-snmp/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/dragonfly.h
/tmp/net-snmp/inclu
de/net-snmp/system/dragonfly.h
installing dragonfly.h in /tmp/net-snmp/include/net-snmp/system
creating directory /tmp/net-snmp/include/net-snmp/machine
mkdir /tmp/net-snmp/include/net-snmp/machine
./install-sh -c -m 644 ./include/net-snmp/machine/generic.h
/tmp/net-snmp/includ
e/net-snmp/machine/generic.h
installing generic.h in /tmp/net-snmp/include/net-snmp/machine
making installlibs in /emc/smithr15/net-snmp-5.4.1/snmplib
.././install-sh -c .libs/libnetsnmp.so.15.1.0
/usr/local/lib/libnetsnmp.so.15.1.
0
cp: cannot create /usr/local/lib/#inst.8486#: Permission denied
*** Error code 2
make: Fatal error: Command failed for target `installlocallibs'
Current working directory /emc/smithr15/net-snmp-5.4.1/snmplib
*** Error code 1
make: Fatal error: Command failed for target `installsubdirlibs'

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