blob: d004807fea2a00a751478b8dd8cae6897f46f718 [file] [log] [blame]
Daniel Stenbergef8a2bc2001-06-06 09:39:07 +00001 _ _ ____ _
Daniel Stenbergf6d4a252001-04-22 15:44:13 +00002 ___| | | | _ \| |
3 / __| | | | |_) | |
4 | (__| |_| | _ <| |___
5 \___|\___/|_| \_\_____|
Daniel Stenberg4ac48312001-01-04 12:36:56 +00006
Daniel Stenbergf6d4a252001-04-22 15:44:13 +00007CVS-INFO
Daniel Stenberg4ac48312001-01-04 12:36:56 +00008
Daniel Stenbergf6d4a252001-04-22 15:44:13 +00009This file is only present in the CVS - never in release archives. It contains
10information about other files and things that the CVS repository keeps in its
11inner sanctum.
Daniel Stenberg4ac48312001-01-04 12:36:56 +000012
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000013Compile and build instructions follow below.
Daniel Stenberg4d170672001-01-04 12:39:00 +000014
Daniel Stenbergf6d4a252001-04-22 15:44:13 +000015 CHANGES.0 contains ancient changes.
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000016 CHANGES.$year contains changes for the particular year.
Daniel Stenbergf6d4a252001-04-22 15:44:13 +000017
Daniel Stenberg065b87e2003-02-24 18:14:48 +000018 tests/memanalyze.pl
Daniel Stenbergf8c3b3a2003-06-26 06:21:29 +000019 is for analyzing the output generated by curl if -DCURLDEBUG
20 is used when compiling (run configure with --enable-debug)
Daniel Stenbergf6d4a252001-04-22 15:44:13 +000021
Daniel Stenbergbbe8aa02001-05-03 09:13:53 +000022 buildconf builds the makefiles and configure stuff
23
Daniel Stenbergf6d4a252001-04-22 15:44:13 +000024 Makefile.dist is included as the root Makefile in distribution archives
25
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000026 perl/ is a subdirectory with various perl scripts
Daniel Stenberg4ac48312001-01-04 12:36:56 +000027
Daniel Stenberg4515d062004-02-26 16:23:28 +000028To build in environments that support configure, after having extracted
29everything from CVS, do this:
Daniel Stenberg4ac48312001-01-04 12:36:56 +000030
Daniel Stenbergbbe8aa02001-05-03 09:13:53 +000031./buildconf
Daniel Stenberg19d3fd12001-01-09 10:09:39 +000032./configure
33make
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000034
Daniel Stenberg3b8583b2002-12-20 16:00:56 +000035 Daniel uses a ./configure line similar to this for easier development:
36
37 ./configure --disable-shared --enable-debug --enable-maintainer-mode
38
Daniel Stenberg4515d062004-02-26 16:23:28 +000039In environments that don't support configure (i.e. Microsoft), do this:
40
41buildconf.bat
42
Daniel Stenberg3b8583b2002-12-20 16:00:56 +000043
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000044REQUIREMENTS
45
Daniel Stenberg4515d062004-02-26 16:23:28 +000046 For buildconf (not buildconf.bat) to work, you need the following software
47installed:
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000048
Daniel Stenberg8894bd02003-05-13 09:38:09 +000049 o autoconf 2.57 (or later)
50 o automake 1.7 (or later)
51 o libtool 1.4.2 (or later)
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000052 o GNU m4 (required by autoconf)
53
Daniel Stenberg68bb74d2003-03-20 15:12:43 +000054 o nroff + perl
55
56 If you don't have nroff and perl and you for some reason don't want to
57 install them, you can rename the source file src/hugehelp.c.cvs to
58 src/hugehelp.c and avoid having to generate this file. This will of course
59 give you an older version of the file that isn't up-to-date. That file was
60 checked in once and won't be updated very regularly.
61
62 o yacc/bison
63
64 If you don't have yacc or bison, you must rename the lib/getdate.c.cvs file
65 to lib/getdate.c to be able to build libcurl. yacc/bison is normally used
66 to generate the lib/getdate.c file from the lib/getdate.y source file.
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000067
68MAC OS X
69
Daniel Stenberg73d996b2002-10-31 13:25:03 +000070 With Mac OS X 10.2 and the associated Developer Tools, the installed versions
71 of the build tools are adequate. For Mac OS X 10.1 users, Guido Neitzer
72 wrote the following step-by-step guide:
Daniel Stenbergdd06dce2002-01-03 09:12:41 +000073
74 1. Install fink (http://fink.sourceforge.net)
75 2. Update fink to the newest version (with the installed fink)
76 3. Install the latest version of autoconf, automake and m4 with fink
77 4. Install version 1.4.1 of libtool - you find it in the "unstable" section
78 (read the manual to see how to get unstable versions)
79 5. Get cURL from the cvs
80 6. Build cURL with "./buildconf", "./configure", "make", "sudo make install"