source: basicnet/netprogs/ncftp/ncftp-inst.xml@ 25357c89

initial-import reorg
Last change on this file since 25357c89 was f45b1953, checked in by Mark Hymers <markh@…>, 22 years ago

Initial revision

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

  • Property mode set to 100644
File size: 1.2 KB
Line 
1<sect2>
2<title>Installation of ncftp</title>
3
4<para>There are two ways to build ncftp. The first (and optimal) way,
5builds most of the functionality as a shared library and then builds and
6installs the program linked against this library. The second method
7simply links all of the functionality into the binary statically. This
8doesn't make the dynamic library available for linking by other
9applications. You need to choose which method best suits you. Note
10that the second method does <emphasis>not</emphasis> create an entirely
11statically linked binary; only the libncftp parts are statically linked
12in, in this case.</para>
13
14<para>To install ncftp using the first (and optimal) method, run the
15following commands:</para>
16
17<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
18cd libncftp &amp;&amp;
19make shared &amp;&amp;
20make soinstall &amp;&amp;
21cd .. &amp;&amp;
22make &amp;&amp;
23make install</userinput></screen></para>
24
25<para>To install ncftp using the second method (with the libncftp
26functionality linked in statically) run the following commands:</para>
27
28<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
29make &amp;&amp;
30make install</userinput></screen></para>
31
32</sect2>
33
Note: See TracBrowser for help on using the repository browser.