]> git.sven.stormbind.net Git - sven/tclcurl.git/blob - ReadMe.txt
releasing package tclcurl version 7.22.0+hg20160822-2
[sven/tclcurl.git] / ReadMe.txt
1 TclCurl - get a URL with FTP, TELNET, LDAP, DICT, FILE, HTTP or HTTPS syntax.
2
3 TclCurl gives the Tcl programmer access to the facilities of libcurl, for more information
4 about what libcurl is capable of check http://curl.haxx.se.
5
6 To make type:
7
8       ./configure ?--enable-threads?
9       make
10       make install
11
12 The configure script will deduce $PREFIX from the tcl installation.
13 The generated Makefile uses the file $PREFIX/lib/tclConfig.sh that was left by
14 the make of tcl for most of its configuration parameters.
15
16 There is another README to explain how to compile in Windows.
17
18 Troubleshooting
19
20 If you are running Red Hat or Fedora and you are compiling from source,
21 make sure the directory '/usr/local/lib' is listed in '/etc/ld.so.conf',
22 if it isn't add it before installing cURL.
23
24 If the configure script doesn't detect Tcl even though it is there, it
25 is probably because there is no 'tclConfig.sh' file, maybe you need
26 to install a 'tcl-devel' package or maybe it would be a good idea
27 to download the latest version, and install that.
28
29 Usage:
30
31     package require TclCurl
32
33     set curlHandle [curl::init]
34
35     curlHandle perform
36
37     curlHandle getinfo curlinfo_option
38
39     curlHandle duphandle
40
41     curlhandle cleanup
42
43     curl::transfer
44
45     curl::version
46
47     curl::escape url
48
49     curl::unescape url
50
51     curl::curlConfig option
52
53 Check the man page for details.
54
55
56 Written by:  Andres Garcia (fandom@telefonica.net)
57
58 Use at your own risk.  No support.
59 BSD like license, check 'license.terms' for details.