- Timestamp:
- 03/15/2006 02:41:59 PM (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:
- 0602a99
- Parents:
- fa15c03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/xorg7.xml
rfa15c03 r190568b 15 15 <keyword role="package">X11R&xorg7-version;-src.tar</keyword> 16 16 <keyword role="ftpdir">Xorg7</keyword> 17 </keywordset> 17 </keywordset> 18 18 ########## Need a way to fix this on the mirrors ########## 19 19 ##### Maybe a single tarball is the way to handle it ###### … … 32 32 <title>Introduction to Xorg</title> 33 33 34 <para><application>Xorg</application> is a freely redistributable, 35 open-source implementation of the <application>X</application> Window 36 System. This system provides a client/server interface between display 37 hardware (the mouse, keyboard, and video displays) and the desktop 38 environment, while also providing both the windowing infrastructure and a 34 <para><application>Xorg</application> is a freely redistributable, 35 open-source implementation of the <application>X</application> Window 36 System. This system provides a client/server interface between display 37 hardware (the mouse, keyboard, and video displays) and the desktop 38 environment, while also providing both the windowing infrastructure and a 39 39 standardized application interface (API).</para> 40 40 … … 45 45 <xref linkend="libdrm"/>, 46 46 <xref linkend="libpng"/>, and 47 <xref linkend="pkgconfig"/> .</para>47 <xref linkend="pkgconfig"/></para> 48 48 49 49 <bridgehead renderas="sect4">Optional</bridgehead> 50 <para role="optional"><xref linkend="linux-pam"/> .</para>51 52 <bridgehead renderas="sect3">Xorg Download and Installation 50 <para role="optional"><xref linkend="linux-pam"/></para> 51 52 <bridgehead renderas="sect3">Xorg Download and Installation 53 53 Instructions</bridgehead> 54 54 55 55 <para>With the modular build system, it is no longer possible to download 56 the entire package in a single file. In fact, there may be as many as 57 280 files that need to be fetched from the download location. To assist 58 with such a large task, it is strongly recommended to install 59 <xref linkend="wget"/> for downloading the needed files. A complete 60 <application>wget</application> script is available for each section at 61 <ulink 56 the entire package in a single file. In fact, there may be as many as 57 280 files that need to be fetched from the download location. To assist 58 with such a large task, it is strongly recommended to install 59 <xref linkend="wget"/> for downloading the needed files. A complete 60 <application>wget</application> script is available for each section at 61 <ulink 62 62 url="http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/"/>.</para> 63 63 64 <para>Given the number of packages available, deciding which packages you 65 need to install for your particular setup may seem a bit overwhelming at 66 first. Take a look at<ulink 67 url="http://lists.x.org/archives/xorg-modular/2005-November/000801.html"> 68 this thread</ulink> to get an idea of what you will need. If you are 69 unsure, you should install all packages at the cost of extra 64 <para>Given the number of packages available, deciding which packages you 65 need to install for your particular setup may seem a bit overwhelming at 66 first. Take a look at<ulink 67 url="http://lists.x.org/archives/xorg-modular/2005-November/000801.html"> 68 this thread</ulink> to get an idea of what you will need. If you are 69 unsure, you should install all packages at the cost of extra 70 70 disk space.</para> 71 71 72 <note><para>The installed size of <application>Xorg</application> can 73 be reduced considerably by installing only the packages that you will 74 need and use. However, the BLFS book cannot account for all dependencies 75 and build options for individual <application>Xorg</application> 76 packages. The instructions assume that all packages have been built 77 from a particular group unless otherwise noted. A 78 <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/Xorg-7.0.0"> 79 wiki</ulink> page containing dependency information, for users who wish 80 to cut down on the installed size of <application>Xorg</application>, is 81 under development. You are encouraged to add to these 82 pages if you discover additional information that may be helpful to 83 other users.</para></note> 72 <note> 73 <para>The installed size of <application>Xorg</application> can 74 be reduced considerably by installing only the packages that you will 75 need and use. However, the BLFS book cannot account for all dependencies 76 and build options for individual <application>Xorg</application> 77 packages. The instructions assume that all packages have been built 78 from a particular group unless otherwise noted. A 79 <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/Xorg-7.0.0"> 80 wiki</ulink> page containing dependency information, for users who wish 81 to cut down on the installed size of <application>Xorg</application>, is 82 under development. You are encouraged to add to these 83 pages if you discover additional information that may be helpful to 84 other users.</para> 85 </note> 84 86 85 87 <para>Additionally, because of the large number of repetitive commands, … … 113 115 cd xc</userinput></screen> 114 116 115 <para>As with previous releases of the X Window System, it may be 116 desirable to install <application>Xorg</application> into an alternate 117 prefix. This is no longer common practice among linux distributions.117 <para>As with previous releases of the X Window System, it may be 118 desirable to install <application>Xorg</application> into an alternate 119 prefix. This is no longer common practice among Linux distributions. 118 120 The common installation prefix for <application>Xorg</application> on 119 linux is <filename class="directory">/usr</filename>. There is no120 standard alternate prefix, nor is there any exception in the current 121 revision of the Filesystem Hierarchy Standard for Release 7 of the X 122 Window System. Alan Coopersmith of Sun Microsystems, has recently 123 stated "At Sun, we were using 124 <filename class="directory">/usr/X11</filename> and plan to stick with 125 it." Only the <filename class="directory">/opt/*</filename> prefix or 126 the <filename class="directory">/usr</filename> prefix adhere to the 121 Linux is <filename class="directory">/usr</filename>. There is no 122 standard alternate prefix, nor is there any exception in the current 123 revision of the Filesystem Hierarchy Standard for Release 7 of the X 124 Window System. Alan Coopersmith of Sun Microsystems, has recently 125 stated "At Sun, we were using 126 <filename class="directory">/usr/X11</filename> and plan to stick with 127 it." Only the <filename class="directory">/opt/*</filename> prefix or 128 the <filename class="directory">/usr</filename> prefix adhere to the 127 129 current FHS guidelines.</para> 128 129 <para>Choose your installation prefix, and set the 130 < parameter>XORG_PREFIX</parameter> variable with the following130 131 <para>Choose your installation prefix, and set the 132 <envar>XORG_PREFIX</envar> variable with the following 131 133 command:</para> 132 134 133 135 <screen><userinput>export XORG_PREFIX="<replaceable>[/usr]</replaceable>"</userinput></screen> 134 136 135 <para>Throughout these instructions, you will use the same three 136 configure switches for all of the packages. Create the137 < parameter>XORG_CONFIG</parameter> variable to use for substitution:</para>137 <para>Throughout these instructions, you will use the same three 138 <command>configure</command> switches for all of the packages. Create the 139 <envar>XORG_CONFIG</envar> variable to use for substitution:</para> 138 140 139 141 <screen><userinput>export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var"</userinput></screen> 140 142 141 <note><para>If you've decided to use an alternate prefix, be sure to 142 add an the 143 <replaceable>[/usr]</replaceable><filename class="directory">/lib/pkgconfig</filename> 144 to your <parameter>PKG_CONFIG_PATH</parameter> variable.</para></note> 143 <note> 144 <para>If you've decided to use an alternate prefix, be sure to add 145 <filename class="directory"><replaceable>[/usr]</replaceable>/lib/pkgconfig</filename> 146 to your <envar>PKG_CONFIG_PATH</envar> variable.</para> 147 </note> 145 148 146 149 </sect2> … … 186 189 187 190 <para>The <application>Xorg</application> utility packages provide 188 needed utilities, not for the <application>Xorg</application> 191 needed utilities, not for the <application>Xorg</application> 189 192 installation itself, but for other applications that make use of 190 193 legacy X11R6 installation methods.</para> … … 197 200 <title>Installation of Xorg Utilities</title> 198 201 199 <para> Install first,the <application>xorg-cf-files</application> package202 <para>First install the <application>xorg-cf-files</application> package 200 203 with the following commands:</para> 201 204 … … 222 225 223 226 224 <para>Finally, build the three remaining packages with the standard build 227 <para>Finally, build the three remaining packages with the standard build 225 228 commands:</para> 226 229 … … 255 258 <title>Meeting Library Dependencies</title> 256 259 257 <para>These 17 libraries must be built first, in the order provided, 260 <para>These 17 libraries must be built first, in the order provided, 258 261 to cover the dependencies of the other library packages:</para> 259 262 … … 281 284 <title>Installation of Xorg Libraries</title> 282 285 283 <para>Install the libraries by running the following commands for each 286 <para>Install the libraries by running the following commands for each 284 287 of the chosen packages:</para> 285 288 … … 298 301 299 302 <para>If you've chosen to install <application>Xorg</application> into 300 <filename class="directory">/usr</filename>, then no further 303 <filename class="directory">/usr</filename>, then no further 301 304 configuration is necessary and you can skip the rest of this section. 302 305 If you've opted for an alternate prefix, you should create two symlinks 303 to satisfy the expected environment of several packages. 306 to satisfy the expected environment of several packages. 304 307 Execute the following commands as the root user:</para> 305 308 … … 307 310 ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen> 308 311 309 <para>As with other librar ies, as the root user, you must add312 <para>As with other library directories, as the root user you must add 310 313 <filename class="directory">$XORG_PREFIX/lib</filename> to 311 <filename>/etc/ld.so.conf</filename> and execute 314 <filename>/etc/ld.so.conf</filename> and execute 312 315 <command>/sbin/ldconfig</command>.</para> 313 316 … … 324 327 325 328 <para>The <application>Xorg</application> data packages provide 326 static data such as images and keymaps to the 329 static data such as images and keymaps to the 327 330 <application>Xorg</application> applications.</para> 328 331 … … 340 343 make</userinput></screen> 341 344 342 <para>Now as the <systemitem class="username">root</systemitem> 343 user:</para> 344 345 <screen><userinput role="root">make install</userinput></screen> 346 347 <note><para>At this point, you should continue to the applications 348 installation. After the applications installation has completed, you 349 can use the same instructions above to install the xcursor-themes and 350 xkb-data packages.</para></note> 345 <para>Now as the <systemitem class="username">root</systemitem> 346 user:</para> 347 348 <screen><userinput role="root">make install</userinput></screen> 349 350 <note> 351 <para>At this point, you should continue to the applications 352 installation. After the applications installation has completed, you 353 can use the same instructions above to install the xcursor-themes and 354 xkb-data packages.</para> 355 </note> 351 356 352 357 </sect3> … … 361 366 </indexterm> 362 367 363 <note><para>You must install <xref linkend="MesaLib"/> before you install 364 Xorg Applications.</para></note> 368 <note> 369 <para>You must install <xref linkend="MesaLib"/> before you install 370 Xorg Applications.</para> 371 </note> 365 372 366 373 <para>The <application>Xorg</application> applications provide the … … 369 376 370 377 <para><application>Xorg</application> applications can be downloaded 371 individually from <ulink 378 individually from <ulink 372 379 url="http://xorg.freedesktop.org/releases/X11R7.0/src/app/"/>.</para> 373 380 … … 375 382 <title>Installation of Xorg Applications</title> 376 383 377 <para>Install the applications by running the following commands for each 384 <para>Install the applications by running the following commands for each 378 385 chosen package:</para> 379 386 … … 381 388 make</userinput></screen> 382 389 383 <para>Now as the <systemitem class="username">root</systemitem> 384 user:</para> 385 386 <screen><userinput role="root">make install</userinput></screen> 387 388 <note><para>The luit package should not be compiled at this point. You 389 should install the luit application after the fonts have been 390 installed.</para></note> 391 392 <note><para>Remember to return to the data packages and install the 393 xcursor-themes and xkb-data packages.</para></note> 390 <para>Now as the <systemitem class="username">root</systemitem> 391 user:</para> 392 393 <screen><userinput role="root">make install</userinput></screen> 394 395 <note> 396 <para>The luit package should not be compiled at this point. You 397 should install the luit application after the fonts have been 398 installed.</para> 399 </note> 400 401 <note> 402 <para>Remember to return to the data packages and install the 403 xcursor-themes and xkb-data packages.</para> 404 </note> 394 405 395 406 </sect3> … … 401 412 <para>A patch is required to fix a race condition in 402 413 <application>luit</application> that was discovered shortly after 403 release. Download the patch from 414 release. Download the patch from 404 415 <ulink url="&patch-root;/luit-1.0.1-race-1.patch"/>.</para> 405 416 … … 410 421 make</userinput></screen> 411 422 412 <para>Now as the <systemitem class="username">root</systemitem> 423 <para>Now as the <systemitem class="username">root</systemitem> 413 424 user:</para> 414 425 … … 438 449 <para>Run the following commands for each package:</para> 439 450 440 <note><para>You should install encodings and font-util before all 441 other font packages</para></note> 451 <note> 452 <para>You should install encodings and font-util before all 453 other font packages.</para> 454 </note> 442 455 443 456 … … 449 462 <screen><userinput role="root">make install</userinput></screen> 450 463 451 <note><para>If you haven't done so, and intend to install 452 <application>luit</application>, do so now.</para></note> 464 <note> 465 <para>If you haven't done so, and intend to install 466 <application>luit</application>, do so now.</para> 467 </note> 468 453 469 </sect3> 454 470 … … 471 487 <title>Installation of Xorg Server</title> 472 488 473 <note><para>You must have the <application>Mesa</application> source 474 directory available when building the 475 <application>Xorg-server</application>.</para></note> 489 <note> 490 <para>You must have the <application>Mesa</application> source 491 directory available when building the 492 <application>Xorg-server</application>.</para> 493 </note> 476 494 477 495 <para>Install the server by running the following commands:</para> … … 480 498 hw/xfree86/os-support/linux/lnx_agp.c && 481 499 ./configure --prefix=$XORG_PREFIX --sysconfdir=/etc \ 482 --localstatedir=/var --with-mesa-source='../../Mesa-&mesalib-version;' \ 500 --localstatedir=/var \ 501 --with-mesa-source='../../Mesa-&mesalib-version;' \ 483 502 --with-fontdir=/usr/share/fonts \ 484 503 --with-module-dir=$XORG_PREFIX/lib/X11/modules && … … 512 531 513 532 <warning><para>It is very important not to build display drivers that 514 cannot be used onyour hardware. For instance, do not build Sun drivers533 cannot be used with your hardware. For instance, do not build Sun drivers 515 534 for an x86 PC as the Sun drivers will expect to see SPARC symbols 516 535 exported from the kernel. Failure to follow this warning will result … … 518 537 <application>Xorg</application> for the first time.</para></warning> 519 538 520 <para>Install the drivers by running the following commands for each 539 <para>Install the drivers by running the following commands for each 521 540 package:</para> 522 541 … … 537 556 <title>Configuring Xorg</title> 538 557 539 <para>Make certain that you have executed <command>ldconfig</command> and 558 <para>As the <systemitem class="username">root</systemitem> user ensure you 559 have executed <command>ldconfig</command> and 540 560 create the <filename>xorg.conf</filename> file with:</para> 541 561 … … 544 564 545 565 <para>The screen will go black and you may hear some clicking of the monitor. 546 This command will create a file, <filename>xorg.conf.new</filename> in your566 This command will create a file, <filename>xorg.conf.new</filename>, in your 547 567 home directory.</para> 548 568 … … 599 619 wrong.</para> 600 620 601 <para>Move the configuration file to its final location:</para> 621 <para>As the <systemitem class="username">root</systemitem> user, move 622 the configuration file to its final location:</para> 602 623 603 624 <screen role="root"><userinput>mv ~/xorg.conf.new /etc/X11/xorg.conf</userinput></screen> 604 625 605 <para>Create <filename>.xinitrc</filename>:</para> 626 <para>As the <systemitem class="username">root</systemitem> user, create 627 <filename>.xinitrc</filename>:</para> 606 628 607 629 <screen><userinput>cat > ~/.xinitrc << "EOF" … … 616 638 <command>twm</command>, see the man page.</para> 617 639 618 <note><para>The above file is the default configuration for Xorg. Xorg's 619 distribution no longer includes xterm, as such the startx will fail if 620 you have not yet installed <xref linkend="xterm2"/>.</para></note> 640 <note> 641 <para>The above file is the default configuration for Xorg. Xorg's 642 distribution no longer includes <command>xterm</command>, and as such the 643 <command>startx</command> command will fail if you have not yet 644 installed <xref linkend="xterm2"/>.</para> 645 </note> 621 646 622 647 <indexterm zone="xorg7 xorg7-config"> … … 626 651 <note> 627 652 <para>When needed, <application>Xorg</application> creates the directory 628 <filename>/tmp/.ICE-unix</filename> if it does not exist. If this 629 directory is not owned by <systemitem class="username">root</systemitem>, 653 <filename class='directory'>/tmp/.ICE-unix</filename> if it does not 654 exist. If this directory is not owned by 655 <systemitem class="username">root</systemitem>, 630 656 <application>Xorg</application> delays startup by a few seconds and also 631 657 appends a warning to the logfile. This also affects startup of other … … 639 665 <literal>/tmp/.ICE-unix dir 1777 root root</literal> 640 666 EOF</userinput></screen> 641 642 667 </note> 643 668 … … 651 676 <screen><userinput>startx</userinput></screen> 652 677 653 <para> to geta basic functional <application>X Window654 System</application> .</para>678 <para>and a basic functional <application>X Window 679 System</application> should be displayed.</para> 655 680 656 681 <para>At this point, you should check out <xref linkend='x-setup'/> for
Note:
See TracChangeset
for help on using the changeset viewer.