xref: /freebsd/contrib/file/README.DEVELOPER (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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
7After 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
15If you see errors, make sure you have the latest libtool and autoconf
16This has been tested with autoconf-2.69 and libtool-2.4.2
17
18## Installing dependencies
19
20If your platform doesn't have the above tools, install the following
21packages first.
22
23### Debian
24
25	apt-get install \
26	    automake \
27	    gcc \
28	    libtool \
29	    make \
30	    python \
31	    zlib1g-dev \
32
33See 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
46Tested with:
47	autoconf 2.69
48	automake 1.16.1
49	libtool 2.4.6
50