On 12/22/2012 11:03 PM, Kenneth Chik wrote:
Hi,

I have followed the chapter "Chapter 24. X Window System Environment" up to the page "Xorg-7.7 Testing and Configuration". My system already contains X11R6 so, as I wanted to test out compiling X11R7 without breaking my current system, I used the below configuration:

        XORG_PREFIX="/usr/X11R7"

        XORG_CONFIG="--prefix=$XORG_PREFIX \

        --sysconfdir=/usr/etc \

        --mandir=$XORG_PREFIX/share/man \

        --localstatedir=/usr/var"

        export XORG_PREFIX XORG_CONFIG

        PATH=$XORG_PREFIX/bin:$PATH

        
PKG_CONFIG_PATH=$XORG_PREFIX/lib/pkgconfig:$XORG_PREFIX/share/pkgconfig:$PKG_CONFIG_PATH

        export PATH PKG_CONFIG_PATH


When I issue startx, it tries to use the xorg.conf from /etc instead of /usr/etc. I have already setup the PATH and LD_LIBRARY_PATH so that it looks in /usr/local before /usr but I can't find the way to change the system configuration dir and local state dir search order. Is there a way to do this?

Regards,
Kenneth



Have you tried XORG_PREFIX=/usr/local instead of XORG_PREFIX="/usr/X11R7"
I don't think the linker is picking up X11R7

I would have put everything into /usr/local if it was me.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to