[Xorg] Installing as non-root user
Kevin E Martin
kem at freedesktop.org
Fri Aug 13 16:35:07 PDT 2004
On Fri, Aug 13, 2004 at 04:31:33PM -0700, Keith Packard wrote:
> Around 23 o'clock on Aug 13, Markus Kuhn wrote:
> > Is there a simple/neat way (e.g., setting a small number of environment
> > variables) to "make install" X11R6.7 from the cvs tree as a non-root user into
> > my home directory (say in ~/local/X11R6/ instead of /usr/X11R6/), to do
> > development work and testing on the client-side of X11R6 without changing
> > anything outside my home directory?
> In my config/cf/host.def file, I have:
> #define ProjectRoot /home/keithp/X11/Xorg
> #define NothingOutsideProjectRoot YES
> This *should* work, although xprint has some nagging problems (which only
> encouraged me to also add #define BuildXprint NO...)
Thankfully, those install problems have now been fixed in CVS.
> Then use LD_LIBRARY_PATH=/home/keithp/X11/Xorg/lib and apps run fine.
That's what I do as well.
More information about the xorg