[blfs-book] r11615 - trunk/BOOK/x/installing

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Sun Aug 11 13:14:23 PDT 2013


Author: bdubbs
Date: Sun Aug 11 13:14:23 2013
New Revision: 11615

Log:
Add some useful gcc environment variables for Xorg

Modified:
   trunk/BOOK/x/installing/xorg7.xml

Modified: trunk/BOOK/x/installing/xorg7.xml
==============================================================================
--- trunk/BOOK/x/installing/xorg7.xml	Sun Aug 11 11:48:00 2013	(r11614)
+++ trunk/BOOK/x/installing/xorg7.xml	Sun Aug 11 13:14:23 2013	(r11615)
@@ -171,20 +171,24 @@
     environment variable, and <filename class="directory">
     $XORG_PREFIX/lib/pkgconfig</filename> and <filename class="directory">
     $XORG_PREFIX/share/pkgconfig</filename> to your
-    <envar>PKG_CONFIG_PATH</envar> variable. It is also helpful to specify an
-    include directory for the <command>aclocal</command> program.  Issue the
-    following commands as the <systemitem class="username">root</systemitem>
-    user:</para>
+    <envar>PKG_CONFIG_PATH</envar> variable. It is also helpful to specify
+    additional search paths for <command>gcc</command> and an include directory
+    for the <command>aclocal</command> program.  Issue the following commands
+    as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen><userinput role="root">cat >> /etc/profile.d/xorg.sh << "EOF"
 
-pathappend $XORG_PREFIX/bin PATH
-pathappend $XORG_PREFIX/lib/pkgconfig PKG_CONFIG_PATH
+pathappend $XORG_PREFIX/bin             PATH
+pathappend $XORG_PREFIX/lib/pkgconfig   PKG_CONFIG_PATH
 pathappend $XORG_PREFIX/share/pkgconfig PKG_CONFIG_PATH
 
+pathappend $XORG_PREFIX/lib             LIBRARY_PATH
+pathappend $XORG_PREFIX/include         C_INCLUDE_PATH
+pathappend $XORG_PREFIX/include         CPLUS_INCLUDE_PATH
+
 ACLOCAL='aclocal -I $XORG_PREFIX/share/aclocal'
 
-export PATH PKG_CONFIG_PATH ACLOCAL
+export PATH PKG_CONFIG_PATH ACLOCAL LIBRARY_PATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH
 EOF</userinput></screen>
 
     <para>You should also add



More information about the blfs-book mailing list