Ignore:
Timestamp:
01/16/2005 07:58:31 AM (20 years ago)
Author:
Jim Gifford <jim@…>
Children:
ac89fab
Parents:
e464747
Message:

Updated RaQ2 started PPC integration

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4539 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/ncurses.xml

    re464747 r56964fb  
    3232<para>Prepare Ncurses for compilation:</para>
    3333
    34 <screen><userinput>./configure --prefix=/usr --with-shared --without-debug</userinput></screen>
     34<screen><userinput>./configure --prefix=/usr --libdir \
     35--with-shared --without-debug</userinput></screen>
    3536
    3637<para>Compile the package:</para>
     
    3839<screen><userinput>make</userinput></screen>
    3940
    40 <para>This package does not come with a test suite.</para>
    41 
    4241<para>Install the package:</para>
    4342
    4443<screen><userinput>make install</userinput></screen>
    4544
     45<para>Move the Ncurses static libraries to the proper locations:</para>
     46
     47<screen><userinput>mv /lib/lib{panel,menu,form,ncurses,ncurses++}.a /usr/lib</userinput></screen>
     48
     49<para>Create symlinks in <filename class="directory">/usr/lib:</filename></para>
     50
     51<screen><userinput>rm /lib/lib{ncurses,menu,panel,form}.so
     52ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
     53ln -sf ../../lib/libmenu.so.5 /usr/lib/libmenu.so
     54ln -sf ../../lib/libpanel.so.5 /usr/lib/libpanel.so
     55ln -sf ../../lib/libform.so.5 /usr/lib/libform.so</userinput></screen>
     56
    4657<para>Give the Ncurses libraries execute permissions:</para>
    4758
    48 <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen>
    49 
    50 <para>Fix a library that should not be executable:</para>
    51 
    52 <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
    53 
    54 <para>Move the libraries to the <filename class="directory">/lib</filename> directory,
    55 where they are expected to reside:</para>
    56 
    57 <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen>
    58 
    59 <beginpage/>
    60 <para>Because the libraries have been moved, a few symlinks are pointing to
    61 non-existent files. Recreate those symlinks:</para>
    62 
    63 <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so
    64 ln -sf libncurses.so /usr/lib/libcurses.so</userinput></screen>
     59<screen><userinput>chmod 755 /lib/lib{panel,menu,form,ncurses}.so.&ncurses-version;</userinput></screen>
     60
    6561</sect2>
    66 
    6762
    6863<sect2 id="contents-ncurses" role="content"><title>Contents of Ncurses</title>
Note: See TracChangeset for help on using the changeset viewer.