RE: 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,
Thank you for your support. 
Since sending the email, I made some adjustments in the way that I
configured and built. First off, I switched over to the GNU compiler
(gcc) and then I disabled support for PERL. When running the ./configure
program, I used the same options as below
(prefix=/tmp/local/dist/usr/local and exec_prefix=same thing) and then
built and everything seem to work out during the 'make install'. One
other thing that I did as well which may have been significant: Instead
of creating a login session as root, I used the current login session
(as me) and did a 'su root', and this may have solved the "permission
denied" problems that I was encountering as su root allowed me to
mkdir/cp/mv files in places where I couldn't before. 

Thanks again. 
Randy 

-----Original Message-----
From: Wes Hardaker [mailto:[email protected]] 
Sent: Friday, October 19, 2007 6:13 PM
To: Smith, Randy
Cc: [email protected]
Subject: Re: Installation On Solaris: cp: cannot create
/usr/local/lib/#inst.8486#: Permission denied

>>>>> "SR" == Smith Randy <[email protected]> writes:

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

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

Can you try this instead:

make install DESTDIR=/tmp/local/dist

-- 
Wes Hardaker
Sparta, Inc.


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