> It all works fine on my VM with this environment and no configure options:
> AUTOCONF_VERSION=2.69
> AUTOMAKE_VERSION=1.16
> CC=cc
> C_INCLUDE_PATH=/usr/local/include
> LIBRARY_PATH=/usr/local/lib

I see you have changed the install instructions in the INSTALL file
(slapping them onto the Aug 14 commit without mentioning it or
reflecting it in the commit message). There is a few problems:

1.
On some systems, in particular OpenBSD, the autoreconf insists
that 'libtool' is the GNU libtool (of course). So the requirement
to have autoconf, automake and autoconf-archive probably needs to
be augmented with GNU libtool; otherwise,

$ env AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.16 autoreconf -i
configure.ac:28: installing './compile'
configure.ac:16: installing './install-sh'
configure.ac:16: installing './missing'
lpc10/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
lpc10/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
lpc10/Makefile.am:8:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
lpc10/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac', make sure
lpc10/Makefile.am:8:   its definition is in aclocal's search path.
lpc10/Makefile.am: installing './depcomp'
src/Makefile.am:26: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:26:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:26:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:26:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:26:   its definition is in aclocal's search path.
autoreconf-2.69: automake failed with exit status: 1

2.
"Run ./configure --help for a complete list of options."
recommends to set the CC and CFLAGS and LDFLAGS etc
as the arguments to ./configure, and never mentions
C_INCLUDE_PATH or LIBRARY_PATH.

3.
Later, the INSTALL manual recommends

  export CPATH=/usr/local/include
  export LIBRARY_PATH=/usr/local/lib

as opposed to C_INCLUDE_PATH.

4.
The other install manuals (README.win32, cygbuild. osxbuild
- not sure how much relevant these are) still use thee
./configure CFLAGS=... syntax

Jan



_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to