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