Changeset 78f4c3e for x/lib


Ignore:
Timestamp:
05/11/2006 05:05:10 AM (18 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
ff55539b
Parents:
f2cae5f
Message:

Corrected mesalib instructions to account for X11R6.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6045 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/mesalib.xml

    rf2cae5f r78f4c3e  
    6565
    6666    <bridgehead renderas="sect4">Required</bridgehead>
    67     <para><xref linkend="x-window-system"/> or
    68     <xref linkend="xorg7"/> Libs and Utilities, <xref linkend="libdrm"/> and
     67    <para>
     68<!--<xref linkend="x-window-system"/> -->
     69    <xref linkend="xorg"/> or
     70    <xref linkend="xorg7-lib"/> and <xref linkend="xorg7-util"/>,
     71    <xref linkend="libdrm"/>, and
    6972    <xref linkend="pkgconfig"/></para>
    7073
     
    9598    <title>Installation of MesaLib</title>
    9699
    97     <para>If you've installed the X Window System into any prefix other than
    98     <filename class="directory">/usr</filename>, then you'll need to adjust the
    99     commands below for your system.  Correct several hard coded directories
    100     in the source files with the following commands:</para>
    101 
    102 <screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@/usr@g' {} \; &amp;&amp;
    103 sed -i 's@lib/modules@lib/X11/modules@' src/glx/x11/dri_glx.c</userinput></screen>
     100    <para>You will need to adjust the commands below to reflect the
     101    installation prefix of the X Window System.  First, correct several
     102    hard coded directories in the source files with the following
     103    command (you can skip this first command if the prefix is
     104   <filename class="directory">/usr/X11R6</filename>):</para>
     105
     106<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>&lt;PREFIX&gt;</replaceable>@g' {} \;</userinput></screen>
     107
     108    <para>If building for <application>Xorg-&xorg7-version;</application>,
     109    issue the following command to correct for the default module path in the
     110    new build system:</para>
     111
     112<screen><userinput>sed -i 's@lib/modules@lib/X11/modules@' src/glx/x11/dri_glx.c</userinput></screen>
    104113
    105114    <para>Build <application>MesaLib</application>
     
    116125    <filename class="directory">/usr</filename>:</para>
    117126
    118 <screen role="root"><userinput>bin/installmesa /usr &amp;&amp;
    119 mkdir -v -p /usr/lib/X11/modules/dri &amp;&amp;
    120 install -v -m755 lib/*dri* /usr/lib/X11/modules/dri</userinput></screen>
     127<screen role="root"><userinput>bin/installmesa <replaceable>&lt;PREFIX&gt;</replaceable> &amp;&amp;
     128mkdir -v -p <replaceable>&lt;PREFIX&gt;</replaceable>/lib/X11/modules/dri &amp;&amp;
     129install -v -m755 lib/*dri* <replaceable>&lt;PREFIX&gt;</replaceable>/lib/X11/modules/dri</userinput></screen>
    121130
    122131    <para>If you've extracted the Demos package as well, then
     
    131140    the prefix of your X Window System:</para>
    132141
    133 <screen role="root"><userinput>install -v -m755 glxinfo glxgears /usr/bin</userinput></screen>
     142<screen role="root"><userinput>install -v -m755 glxinfo glxgears <replaceable>&lt;PREFIX&gt;</replaceable>/bin</userinput></screen>
    134143
    135144    <note>
     
    152161    <title>Command Explanations</title>
    153162
    154     <para><command>find...sed -i 's@/usr/X11R6@/usr@'...</command>: This
    155     command corrects several hard coded references to the X11R6 default
     163    <para><command>find...sed -i
     164    's@/usr/X11R6@/<replaceable>&lt;PREFIX&gt;</replaceable>@'...</command>:
     165    This command corrects several hard coded references to the X11R6 default
    156166    installation path.</para>
    157167
     
    165175
    166176    <para><command>install -v -m755 lib/*dri*
    167     /usr/lib/X11/modules/dri</command>: installs the DRI modules.</para>
     177    <replaceable>&lt;PREFIX&gt;</replaceable>/lib/X11/modules/dri</command>:
     178    installs the DRI modules.</para>
    168179
    169180    <para><command>sed -i 's@-l$(GLUT_LIB)@@g' configs/default</command>:
     
    173184    the glxinfo and glxgears programs.</para>
    174185
    175     <para><command>install -v -m755 glxinfo glxgears /usr/bin</command>:
     186    <para><command>install -v -m755 glxinfo glxgears
     187    <replaceable>&lt;PREFIX&gt;</replaceable>/bin</command>:
    176188    Installs only the glxinfo and glxgears programs.</para>
    177189
Note: See TracChangeset for help on using the changeset viewer.