Changeset 1ef890b


Ignore:
Timestamp:
Jan 12, 2009, 3:52:13 PM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b33fd59
Parents:
8100441
Message:

Fixed LZMA Build see ticket 198.

Location:
BOOK
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/lzma.xml

    r8100441 r1ef890b  
    3030    <para os="a">Prepare LZMA-Utils for compilation:</para>
    3131
    32 <screen os="b"><userinput>./configure --prefix=/usr libdir=/lib</userinput></screen>
     32<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3333
    3434    <para os="c">Compile the package:</para>
     
    3939
    4040<screen os="f"><userinput>make install</userinput></screen>
    41 
    42     <para os="g">Move the LZMA-Utils static libraries to the proper location:</para>
    43 
    44 <screen os="h"><userinput>mv -v /lib/liblzmadec.{a,la} /usr/lib</userinput></screen>
    45 
    46     <para os="i">Create a symlink for the shared library:</para>
    47 
    48 <screen os="j"><userinput>ln -svf ../../lib/liblzmadec.so.0 /usr/lib/liblzmadec.so</userinput></screen>
    49 
    50     <para os="k">Move the <command>lzma</command> binary, and a couple
    51     symlinks to it, to <filename class="directory">/bin</filename> to be
    52     available like other compressing utilities:</para>
    53 
    54 <screen os="l"><userinput>mv -v /usr/bin/{lzma,lzcat,unlzma} /bin</userinput></screen>
    5541
    5642  </sect2>
  • BOOK/final-system/multilib/lzma-64bit.xml

    r8100441 r1ef890b  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b">CC="gcc ${BUILD64}"./configure --prefix=/usr libdir=/lib64<userinput></userinput></screen>
     28<screen os="b">CC="gcc ${BUILD64}"./configure --prefix=/usr<userinput></userinput></screen>
    2929
    3030    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4242    xpointer="xpointer(//*[@os='f'])"/>
    4343
    44     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    45     href="lzma.xml"
    46     xpointer="xpointer(//*[@os='g'])"/>
    47 
    48 <screen os="h"><userinput>mv -v /lib64/liblzmadec.{a,la} /usr/lib64</userinput></screen>
    49 
    50     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    51     href="lzma.xml"
    52     xpointer="xpointer(//*[@os='i'])"/>
    53 
    54 <screen os="j"><userinput>ln -sf ../../lib64/liblzmadec.so.0 /usr/lib64/liblzmadec.so</userinput></screen>
    55 
    56     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    57     href="../common/lzma.xml"
    58     xpointer="xpointer(//*[@os='k'])"/>
    59 
    60     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    61     href="../common/lzma.xml"
    62     xpointer="xpointer(//*[@os='l'])"/>
    63 
    6444  </sect2>
    6545
  • BOOK/final-system/multilib/lzma-n32.xml

    r8100441 r1ef890b  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b">CC="gcc ${BUILDN32}"./configure --prefix=/usr libdir=/lib32<userinput></userinput></screen>
     29<screen os="b">CC="gcc ${BUILDN32}"./configure --prefix=/usr<userinput></userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4545    xpointer="xpointer(//*[@os='f'])"/>
    4646
    47 <screen os="g"><userinput>mv -v /lib32/liblzmadec.{a,la} /usr/lib32</userinput></screen>
    48 
    49     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    50     href="lzma.xml"
    51     xpointer="xpointer(//*[@os='h'])"/>
    52 
    53     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    54     href="lzma.xml"
    55     xpointer="xpointer(//*[@os='i'])"/>
    56 
    57 <screen os="j"><userinput>ln -sf ../../lib32/liblzmadec.so.0 /usr/lib32/liblzmadec.so</userinput></screen>
    58 
    5947  </sect2>
    6048
  • BOOK/final-system/multilib/lzma.xml

    r8100441 r1ef890b  
    4545    xpointer="xpointer(//*[@os='f'])"/>
    4646
    47     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    48     href="../common/lzma.xml"
    49     xpointer="xpointer(//*[@os='g'])"/>
    50 
    51     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    52     href="../common/lzma.xml"
    53     xpointer="xpointer(//*[@os='h'])"/>
    54 
    55     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    56     href="../common/lzma.xml"
    57     xpointer="xpointer(//*[@os='i'])"/>
    58 
    59     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    60     href="../common/lzma.xml"
    61     xpointer="xpointer(//*[@os='j'])"/>
    62 
    6347  </sect2>
    6448
  • BOOK/introduction/common/changelog.xml

    r8100441 r1ef890b  
    4646          <para>[Jim] - Fixed E2fsprogs as stated in Ticket #197.</para>
    4747        </listitem>
     48        <listitem>
     49          <para>[Jim] - Fixed LZMA from Ticket #198. LZMA utilizes C++ library. By standards
     50          it stays in /usr/lib. So we have modified our build to place LZMA in /usr/bin and not
     51          /bin.</para>
     52        </listitem>
    4853      </itemizedlist>
    4954    </listitem>
     
    6065        <listitem>
    6166          <para>[Jim] - Fix for linking libreadline in 64 bit Inetutils.</para>
    62         </listitem>
     67       </listitem>
    6368      </itemizedlist>
    6469    </listitem>
Note: See TracChangeset for help on using the changeset viewer.