On Fri, 2009-10-16 at 09:46 -0400, Damian Krzeminski wrote:

>  Maybe you ran a build as root at one point?

Incidentally, running a build as root is _never_ a good idea, and not
required at all.

For development builds, the best thing to do is to define at least these
two environment variables before running 'configure' or running the make
(caveat: I don't use the EDE*, and can't comment on what it does about
these things):

SIPX_INSTALLDIR=<your install root directory>
SIPXPBXUSER=<your own username>

I use a different install root directory for each branch or sandbox that
I'm working on, so I have several at any given time, and have a set of
aliases for changing directories that get me around without having to
remember them.  I also define:

SIPX_BUILD_LABEL

to be a token that will id which branch/sandbox I was building - it
shows up in version stamps so that I can see in traces and snapshots
which build something came from.

The above will allow even 'make install' to work with little change to
your system.  The one exception, if I recall, is that you have to change
the group ownership and permission on a couple of the apache
installation directories so that you can write to them yourself (a one
time operation); even that should go away when we convert our apache
configuration changes to proper modular additions instead of hijacking
the entire config.

      * The fact that I don't use the EDE is not in any way a criticism
        of it - my work environment existed long before Paul began
        creating the EDE (for which he deserves great credit and
        thanks), and is an extension of an evolving Unix environment I
        began creating in the mid 1980s.  I'm just set in my ways...

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to