Re: [Samba] Building as non-root user

2003-11-21 Thread Matt Seitz
Andrew Bartlett wrote:
On a reasonably sensible linux system, the tests that require root can
be ignored safely.  Indeed, it's only the ./configure stage that needs
it at all.

 (On other unix systems, these tests can be important however)
If I run configure as root, and then run make as non-root, I run into a 
problem.  I read in GNU AUTOCONF, AUTOMAKE AND LIBTOOL 
(http://sources.redhat.com/autobook) that it is best to use a build directory 
separate from the source directory.  I like that approach, so I am creating a 
build directory and running ../source/configure from that directory as root.

If I then run make as non-root, I get an error:

Building include/proto.h
creating /opt/teamware/orion-cifs/src/ext/samba/build/include/proto.h
/opt/teamware/orion-cifs/src/ext/samba/source/script/mkproto.sh: 
/opt/teamware/orion-cifs/src/ext/samba/build/include/proto.h.14373.tmp~: No such 
file or directory
mv: cannot stat 
`/opt/teamware/orion-cifs/src/ext/samba/build/include/proto.h.14373.tmp~': No 
such file or directory
make: *** [include/proto.h] Error 1

It appears the error is caused by configure creating an include directory 
that cannot be modified by another user.

Any suggestions on how best to solve this problem?

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Building as non-root user

2003-11-20 Thread Matt Seitz
Are there any drawbacks to building SAMBA as a user other than root?  I would 
like to build using a different account.  But USING SAMBA 2nd Edition says, 
Before running the configure script, it is important that you become the root 
user on the system.  The make examples in both USING SAMBA and SAMBA HOWTO 
also use the root user.

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba