source: basicnet/netlibs/curl.xml@ 9e563d2a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9e563d2a was 9e563d2a, checked in by Randy McMurchy <randy@…>, 19 years ago

Added a command to the cURL instructions to fix a bug in the test script

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

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
2 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
7 <!ENTITY curl-download-ftp "ftp://ftp.fu-berlin.de/pub/unix/network/curl/curl-&curl-version;.tar.bz2">
8 <!ENTITY curl-md5sum "d673f68dbab2553acdbfb5435bd1cd48">
9 <!ENTITY curl-size "1.8 MB">
10 <!ENTITY curl-buildsize "25.2 MB">
11 <!ENTITY curl-time "0.40 SBU (additional 0.58 SBU to run the test suite)">
12]>
13
14<sect1 id="curl" xreflabel="cURL-&curl-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="curl.html"?>
20<title>cURL-&curl-version;</title>
21<indexterm zone="curl">
22<primary sortas="a-CURL">CURL</primary></indexterm>
23
24<sect2>
25<title>Introduction to <application>cURL</application></title>
26
27<para>The <application>cURL</application> package contains
28<command>curl</command> and its support library. This is useful for
29transferring files with <acronym>URL</acronym> syntax. This ability to both
30download and redirect files can be incorporated into other programs to support
31functions like streaming media.</para>
32
33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
35<listitem><para>Download (HTTP):
36<ulink url="&curl-download-http;"/></para></listitem>
37<listitem><para>Download (FTP):
38<ulink url="&curl-download-ftp;"/></para></listitem>
39<listitem><para>Download MD5 sum: &curl-md5sum;</para></listitem>
40<listitem><para>Download size: &curl-size;</para></listitem>
41<listitem><para>Estimated disk space required:
42&curl-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&curl-time;</para></listitem></itemizedlist>
45</sect3>
46
47<sect3><title><application>cURL</application> dependencies</title>
48<sect4><title>Optional</title>
49<para><xref linkend="pkgconfig"/>,
50<xref linkend="openssl"/>,
51<xref linkend="openldap"/>,
52<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
53<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
54<ulink url="http://www.gnu.org/software/libidn/">Libidn</ulink>,
55<ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink> and
56<ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
57</sect4>
58
59<sect4><title>Optional (for running the test suite)</title>
60<para><xref linkend="stunnel"/> (for running <acronym>HTTPS</acronym> and
61<acronym>FTPS</acronym> tests) and
62<ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
63the shared library)</para>
64</sect4>
65</sect3>
66
67</sect2>
68
69<sect2>
70<title>Installation of <application>cURL</application></title>
71
72<para>Install <application>cURL</application> by running the following
73commands:</para>
74
75<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
76make</command></userinput></screen>
77
78<para>If you wish to run the testsuite, use the following commands to fix a
79bug in the test script and then run the tests:</para>
80
81<screen><userinput><command>sed -i -e 's/^require "valgrind.pm"/# &amp;/' tests/runtests.pl &amp;&amp;
82make check</command></userinput></screen>
83
84<para>Now, as the root user:</para>
85
86<screen><userinput role='root'><command>make install &amp;&amp;
87find docs -name "Makefile*" \
88 -o -name "*.1" \
89 -o -name "*.3" | xargs rm &amp;&amp;
90install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
91cp -v -R docs/* /usr/share/doc/curl-&curl-version;</command></userinput></screen>
92
93</sect2>
94
95<sect2>
96<title>Command explanations</title>
97
98<para><option>--with-gssapi</option>:
99This parameter adds <application>Kerberos 5</application> support to
100<filename class="libraryfile">libcurl</filename>.</para>
101
102</sect2>
103
104<sect2>
105<title>Contents</title>
106
107<segmentedlist>
108<segtitle>Installed Programs</segtitle>
109<segtitle>Installed Library</segtitle>
110<segtitle>Installed Directories</segtitle>
111
112<seglistitem>
113<seg>curl and curl-config</seg>
114<seg>libcurl.[so,a]</seg>
115<seg>/usr/include/curl, /usr/share/curl
116and /usr/share/doc/curl-&curl-version;</seg>
117</seglistitem>
118</segmentedlist>
119
120<variablelist>
121<bridgehead renderas="sect3">Short Descriptions</bridgehead>
122<?dbfo list-presentation="list"?>
123
124<varlistentry id="curl-prog">
125<term><command>curl</command></term>
126<listitem><para>is a client that can get documents from or send documents to
127any of the following protocols: <acronym>HTTP</acronym>,
128<acronym>HTTPS</acronym> (needs <xref linkend="openssl"/>),
129<acronym>FTP</acronym>, GOPHER, DICT, TELNET, <acronym>LDAP</acronym> (needs
130<xref linkend="openldap"/> at run time) or FILE.</para>
131<indexterm zone="curl curl-prog">
132<primary sortas="b-curl">curl</primary>
133</indexterm></listitem>
134</varlistentry>
135
136<varlistentry id="curl-config">
137<term><command>curl-config</command></term>
138<listitem><para>prints information about the last compile, like libraries
139linked to and prefix setting.</para>
140<indexterm zone="curl curl-config">
141<primary sortas="b-curl-config">curl-config</primary>
142</indexterm></listitem>
143</varlistentry>
144
145<varlistentry id="libcurl">
146<term><filename class='libraryfile'>libcurl.[so,a]</filename></term>
147<listitem><para>provides the <acronym>API</acronym> functions required by
148<command>curl</command> and other programs.</para>
149<indexterm zone="curl libcurl">
150<primary sortas="c-libcurl">libcurl.[so,a]</primary>
151</indexterm></listitem>
152</varlistentry>
153</variablelist>
154
155</sect2>
156
157</sect1>
158
Note: See TracBrowser for help on using the repository browser.