To build from sources you need:
- a previous version of remake or GNU make
- A C compiler like
gccorclang gettext- GNU Readline which the debugger currently requires
Optionally you may want:
- Guile version 2.0 or greater
Additionally, if installing from git you need:
git(duh)autoconfautomakeautopointgettextto process the language-customizaton files in thepodirector
and optionally:
gzipandlzipif building a compressed tarballguileversion 2 or greater if you want Guile support inremakepatchadd remake comments to the po/Makefile
Here is a apt-get command you can use to install on Debian-ish systems:
$ sudo apt-get install git gcc pkg-config autoconf automake autopoint gettext libreadline-dev make guile-2.2 lzipHere is a yum/dnf command for Redhat/CentOS:
$ sudo yum install git gcc pkgconfig autoconf automake gettext readline-devel make guile lzip
# on CentOS 7 and later, autopoint is part of gettext-devel
$ sudo yum install git gcc pkgconfig autoconf automake gettext gettext-devel readline-devel make guile lzipHere is a brew command for macOS (additionally Xcode is required):
$ sudo brew install git pkg-config autoconf automake gettext readline guile lzipHere is a pkg command for FreeBSD:
$ sudo pkg install git gcc pkgconf autotools automake gettext gmake readline rsync guile2 lzip wgetHere is a pkg_add command for OpenBSD as, root:
$ pkg_add install git pkgconf autoconf-2.69p2 automake-1.16.1 gettext-tools ggrep gmake readline rsync-3.1.3 guile2 lzip wgetTo build documentation you need:
texinfofor building the TeXInfo docs
Add that to any of the above package installation commands above.
$ $SHELL ./autogen.sh
$ make && make checkThis performs the step below steps up to but not including "Building".
$ autoreconf -f -i
$ ./configure --enable-maintainer-mode "$@"After running configure run:
$ make po-update
to pull in the latest translation strings.
$ (cd doc && make stamp-1 stamp-vti)So the full sequence is:
$ cd remake*
$ autoreconf -f -i
$ patch -p0 < po/Makefile.in.in.patch # this step is optional
$ ./configure
$ make po-update
$ (cd doc && make stamp-1 stamp-vti)
$ make && make check
$ make install # may need sudoThe main targets to remove remake are:
uninstall- removes files created viamake installor removes installationclean- removes files created viamakeormake alldistclean- more aggresively removes any files that are not part of git
Therefore to remove file installed via make install:
$ make uninstall # ;-)