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:
Timothy Bauscher 2003-01-16 02:32:32 +00:00
parent fd296c1fc9
commit 1d5d84c883
6 changed files with 39 additions and 21 deletions

View File

@ -1,3 +1,5 @@
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Ncurses Installation Dependencies</title>

View File

@ -1,12 +1,10 @@
<sect2><title>Contents of Ncurses</title>
<sect2><title>&nbsp;</title><para>&nbsp;</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

View File

@ -3,6 +3,7 @@
<?dbhtml filename="ncurses.html" dir="appendixa"?>
&aa-ncurses-down;
&aa-ncurses-shortdesc;
&aa-ncurses-desc;
&aa-ncurses-dep;

View File

@ -1,14 +1,35 @@
<sect2><title>&nbsp;</title><para>&nbsp;</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 &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
chmod 755 /usr/lib/*.&ncurses-version; &amp;&amp;
mv /usr/lib/libncurses.so.5* /lib &amp;&amp;
ln -sf libncurses.a /usr/lib/libcurses.a &amp;&amp;
<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 &amp;&amp;
ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so &amp;&amp;
ln -sf ../../lib/libncurses.so.5 /usr/lib/libcurses.so</userinput></screen></para>
</sect2>

View File

@ -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>

View File

@ -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">