[BLFS Trac] #2119: Wrong datadir for xorg 7.1 : -> --datadir=$XORG_PREFIX/lib"

BLFS Trac trac at linuxfromscratch.org
Sun Oct 1 22:37:19 PDT 2006

#2119: Wrong datadir for xorg 7.1  : -> --datadir=$XORG_PREFIX/lib"
 Reporter:  EdB     |        Owner:  blfs-book at linuxfromscratch.org
     Type:  task    |       Status:  new                           
 Priority:  normal  |    Milestone:  6.2                           
Component:  BOOK    |      Version:  SVN                           
 Severity:  normal  |   Resolution:                                
 Keywords:          |  
Comment (by Luca):

 I think that the datadir could switched by adding some lines to X.sh file
 in /etc/profile.d.

 Mine looks like that:

 if [ -x /usr/X11R7/bin/Xorg ]; then
         pathappend /usr/X11R7/bin

 if [ -d /usr/X11R7/lib/pkgconfig ]; then
         pathappend /usr/X11R7/lib/pkgconfig PKG_CONFIG_PATH

 if [ -d /usr/X11R7/lib/aclocal ]; then
         export ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I/usr/X11R7/lib/aclocal"

 I used this method and ran into no problems (tried this way with other
 packages like Gnome-2.14.2, Gnome-2.16.0 and e17 (new enlightenment
 version actually in development).

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2119>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list