mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
f45b195302
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<sect2>
|
|
<title>Installation of ncftp</title>
|
|
|
|
<para>There are two ways to build ncftp. The first (and optimal) way,
|
|
builds most of the functionality as a shared library and then builds and
|
|
installs the program linked against this library. The second method
|
|
simply links all of the functionality into the binary statically. This
|
|
doesn't make the dynamic library available for linking by other
|
|
applications. You need to choose which method best suits you. Note
|
|
that the second method does <emphasis>not</emphasis> create an entirely
|
|
statically linked binary; only the libncftp parts are statically linked
|
|
in, in this case.</para>
|
|
|
|
<para>To install ncftp using the first (and optimal) method, run the
|
|
following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr &&
|
|
cd libncftp &&
|
|
make shared &&
|
|
make soinstall &&
|
|
cd .. &&
|
|
make &&
|
|
make install</userinput></screen></para>
|
|
|
|
<para>To install ncftp using the second method (with the libncftp
|
|
functionality linked in statically) run the following commands:</para>
|
|
|
|
<para><screen><userinput>./configure --prefix=/usr &&
|
|
make &&
|
|
make install</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|