10.0
10.1
11.0
11.1
11.2
11.3
12.0
12.1
12.2
6.0
6.1
6.2
6.2.0
6.2.0-rc1
6.2.0-rc2
6.3
6.3-rc1
6.3-rc2
6.3-rc3
7.10
7.4
7.5
7.6
7.6-blfs
7.6-systemd
7.7
7.8
7.9
8.0
8.1
8.2
8.3
8.4
9.0
9.1
basic
bdubbs/svn
elogind
gimp3
gnome
kde5-13430
kde5-14269
kde5-14686
kea
ken/TL2024
ken/inkscape-core-mods
ken/tuningfonts
krejzi/svn
lazarus
lxqt
nosym
perl-modules
plabs/newcss
plabs/python-mods
python3.11
qt5new
rahul/power-profiles-daemon
renodr/vulkan-addition
systemd-11177
systemd-13485
trunk
upgradedb
v5_0
v5_1
v5_1-pre1
xry111/for-12.3
xry111/intltool
xry111/llvm18
xry111/soup3
xry111/spidermonkey128
xry111/test-20220226
xry111/xf86-video-removal
Last change
on this file since 4922911 was 377584f, checked in by Larry Lawrence <larry@…>, 21 years ago |
added chapter intros 16, 18, 20
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1177 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[f45b1953] | 1 | <sect2>
|
---|
[377584f] | 2 | <title>Installation of <application>Nc<acronym>FTP</acronym></application></title>
|
---|
[f45b1953] | 3 |
|
---|
[377584f] | 4 | <para>There are two ways to build <application>Nc<acronym>FTP</acronym></application>. The first
|
---|
[2da087bd] | 5 | (and optimal) way, builds most of the functionality as a shared library and
|
---|
| 6 | then builds and installs the program linked against this library. The second
|
---|
| 7 | method simply links all of the functionality into the binary statically. This
|
---|
[f45b1953] | 8 | doesn't make the dynamic library available for linking by other
|
---|
| 9 | applications. You need to choose which method best suits you. Note
|
---|
| 10 | that the second method does <emphasis>not</emphasis> create an entirely
|
---|
[2da087bd] | 11 | statically linked binary; only the <filename>libncftp</filename> parts are
|
---|
| 12 | statically linked in, in this case. Be aware that building and using the shared
|
---|
| 13 | library is covered by the Clarified Artistic License; however, developing
|
---|
| 14 | applications that utilize the shared library is subject to a different license.
|
---|
| 15 | </para>
|
---|
[f45b1953] | 16 |
|
---|
[377584f] | 17 | <para>To install <application>Nc<acronym>FTP</acronym></application> using the first (and optimal)
|
---|
[2da087bd] | 18 | method, run the following commands:</para>
|
---|
[f45b1953] | 19 |
|
---|
[2da087bd] | 20 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[f45b1953] | 21 | cd libncftp &&
|
---|
| 22 | make shared &&
|
---|
| 23 | make soinstall &&
|
---|
| 24 | cd .. &&
|
---|
| 25 | make &&
|
---|
[2da087bd] | 26 | make install</command></userinput></screen>
|
---|
[f45b1953] | 27 |
|
---|
[377584f] | 28 | <para>To install <application>Nc<acronym>FTP</acronym></application> using the second method (with
|
---|
[2da087bd] | 29 | the <filename>libncftp</filename> functionality linked in statically) run the
|
---|
| 30 | following commands:</para>
|
---|
[f45b1953] | 31 |
|
---|
[2da087bd] | 32 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[f45b1953] | 33 | make &&
|
---|
[2da087bd] | 34 | make install</command></userinput></screen>
|
---|
[f45b1953] | 35 |
|
---|
| 36 | </sect2>
|
---|
| 37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.