Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 921 Bytes

BUILD.md

File metadata and controls

38 lines (23 loc) · 921 Bytes

Compilation instructions

Compilation:

autoreconf --install
./configure
make

Installation:

make install

Installation that overwrites config files and translation tables:

make force-install

Compilation notes

Ensure that the path to lex/yacc (or an equivalent) is in your $PATH environmental variable. For instance, under Solaris, you may need to add /usr/ccs/bin to your path to get detox to compile:

export PATH=${PATH}:/usr/ccs/bin

To get detox working with long options on Darwin or Solaris (or any other OS without getopt_long in its C library), I've included support for libpopt. Install libpopt and configure with the following:

./configure --with-popt

If you've installed libpopt in a directory other than /usr, which is likely, you'll want to specify the base path to libpopt. So, if popt.h is in /usr/local/include, you'll run configure like so:

./configure --with-popt=/usr/local