]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/file/README.DEVELOPER
bsddialog: import version 0.1
[FreeBSD/FreeBSD.git] / contrib / file / README.DEVELOPER
1 # How to get started developing
2
3 @(#) $File: README.DEVELOPER,v 1.9 2021/09/20 14:04:39 christos Exp $
4
5 ## Auto files
6
7 After checking out the source, run the following:
8
9         autoreconf -f -i
10         make distclean  # this can fail if you have not built before
11         ./configure --disable-silent-rules
12         make -j4
13         make -C tests check
14
15 If you see errors, make sure you have the latest libtool and autoconf
16 This has been tested with autoconf-2.69 and libtool-2.4.2
17
18 ## Installing dependencies
19
20 If your platform doesn't have the above tools, install the following
21 packages first.
22
23 ### Debian
24
25         apt-get install \
26             automake \
27             gcc \
28             libtool \
29             make \
30             python \
31             zlib1g-dev \
32
33 See also `.travis.yml`.
34
35 ### Mac OS X (MacPorts)
36
37         port install \
38             autoconf \
39             automake \
40             libtool \
41
42 ### Mac OS X (HomeBrew)
43
44         brew install autoconf automake libtool
45
46 Tested with:
47         autoconf 2.69
48         automake 1.16.1
49         libtool 2.4.6