On an attempt to get ZNC 1.4 working on Debian 7.6, I got the following:
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ ls
aclocal.m4 configure.ac man version.sh
AUTHORS include modules webskins
autogen.sh LICENSE NOTICE znc-buildmod.in
autom4te.cache m4 README.md znc.pc.in
bootstrap.sh Makefile.in src znc.service
configure make-tarball.sh test znc-uninstalled.pc.in
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ ./bootstrap.sh
Running 'aclocal -I m4 -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
Running 'autoheader -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
Running 'autoconf -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
Running 'automake --add-missing -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac:35: installing `./config.guess'
configure.ac:35: installing `./config.sub'
configure.ac:32: installing `./install-sh'
automake: no `Makefile.am' found for any configure output
(Yes, automake is supposed to fail, ignore that)
You may now run ./configure.
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for git... /usr/bin/git
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether compiler predefines _FORTIFY_SOURCE... no
checking for getopt_long in -lgnugetopt... no
checking for lstat... yes
checking for getopt_long... yes
checking for getphassphrase... no
checking for library containing dlopen... -ldl
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking whether getaddrinfo() supports AI_ADDRCONFIG... yes
checking for openssl... yes
checking whether openssl is usable... yes
checking whether zlib is usable... yes
./configure: line 5381: AC_LIB_PREPARE_PREFIX: command not found
./configure: line 5385: syntax error near unexpected token `iconv'
./configure: line 5385: ` AC_LIB_LINKFLAGS_BODY(iconv)'
vagrant@oa-jalcine:/tmp/znc-znc-1.4$
I tried looking for something related to iconv:
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ apt-cache search iconv | grep dev
libcxxtools-dev - library of unrelated but useful C++ classes
libghc-iconv-dev - string-encoding conversion
libiconv-hook-dev - header files of libiconv-hook
libjconv-dev - charset conversion library - development
libticonv-dev - Texas Instruments calculators charsets library [development files]
lua-iconv-dev - iconv bindings for Lua - development files
libopenimageio-dev - Library for reading and writing images - development
libpantomime1.2-dev - GNUstep framework for mail handling (development files)
libunac1-dev - A C programmer's library that removes accents from a string
vagrant@oa-jalcine:/tmp/znc-znc-1.4$
But none looked relevant to fixing this issue. Any help would be appreciated.
On an attempt to get ZNC 1.4 working on Debian 7.6, I got the following:
``` shell
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ ls
aclocal.m4 configure.ac man version.sh
AUTHORS include modules webskins
autogen.sh LICENSE NOTICE znc-buildmod.in
autom4te.cache m4 README.md znc.pc.in
bootstrap.sh Makefile.in src znc.service
configure make-tarball.sh test znc-uninstalled.pc.in
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ ./bootstrap.sh
Running 'aclocal -I m4 -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
Running 'autoheader -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
Running 'autoconf -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
Running 'automake --add-missing -Wall'
configure.ac:563: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
m4/iconv.m4:234: AM_ICONV is expanded from...
configure.ac:563: the top level
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac:35: installing `./config.guess'
configure.ac:35: installing `./config.sub'
configure.ac:32: installing `./install-sh'
automake: no `Makefile.am' found for any configure output
(Yes, automake is supposed to fail, ignore that)
You may now run ./configure.
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for git... /usr/bin/git
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether compiler predefines _FORTIFY_SOURCE... no
checking for getopt_long in -lgnugetopt... no
checking for lstat... yes
checking for getopt_long... yes
checking for getphassphrase... no
checking for library containing dlopen... -ldl
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking whether getaddrinfo() supports AI_ADDRCONFIG... yes
checking for openssl... yes
checking whether openssl is usable... yes
checking whether zlib is usable... yes
./configure: line 5381: AC_LIB_PREPARE_PREFIX: command not found
./configure: line 5385: syntax error near unexpected token `iconv'
./configure: line 5385: ` AC_LIB_LINKFLAGS_BODY(iconv)'
vagrant@oa-jalcine:/tmp/znc-znc-1.4$
```
I tried looking for something related to `iconv`:
```
vagrant@oa-jalcine:/tmp/znc-znc-1.4$ apt-cache search iconv | grep dev
libcxxtools-dev - library of unrelated but useful C++ classes
libghc-iconv-dev - string-encoding conversion
libiconv-hook-dev - header files of libiconv-hook
libjconv-dev - charset conversion library - development
libticonv-dev - Texas Instruments calculators charsets library [development files]
lua-iconv-dev - iconv bindings for Lua - development files
libopenimageio-dev - Library for reading and writing images - development
libpantomime1.2-dev - GNUstep framework for mail handling (development files)
libunac1-dev - A C programmer's library that removes accents from a string
vagrant@oa-jalcine:/tmp/znc-znc-1.4$
```
But none looked relevant to fixing this issue. Any help would be appreciated.
<!-- github-sync-id:57097173 -->
If you use tarball, you don't need ./bootstrap.sh, because tarballs already have configure script.
But if you really want to regenerate configure, the right dependency is gettext, if I not mistake.
And anyway, in 1.5 libicu is used instead of iconv.
If you use tarball, you don't need `./bootstrap.sh`, because tarballs already have `configure` script.
But if you really want to regenerate `configure`, the right dependency is `gettext`, if I not mistake.
And anyway, in 1.5 libicu is used instead of iconv.
<!-- github-comment-id:73602612 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
On an attempt to get ZNC 1.4 working on Debian 7.6, I got the following:
I tried looking for something related to
iconv:But none looked relevant to fixing this issue. Any help would be appreciated.
If you use tarball, you don't need
./bootstrap.sh, because tarballs already haveconfigurescript.But if you really want to regenerate
configure, the right dependency isgettext, if I not mistake.And anyway, in 1.5 libicu is used instead of iconv.
Thanks @DarthGandalf. I'll try this out.
Works like a charm. Thanks again.