Pullup ticket #3704.
[pkgsrcv2.git] / bootstrap / README
1 $NetBSD: README,v 1.10 2007/10/09 19:19:08 martti 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 pkgsrc/doc/pkgsrc.txt or
38 http://www.netbsd.org/docs/software/packages.html for
39 more information about bootstrapping and using pkgsrc.
40
41 We'd be very interested in hearing of any successes or failures on
42 "unknown" (to us) systems.
43
44 Please remember to add $prefix/bin to your PATH environment variable
45 and $prefix/man to your MANPATH environment variable, if necessary.
46 (See above for --prefix and its default value.)
47
48 The bootstrap script will create an example mk.conf file located
49 in your work directory as "mk.conf.example". It contains the
50 settings you provided to the bootstrap. Copy it to your
51 $sysconfdir directory (see above about --sysconfdir and its default
52 value). If the default mk.conf doesn't already exist, the example is
53 copied into place.