mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Converted ncurses to new layout.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2349 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
fd296c1fc9
commit
1d5d84c883
@ -1,3 +1,5 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Ncurses Installation Dependencies</title>
|
||||
|
||||
|
@ -1,12 +1,10 @@
|
||||
<sect2><title>Contents of Ncurses</title>
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2><title>Descriptions</title>
|
||||
|
||||
<para>Last checked against version &ncurses-contversion;.</para>
|
||||
|
||||
<sect3><title>Program Files</title>
|
||||
<para>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
|
||||
reset (link to tset), tack, tic, toe, tput and tset.</para></sect3>
|
||||
|
||||
<sect3><title>Descriptions</title>
|
||||
<sect3><title>Program file descriptions</title>
|
||||
|
||||
<sect4><title>captoinfo</title>
|
||||
<para>captoinfo converts a termcap description into a terminfo
|
||||
@ -59,11 +57,7 @@ widely used anymore. It's provided for 4.4BSD compatibility.</para></sect4>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Library Files</title>
|
||||
<para>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
|
||||
libform_g.a, libmenu.[a,so], libmenu_g.a, libncurses++.a,
|
||||
libncurses.[a,so], libncurses_g.a, libpanel.[a,so] and
|
||||
libpanel_g.a</para>
|
||||
<sect3><title>Library file descriptions</title>
|
||||
|
||||
<sect4><title>libcurses, libncurses++, libncurses, libncurses_g</title>
|
||||
<para>These libraries are the base of the system and are used to display
|
||||
|
@ -3,6 +3,7 @@
|
||||
<?dbhtml filename="ncurses.html" dir="appendixa"?>
|
||||
|
||||
&aa-ncurses-down;
|
||||
&aa-ncurses-shortdesc;
|
||||
&aa-ncurses-desc;
|
||||
&aa-ncurses-dep;
|
||||
|
||||
|
@ -1,14 +1,35 @@
|
||||
<sect2><title> </title><para> </para></sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of Ncurses</title>
|
||||
|
||||
<para>Install Ncurses by running the following commands:</para>
|
||||
<para>Prepare Ncurses to be compiled:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr --with-shared &&
|
||||
make &&
|
||||
make install &&
|
||||
chmod 755 /usr/lib/*.&ncurses-version; &&
|
||||
mv /usr/lib/libncurses.so.5* /lib &&
|
||||
ln -sf libncurses.a /usr/lib/libcurses.a &&
|
||||
<para><screen><userinput>./configure --prefix=/usr --with-shared</userinput></screen></para>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
|
||||
<para><screen><userinput>make</userinput></screen></para>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
<para><screen><userinput>make install</userinput></screen></para>
|
||||
|
||||
<para>Give the ncurses libraries executable permission:</para>
|
||||
|
||||
<para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para>
|
||||
|
||||
<para>Move the libraries to the <filename>/lib</filename> directory,
|
||||
where they're expected to reside:</para>
|
||||
|
||||
<para><screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen></para>
|
||||
|
||||
<para>Since the libaries have been moved to
|
||||
<filename>/lib</filename>, a few symlinks are currently pointing
|
||||
towards non-existing files. Create the following symlinks to
|
||||
account for this:</para>
|
||||
|
||||
<para><screen><userinput>ln -sf libncurses.a /usr/lib/libcurses.a &&
|
||||
ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &&
|
||||
ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para>
|
||||
</sect2>
|
||||
|
@ -5,10 +5,9 @@
|
||||
<screen>Estimated build time: &ncurses-time;
|
||||
Estimated required disk space: &ncurses-compsize;</screen>
|
||||
|
||||
&c6-ncurses-inst;
|
||||
&c6-ncurses-exp;
|
||||
&aa-ncurses-desc;
|
||||
&aa-ncurses-shortdesc;
|
||||
&aa-ncurses-dep;
|
||||
&c6-ncurses-inst;
|
||||
|
||||
</sect1>
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
<!ENTITY aa-ncurses-desc SYSTEM "../appendixa/ncurses-desc.xml">
|
||||
<!ENTITY aa-ncurses-dep SYSTEM "../appendixa/ncurses-dep.xml">
|
||||
<!ENTITY aa-ncurses-down SYSTEM "../appendixa/ncurses-down.xml">
|
||||
<!ENTITY aa-ncurses-shortdesc SYSTEM "../appendixa/ncurses-shortdesc.xml">
|
||||
|
||||
<!ENTITY ncurses-version "5.3">
|
||||
<!ENTITY ncurses-depversion "5.2">
|
||||
|
Loading…
Reference in New Issue
Block a user