2 File : $Source: /cvsroot/ijbswa/current/doc/source/buildsource.sgml,v $
4 Purpose : Entity included in other project documents.
6 $Id: buildsource.sgml,v 1.3 2002/04/17 13:54:25 oes Exp $
8 Written by and Copyright (C) 2001 the SourceForge
9 Privoxy team. http://www.privoxy.org/
11 Based on the Internet Junkbuster originally written
12 by and Copyright (C) 1997 Anonymous Coders and
13 Junkbusters Corporation. http://www.junkbusters.com
16 ======================================================================
17 This file used for inclusion with other documents only.
18 ======================================================================
20 If you make changes to this file, please verify the finished
21 docs all display as intended.
23 This file is included into:
31 To build <application>Privoxy</application> from source,
32 autoheader, autoconf,GNU make (gmake), and, of course, a C
33 compiler are required.
37 When building from a source tarball (either release version or
38 nightly CVS tarball), first unpack the source:
43 tar xzvf privoxy-&p-version;<![%p-not-stable;[-beta]]>-src* [.tgz or .tar.gz]
44 cd privoxy-&p-version;<![%p-not-stable;[-beta]]>
49 For retrieving the current CVS sources, you'll need CVS installed.
50 Note that sources from CVS are development quality, and may not be
51 stable, or well tested. To download CVS source:
56 cvs -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa login
57 cvs -z3 -d:pserver:anonymous@cvs.ijbswa.sourceforge.net:/cvsroot/ijbswa co current
63 This will create a directory named <filename>current/</filename>, which will
64 contain the source tree.
68 Then, in either case, to build from unpacked tarball or CVS source:
75 ./configure # (--help to see options)
76 make # (the make from gnu, gmake for *BSD)
78 make -n install # (to see where all the files will go)
79 make install # (to really install)
84 If you have gnu make, you can have the first four steps
85 automatically done for you by just typing
95 in the freshly downloaded or unpacked source directory.
99 Redhat and SuSE src and binary RPMs can be built with
100 <quote><command>make redhat-dist</command></quote> or
101 <quote><command>make suse-dist</command></quote> from unpacked sources. You
102 will need to run <quote><command>autoconf; autoheader;
103 ./configure</command></quote> beforehand. *BSD will require gmake (from
104 <ulink url="http://www.gnu.org">http://www.gnu.org</ulink>).
105 <![%p-readme;[See the user-manual for OS/2 build instructions.]]>
109 For more detailed instructions on how to build Redhat and SuSE RPMs,
110 Windows self-extracting installers etc, please consult the <ulink
111 url="../developer-manual/newrelease.html">developer manual</ulink>.
116 For binary RPM installation, and other platforms, see the user-manual