[blfs-support] Compilation presets for Xorg

Bruce Dubbs bruce.dubbs at gmail.com
Tue Mar 12 08:34:15 PDT 2013


Carl Thorn wrote:
>
>
>
>
>
> ________________________________
> From: Niels Terp <nielsterp at comhem.se>
> To: BLFS Support List <blfs-support at linuxfromscratch.org>
> Sent: Tue, March 12, 2013 8:22:28 AM
> Subject: [blfs-support] Compilation presets for Xorg
>
>> Hi,
>
>> I have started on Xorg - but even with the very first packet I run into
>> trouble:
>> The book suggest to create a file /etc/profile.d/xorg.sh with the following
>> command:
>
>> cat > /etc/profile.d/xorg.sh << "EOF" &&
>> XORG_PREFIX="<PREFIX>"
>> XORG_CONFIG="--prefix=$XORG_PREFIX \
>>              --sysconfdir=/etc \
>>              --localstatedir=/var \
>   >            --disable-static"
>> export XORG_PREFIX XORG_CONFIG
>> EOF
>> chmod 644 /etc/profile.d/xorg.sh
>
>> First of all, this command does NOT create a file - it does not even execute
>> the chmod command on the last line. I assume that the "&&" after "EOF" is a
>> typo ?
> No this is not a typo it is an instruction. You may want to review UNIX
> commands.
> Read the text before copying and pasting the commands. You are supposed to
> decide where you want to install XORG before running the commands. "<PREFIX>"
> should be the location where you want to install XORG, either in "/usr" or "
> /opt"

In my case,  XORG_PREFIX=/opt/xorg where

lrwxrwxrwx 1 root root    8 Mar  4 19:33 /opt/xorg -> xorg-7.7


   -- Bruce



More information about the blfs-support mailing list