Build warnings, and install problems.

Mike A. Harris mharris@opensourceadvocate.org
Wed Oct 11 00:22:00 GMT 2000


On Wed, 11 Oct 2000, Mo DeJong wrote:

>> ../configure --prefix=/opt/source-navigator
>
>> messages and appears it is trying to install into the system dirs
>> instead of the build root.
>
>> The install section follows instructions either Mo, Ian or you
>> sent me..  It doesn't work though.  I don't want to compile as
>> root on this system,
>
>Mike, you are trying to install into a directory that is owned
>by root. You need to su to root before running "make install"
>or else use a --prefix that your normal user has access
>to. If you are building an RPM, that needs to be done as
>root. You will still be able to run the program as a normal
>user, as the perms are set properly by the install.

Sorry, I wasn't clear in my message.  I'm doing all of this via
RPM as non-root, so the "make install" should be installing to
$RPM_BUILD_ROOT/%_prefix, and it should work as non-root as I
build all packages as non-root.  They won't install with "rpm
-i" as non-root, but there is no reason a non-root user shouldn't
be able to build RPM's.  I've been doing it for months now.

The permissions and ownership will be set in the %files section,
which I haven't gotten to yet.  ;o)  If the install target forces
owner/group change during install, then I won't be able to use
"make install".  Perm changes should work ok, but not the o/g.

I guess I should have mentioned more clearly how my build process
is set up.

Any ideas?


----------------------------------------------------------------------
      Mike A. Harris  -  Linux advocate  -  Open source advocate
              Computer Consultant - Capslock Consulting
                 Copyright 2000 all rights reserved
----------------------------------------------------------------------

"Facts do not cease to exist because they are ignored."
                                               - Aldous Huxley



More information about the Sourcenav mailing list