Changeset 68c8cba


Ignore:
Timestamp:
08/11/2007 11:32:14 PM (14 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 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, krejzi/svn, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
71cd2a5a
Parents:
95cc4e4
Message:

First cut at adding instructions to create an /usr/X11R6 compatibility symlink

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

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r95cc4e4 r68c8cba  
    44-->
    55
    6 <!ENTITY day          "11">                   <!-- Always 2 digits -->
     6<!ENTITY day          "12">                   <!-- Always 2 digits -->
    77<!ENTITY month        "08">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2007">
  • introduction/welcome/changelog.xml

    r95cc4e4 r68c8cba  
    4141
    4242-->
     43
     44    <listitem>
     45      <para>August 12th, 2007</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[randy] - Added instructions to create an X11R6 symlink to the
     49          X Windows Components page.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
    4353
    4454    <listitem>
  • multimedia/videoutils/mplayer.xml

    r95cc4e4 r68c8cba  
    344344      </note>
    345345
     346      <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     347      href="../../xincludes/X11R6_symlink.xml"/>
     348
    346349      <para><application>MPlayer</application> can build a shared
    347350      post-processing library from the internal
  • x/installing/x-setup.xml

    r95cc4e4 r68c8cba  
    1616  <title>X Window System Components</title>
    1717
    18     <sect2 role="configuration" id='xconfig'>
     18  <para condition="html" role="usernotes">User Notes:
     19  <ulink url='&blfs-wiki;/XWindowSystemComponents'/></para>
     20
     21  <sect2 role="configuration" id='X11R6-compat-symlink'
     22         xreflabel="Creating an X11R6 Compatibility Symlink">
     23
     24    <title>Creating an X11R6 Compatibility Symlink</title>
     25
     26    <para>Until recently (relatively speaking) almost every
     27    <application>X Window</application> installation you performed or came
     28    across was installed in the
     29    <filename class='directory'>/usr/X11R6</filename> directory. That was the
     30    standard for years. Developers picked up on this and wrote their package
     31    installation scripts looking for <application>X</application> in the
     32    standard location. Things have changed and the trend is to now install
     33    <application>X</application> in
     34    <filename class='directory'>/usr</filename>. Some people want to install
     35    it in a custom location.</para>
     36
     37    <para>Many package developers have not caught up to the change and their
     38    packages are still trying to find <application>X</application> in
     39    <filename class='directory'>/usr/X11R6</filename> and subsequently fail
     40    when you try to build the package. Though for most packages it is not
     41    difficult to 'hack' the installation script to fix the problem, that is not
     42    the long term solution to the problem. Upstream developers need to modernize
     43    their installation scripts and eliminate the problem altogether.</para>
     44
     45    <para>Until then, you can create a symbolic link to satisfy the
     46    <filename class='directory'>/usr/X11R6</filename> requirement so that you
     47    won't be inconvenienced with a package build failure due to this known
     48    issue. If you wish to create the symlink, issue the following command as
     49    the <systemitem class="username">root</systemitem> user (ensure you modify
     50    <replaceable>&lt;$XORG_PREFIX&gt;</replaceable> appropriately):</para>
     51
     52<screen role="root"><userinput>ln -vsf <replaceable>&lt;$XORG_PREFIX&gt;</replaceable> /usr/X11R6</userinput></screen>
     53
     54  </sect2>
     55
     56  <sect2 role="configuration" id='xconfig'>
    1957    <title>Configuring The X Window System</title>
    2058
    21     <para condition="html" role="usernotes">User Notes:
    22     <ulink url='&blfs-wiki;/XWindowSystemComponents'/></para>
    23 
    24     <para>If you've installed the X Window System in any prefix other
    25     than <filename>/usr</filename>, as the
    26     <systemitem class="username">root</systemitem> user, add
    27     <filename class="directory">
    28     <replaceable>&lt;/usr/X11R6&gt;</replaceable>/lib</filename> to
    29     the <filename>/etc/ld.so.conf</filename> file and run
    30     <command>ldconfig</command>.  Additionally, while still the
    31     <systemitem class="username">root</systemitem> user, ensure
    32     <filename class="directory">
    33     <replaceable>&lt;/usr/X11R6&gt;</replaceable>/bin</filename>
    34     and <filename class="directory">
    35     <replaceable>&lt;/usr/X11R6&gt;</replaceable>/lib/pkgconfig</filename>
    36     are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>
     59    <para>If you've installed the X Window System in any prefix other than
     60    <filename>/usr</filename>, become the <systemitem
     61    class="username">root</systemitem> user and update the library linker's
     62    cache by adding <filename class='directory'>/usr/X11R6/lib</filename>
     63    to <filename>/etc/ld.so.conf</filename> and running
     64    <command>ldconfig</command>.</para>
     65
     66    <para>Additionally, while still the <systemitem
     67    class="username">root</systemitem> user, ensure
     68    <filename class="directory">/usr/X11R6/bin</filename> and
     69    <filename class="directory">/usr/X11R6/lib/pkgconfig</filename> are added
     70    to the <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>
    3771    environment variables, respectively. Instructions for doing this are
    3872    described in the section <xref linkend='postlfs-config-profile'/>.</para>
     73
     74    <para>Ensure you replace
     75    <filename class="directory">/usr/X11R6</filename> with
     76    <envar>$XORG_PREFIX</envar> in the previous two paragraphs if you did not
     77    create the compatibility symlink in the previous step.</para>
    3978
    4079    <para>As the <systemitem class="username">root</systemitem> user
Note: See TracChangeset for help on using the changeset viewer.