Changeset e123f715
- Timestamp:
- 01/23/2011 06:24:18 AM (13 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
- 804fd46
- Parents:
- d28b5ef
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
introduction/welcome/changelog.xml
rd28b5ef re123f715 88 88 <para>[dj] - Removed old Xorg configuration and setup pages and added 89 89 an initial combined configuration page.</para> 90 </listitem> 91 <listitem> 92 <para>[dj] - Added specific instructions for Xorg environmentsetup if 93 using an alternate installation prefix.</para> 90 94 </listitem> 91 95 </itemizedlist> -
x/installing/xorg7.xml
rd28b5ef re123f715 144 144 --mandir=$XORG_PREFIX/share/man --localstatedir=/var"</userinput></screen> 145 145 146 <note> 147 <para>Make sure that you use bash when setting these variables as the 148 book commands assume the use of bash, and use bash specific syntax. Also 149 be sure to add these variables to your personal or system-wide profile as 150 they are used throughout this book. See 151 <xref linkend="postlfs-config-profile"/> for more information.</para> 152 </note> 153 154 <para>If you've decided to use an alternate prefix, be sure to add 155 <filename class="directory"> 156 $XORG_PREFIX/bin</filename> to your 146 <para>Create an <filename>/etc/profile.d/xorg.sh</filename> configuration 147 file containing these variables as the 148 <systemitem class="username">root</systemitem> user:</para> 149 150 <screen><userinput role="root">cat > /etc/profile.d/xorg.sh << "EOF" && 151 XORG_PREFIX="<replaceable><PREFIX></replaceable>" 152 XORG_CONFIG="--prefix=$XORG_PREFIX \ 153 --sysconfdir=/etc \ 154 --mandir=$XORG_PREFIX/share/man \ 155 --localstatedir=/var" 156 export XORG_PREFIX XORG_CONFIG 157 EOF 158 chmod 644 /etc/profile.d/xorg.sh</userinput></screen> 159 160 <para>If you've decided to use the standard 161 <filename class="directory">/usr</filename> prefix, you can omit the 162 remainder of this page. Otherwise, be sure to add 163 <filename class="directory">$XORG_PREFIX/bin</filename> to your 157 164 <envar>PATH</envar> environment variable, and <filename class="directory"> 158 165 $XORG_PREFIX/lib/pkgconfig</filename> and <filename class="directory"> 159 166 $XORG_PREFIX/share/pkgconfig</filename> 160 to your <envar>PKG_CONFIG_PATH</envar> variable. For detailed instructions, 161 see <xref linkend="postlfs-config-profile"/>. You should also add 162 <filename class="directory"> 163 $XORG_PREFIX/lib</filename> to the 164 <filename>/etc/ld.so.conf</filename> file. Finally, you should modify 167 to your <envar>PKG_CONFIG_PATH</envar> variable. Issue the following 168 commands as the <systemitem class="username">root</systemitem> user:</para> 169 170 <screen><userinput role="root">cat >> /etc/profile.d/xorg.sh << "EOF" 171 172 pathappend $XORG_PREFIX/bin PATH 173 pathappend $XORG_PREFIX/lib/pkgconfig PKG_CONFIG_PATH 174 pathappend $XORG_PREFIX/share/pkgconfig PKG_CONFIG_PATH 175 export PATH PKG_CONFIG_PATH</userinput></screen> 176 177 <para>You should also add 178 <filename class="directory"> $XORG_PREFIX/lib</filename> to the 179 <filename>/etc/ld.so.conf</filename> file. Again, as the 180 <systemitem class="username">root</systemitem> user, issue the following 181 command:</para> 182 183 <screen><userinput role="root">echo "${XORG_PREFIX}/lib" >> /etc/ld.so.conf</userinput></screen> 184 185 <para>You should also modify 165 186 <filename>/etc/man_db.conf</filename>, adding appropriate 166 187 MANDATORY_MANPATH, MANPATH_MAP, and MANDB_MAP entries following the 167 examples for <filename class="directory">/usr/X11R6</filename>.</para> 168 188 examples for <filename class="directory">/usr/X11R6</filename>. Issue the 189 following command as the <systemitem class="username">root</systemitem> 190 user:</para> 191 192 <screen><userinput role="root">sed 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@g' -i /etc/man_db.conf</userinput></screen> 193 194 <para>Finally, if building on x86_64, you will need to create the 195 <filename class="directory">$XORG_PREFIX/lib</filename> directory and the 196 <filename>$XORG_PREFIX/lib64</filename> symlink. Again, as the 197 <systemitem class="username">root</systemitem> user, issue the following 198 commands:</para> 199 200 <screen><userinput role="root">install -v -m755 -d $XORG_PREFIX && 201 install -v -m755 -d $XORG_PREFIX/lib && 202 ln -s lib $XORG_PREFIX/lib64</userinput></screen> 203 169 204 </sect2> 170 205
Note:
See TracChangeset
for help on using the changeset viewer.