X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Ftclcurl.git;a=blobdiff_plain;f=ReadMe.txt;fp=ReadMe.txt;h=74e0329f0b01a97775bbbac1b6313cd825203957;hp=0000000000000000000000000000000000000000;hb=b0e6fb6e4379fb87fa2854b84a56c5ad49c644da;hpb=c9a5bcd9d76f699909b24e71a2a216d36062ab0b diff --git a/ReadMe.txt b/ReadMe.txt new file mode 100755 index 0000000..74e0329 --- /dev/null +++ b/ReadMe.txt @@ -0,0 +1,59 @@ +TclCurl - get a URL with FTP, TELNET, LDAP, DICT, FILE, HTTP or HTTPS syntax. + +TclCurl gives the Tcl programmer access to the facilities of libcurl, for more information +about what libcurl is capable of check http://curl.haxx.se. + +To make type: + + ./configure ?--enable-threads? + make + make install + +The configure script will deduce $PREFIX from the tcl installation. +The generated Makefile uses the file $PREFIX/lib/tclConfig.sh that was left by +the make of tcl for most of its configuration parameters. + +There is another README to explain how to compile in Windows. + +Troubleshooting + +If you are running Red Hat or Fedora and you are compiling from source, +make sure the directory '/usr/local/lib' is listed in '/etc/ld.so.conf', +if it isn't add it before installing cURL. + +If the configure script doesn't detect Tcl even though it is there, it +is probably because there is no 'tclConfig.sh' file, maybe you need +to install a 'tcl-devel' package or maybe it would be a good idea +to download Tcl/Tk 8.4.5, the latest version, and install that. + +Usage: + + package require TclCurl + + set curlHandle [curl::init] + + curlHandle perform + + curlHandle getinfo curlinfo_option + + curlHandle duphandle + + curlhandle cleanup + + curl::transfer + + curl::version + + curl::escape url + + curl::unescape url + + curl::curlConfig option + +Check the man page for details. + + +Written by: Andres Garcia (fandom@telefonica.net) + +Use at your own risk. No support. +BSD like license, check 'license.terms' for details.