| Daniel Stenberg | ef8a2bc | 2001-06-06 09:39:07 +0000 | [diff] [blame] | 1 | _ _ ____ _ |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 2 | ___| | | | _ \| | |
| 3 | / __| | | | |_) | | |
| 4 | | (__| |_| | _ <| |___ |
| 5 | \___|\___/|_| \_\_____| |
| Daniel Stenberg | 4ac4831 | 2001-01-04 12:36:56 +0000 | [diff] [blame] | 6 | |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 7 | CVS-INFO |
| Daniel Stenberg | 4ac4831 | 2001-01-04 12:36:56 +0000 | [diff] [blame] | 8 | |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 9 | This file is only present in the CVS - never in release archives. It contains |
| 10 | information about other files and things that the CVS repository keeps in its |
| 11 | inner sanctum. |
| Daniel Stenberg | 4ac4831 | 2001-01-04 12:36:56 +0000 | [diff] [blame] | 12 | |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 13 | Compile and build instructions follow below. |
| Daniel Stenberg | 4d17067 | 2001-01-04 12:39:00 +0000 | [diff] [blame] | 14 | |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 15 | CHANGES.0 contains ancient changes. |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 16 | CHANGES.$year contains changes for the particular year. |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 17 | |
| Daniel Stenberg | 065b87e | 2003-02-24 18:14:48 +0000 | [diff] [blame] | 18 | tests/memanalyze.pl |
| Daniel Stenberg | f8c3b3a | 2003-06-26 06:21:29 +0000 | [diff] [blame] | 19 | is for analyzing the output generated by curl if -DCURLDEBUG |
| 20 | is used when compiling (run configure with --enable-debug) |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 21 | |
| Daniel Stenberg | bbe8aa0 | 2001-05-03 09:13:53 +0000 | [diff] [blame] | 22 | buildconf builds the makefiles and configure stuff |
| 23 | |
| Daniel Stenberg | f6d4a25 | 2001-04-22 15:44:13 +0000 | [diff] [blame] | 24 | Makefile.dist is included as the root Makefile in distribution archives |
| 25 | |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 26 | perl/ is a subdirectory with various perl scripts |
| Daniel Stenberg | 4ac4831 | 2001-01-04 12:36:56 +0000 | [diff] [blame] | 27 | |
| Daniel Stenberg | 4515d06 | 2004-02-26 16:23:28 +0000 | [diff] [blame^] | 28 | To build in environments that support configure, after having extracted |
| 29 | everything from CVS, do this: |
| Daniel Stenberg | 4ac4831 | 2001-01-04 12:36:56 +0000 | [diff] [blame] | 30 | |
| Daniel Stenberg | bbe8aa0 | 2001-05-03 09:13:53 +0000 | [diff] [blame] | 31 | ./buildconf |
| Daniel Stenberg | 19d3fd1 | 2001-01-09 10:09:39 +0000 | [diff] [blame] | 32 | ./configure |
| 33 | make |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 34 | |
| Daniel Stenberg | 3b8583b | 2002-12-20 16:00:56 +0000 | [diff] [blame] | 35 | Daniel uses a ./configure line similar to this for easier development: |
| 36 | |
| 37 | ./configure --disable-shared --enable-debug --enable-maintainer-mode |
| 38 | |
| Daniel Stenberg | 4515d06 | 2004-02-26 16:23:28 +0000 | [diff] [blame^] | 39 | In environments that don't support configure (i.e. Microsoft), do this: |
| 40 | |
| 41 | buildconf.bat |
| 42 | |
| Daniel Stenberg | 3b8583b | 2002-12-20 16:00:56 +0000 | [diff] [blame] | 43 | |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 44 | REQUIREMENTS |
| 45 | |
| Daniel Stenberg | 4515d06 | 2004-02-26 16:23:28 +0000 | [diff] [blame^] | 46 | For buildconf (not buildconf.bat) to work, you need the following software |
| 47 | installed: |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 48 | |
| Daniel Stenberg | 8894bd0 | 2003-05-13 09:38:09 +0000 | [diff] [blame] | 49 | o autoconf 2.57 (or later) |
| 50 | o automake 1.7 (or later) |
| 51 | o libtool 1.4.2 (or later) |
| Daniel Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 52 | o GNU m4 (required by autoconf) |
| 53 | |
| Daniel Stenberg | 68bb74d | 2003-03-20 15:12:43 +0000 | [diff] [blame] | 54 | 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 Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 67 | |
| 68 | MAC OS X |
| 69 | |
| Daniel Stenberg | 73d996b | 2002-10-31 13:25:03 +0000 | [diff] [blame] | 70 | 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 Stenberg | dd06dce | 2002-01-03 09:12:41 +0000 | [diff] [blame] | 73 | |
| 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" |