Merge from vendor branch TNF:
[pkgsrcv2.git] / bootstrap / README
1 $NetBSD: README,v 1.5 2005/04/10 22:03:35 jschauma Exp $
2
3 To try to get pkgsrc working on your system, please try the following
4 as root:
5
6 # ./bootstrap 
7     [ --workdir <workdir> ]
8     [ --prefix <prefix> ]
9     [ --pkgdbdir <pkgdbdir> ]
10     [ --sysconfdir <sysconfdir> ]
11     [ --varbase <varbase> ]
12     [ --ignore-case-check ]
13     [ --ignore-user-check ]
14     [ --preserve-path ]
15     [ --help ]
16
17 The defaults for the arguments are as follows:
18
19         --prefix        /usr/pkg
20         --pkgdbdir      /var/db/pkg
21         --sysconfdir    /usr/pkg/etc
22         --varbase       /var
23         --workdir       work
24
25 It is perfectly acceptable to place 'pkgdbdir' under 'prefix'.
26
27 The working directory will be created if it doesn't exist and has to be
28 writable by the user executing ./bootstrap.
29
30 Make sure that you have a working C compiler and make(1) binary in
31 your path.  Please note that on some systems (IRIX and SunOS, for example),
32 the bootstrap script will look into a number of common directories for
33 alternative implementations of some tools.  If they are found, these
34 directories will be prepended to the PATH variable, unless the
35 '--preserve-path' flag is given.
36
37 See http://www.netbsd.org/Documentation/software/packages.html for
38 more information about bootstrapping and using pkgsrc.
39
40 We'd be very interested in hearing of any successes or failures on
41 "unknown" (to us) systems.