- Timestamp:
- 05/11/2006 05:05:10 AM (18 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/mesalib.xml
rf2cae5f r78f4c3e 65 65 66 66 <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 69 72 <xref linkend="pkgconfig"/></para> 70 73 … … 95 98 <title>Installation of MesaLib</title> 96 99 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' {} \; && 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><PREFIX></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> 104 113 105 114 <para>Build <application>MesaLib</application> … … 116 125 <filename class="directory">/usr</filename>:</para> 117 126 118 <screen role="root"><userinput>bin/installmesa /usr&&119 mkdir -v -p /usr/lib/X11/modules/dri &&120 install -v -m755 lib/*dri* /usr/lib/X11/modules/dri</userinput></screen>127 <screen role="root"><userinput>bin/installmesa <replaceable><PREFIX></replaceable> && 128 mkdir -v -p <replaceable><PREFIX></replaceable>/lib/X11/modules/dri && 129 install -v -m755 lib/*dri* <replaceable><PREFIX></replaceable>/lib/X11/modules/dri</userinput></screen> 121 130 122 131 <para>If you've extracted the Demos package as well, then … … 131 140 the prefix of your X Window System:</para> 132 141 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><PREFIX></replaceable>/bin</userinput></screen> 134 143 135 144 <note> … … 152 161 <title>Command Explanations</title> 153 162 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><PREFIX></replaceable>@'...</command>: 165 This command corrects several hard coded references to the X11R6 default 156 166 installation path.</para> 157 167 … … 165 175 166 176 <para><command>install -v -m755 lib/*dri* 167 /usr/lib/X11/modules/dri</command>: installs the DRI modules.</para> 177 <replaceable><PREFIX></replaceable>/lib/X11/modules/dri</command>: 178 installs the DRI modules.</para> 168 179 169 180 <para><command>sed -i 's@-l$(GLUT_LIB)@@g' configs/default</command>: … … 173 184 the glxinfo and glxgears programs.</para> 174 185 175 <para><command>install -v -m755 glxinfo glxgears /usr/bin</command>: 186 <para><command>install -v -m755 glxinfo glxgears 187 <replaceable><PREFIX></replaceable>/bin</command>: 176 188 Installs only the glxinfo and glxgears programs.</para> 177 189
Note:
See TracChangeset
for help on using the changeset viewer.