Re: [Planner] How do I build planner ?



On ons, 2004-02-11 at 23:36 -0800, Steve deRosier wrote:

> lincoln phipps openmutual net wrote:
> > 
> > John,
> > 
> > Assuming that you have checked out the planner source tree
> > to e.g. /home/john/planner
> > 
> > Then
> >     
> >     cd /home/john/planner
> >     su root
> Whoa, hold on here a minute...
> 
> Generally it is a bad idea to run autogen/make (or any other process) as 
> root if you don't have a real need to.  And even if nothing bad actually 
> happens, it's generally regarded as bad practice.
> 
> Run the autogen script and make as your usual user, then su to do the 
> `make install` step.  Much safer that way!  :)

I'd go even further:

./autogen.sh --prefix=/home/foo/planner

make install

export PATH=/home/foo/planner/bin:$PATH
export LD_LIBRARY_PATH=/home/foo/planner/lib:$LD_LIBRARY_PATH

planner

You shouldn't install things manually into directories managed by your
system's package management.

/Richard

-- 
Richard Hult                    richard imendio com
Imendio                         http://www.imendio.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]