Project

General

Profile

"trap: ERR: bad trap" running autogen.sh

Added by Wido almost 3 years ago

Hello!
I am using Linux Mint 20.1 and started ./autogen.sh from lighttpd-1.4.59.tar.xz. I got this message:

./autogen.sh
*trap: ERR: bad trap*
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:63: installing './compile'
configure.ac:24: installing './missing'
src/Makefile.am: installing './depcomp'
Now type './configure ...' and 'make' to compile.

Then:

./configure -C
configure: creating cache config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for x86_64-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
./configure: line 5226: test: =: unary operator expected
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
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 how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking port.h usability... no
checking port.h presence... no
checking for port.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdlib.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/devpoll.h usability... no
checking sys/devpoll.h presence... no
checking for sys/devpoll.h... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct tm.tm_gmtoff... yes
checking for socklen_t... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing accept... none required
checking for library containing clock_gettime... none required
checking for library containing elftc_copyfile... no
checking for library containing dlopen... -ldl
checking for dlfcn.h... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: ----------------------------------------
checking for libev support... no
configure: ----------------------------------------
checking for MySQL support... no
configure: ----------------------------------------
checking for PgSQL support... no
configure: ----------------------------------------
checking for LibDBI support... no
configure: ----------------------------------------
checking for LibSASL support... no
configure: ----------------------------------------
checking for LDAP support... no
configure: ----------------------------------------
checking for PAM support... 
configure: ----------------------------------------
checking for extended attributes support... no
configure: ----------------------------------------
checking for valgrind... no
configure: ----------------------------------------
checking for libunwind... no
configure: ----------------------------------------
checking for kerberos5... no
checking custom include directory for kerberos5... no
checking custom lib directory for kerberos5... no
configure: ----------------------------------------
checking for OpenSSL... no
checking custom include directory for openssl... no
checking custom lib directory for openssl... no
configure: ----------------------------------------
checking for wolfSSL... no
configure: ----------------------------------------
checking for mbedTLS... no
configure: ----------------------------------------
checking for Nettle... no
configure: ----------------------------------------
checking for GnuTLS... no
configure: ----------------------------------------
checking for NSS... no
configure: ----------------------------------------
checking for perl regular expressions support... yes
checking for pcre-config... no
*configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre*

How to fix it? Thanks.


Replies (9)

RE: "trap: ERR: bad trap" running autogen.sh - Added by Wido almost 3 years ago

P.S.

sudo apt install pcre-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
*E: Unable to locate package pcre-devel*
apt-cache search pcre
erlang-base - Erlang/OTP virtual machine and base applications
libapache2-mod-php7.4 - server-side, HTML-embedded scripting language (Apache 2 module)
libpcre16-3 - Old Perl 5 Compatible Regular Expression Library - 16 bit runtime files
libpcre2-16-0 - New Perl Compatible Regular Expression Library - 16 bit runtime files
libpcre2-32-0 - New Perl Compatible Regular Expression Library - 32 bit runtime files
libpcre2-8-0 - New Perl Compatible Regular Expression Library- 8 bit runtime files
libpcre2-dev - New Perl Compatible Regular Expression Library - development files
libpcre2-posix2 - New Perl Compatible Regular Expression Library - posix-compatible runtime files
libpcre3-dbg - Old Perl 5 Compatible Regular Expression Library - debug symbols
*libpcre3-dev - Old Perl 5 Compatible Regular Expression Library - development files*
libpcre32-3 - Old Perl 5 Compatible Regular Expression Library - 32 bit runtime files
libpcrecpp0v5 - Old Perl 5 Compatible Regular Expression Library - C++ runtime files
libre2-5 - efficient, principled regular expression library
libre2-dev - efficient, principled regular expression library, development kit
php7.4-cgi - server-side, HTML-embedded scripting language (CGI binary)
php7.4-cli - command-line interpreter for the PHP scripting language
postfix-pcre - PCRE map support for Postfix
awffull - web server log analysis program
cl-abnf - Common Lisp ABNF parser generator
cl-ppcre - Portable Perl-compatible regular expressions for Common Lisp
cl-ppcre-unicode - Portable Perl-compatible regular expressions for Common Lisp (Unicode)
cl-unicode - portable Unicode library for Common Lisp
clisp-module-pcre - GNU CLISP module that adds libpcre support
elpa-pcre2el - Emacs mode to convert between PCRE, Emacs and rx regexp syntax
erlang-base-hipe - Erlang/OTP HiPE enabled virtual machine and base applications
exonerate - generic tool for pairwise sequence comparison
gambas3-gb-pcre - Gambas regexp component
libghc-pcre-light-dev - Haskell library for Perl 5-compatible regular expressions
libghc-pcre-light-doc - library documentation for pcre-light; documentation
libghc-pcre-light-prof - pcre-light library with profiling enabled; profiling libraries
libghc-regex-base-dev - GHC library providing an API for regular expressions
libghc-regex-base-doc - GHC library providing an API for regular expressions; documentation
libghc-regex-base-prof - GHC library providing an API for regular expressions; profiling libraries
libghc-regex-pcre-dev - Perl-compatible regular expressions
libghc-regex-pcre-doc - Perl-compatible regular expressions; documentation
libghc-regex-pcre-prof - Perl-compatible regular expressions; profiling libraries
libhyperscan5 - High-performance regular expression matching library
libpcre++-dev - C++ wrapper class for pcre (development)
libpcre++0v5 - C++ wrapper class for pcre (runtime)
libpcre-ocaml - OCaml bindings for PCRE (runtime)
libpcre-ocaml-dev - OCaml bindings for PCRE (Perl Compatible Regular Expression)
libphp7.4-embed - HTML-embedded scripting language (Embedded SAPI library)
librust-grep-pcre2-dev - Use PCRE2 with the 'grep' crate - Rust source code
librust-pcre2-dev - High level wrapper library for PCRE2 - Rust source code
librust-pcre2-sys-dev - Low level bindings to PCRE2 - Rust source code
lua-rex-pcre - Perl regular expressions library for the Lua language
lua-rex-pcre-dev - PCRE development files for the Lua language
lwatch - Simple log colorizer
mle - flexible terminal-based editor
pcre2-utils - New Perl Compatible Regular Expression Library - utilities
pcregrep - grep utility that uses perl 5 compatible regexes.
php7.4-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary)
php7.4-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary)
pike8.0-pcre - PCRE module for Pike
prelude-lml - Security Information and Events Management System [ Log Agent ]
prelude-lml-rules - Security Information and Events Management System [ LML Rules ]
regexxer - visual search and replace tool using Perl Regex
ruby-re2 - Ruby bindings to re2
sigil - multi-platform ebook editor
sigil-data - multi-platform ebook editor - data files
sqlite3-pcre - Perl-compatible regular expression support for SQLite
libpcre3 - Perl 5 Compatible Regular Expression Library - runtime files
sudo apt install libpcre3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 *libpcre3-dev : Depends: libpcre3 (= 2:8.39-12build1) but 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 is to be installed*
E: Unable to correct problems, you have held broken packages.

RE: "trap: ERR: bad trap" running autogen.sh - Added by stbuehler almost 3 years ago

The last line from configure says it all (the not supported ERR trap is not the problem).

You could btw simply try to install the packages that the debian packages uses to build: sudo apt build-dep lighttpd

RE: "trap: ERR: bad trap" running autogen.sh - Added by stbuehler almost 3 years ago

Wido wrote in RE: "trap: ERR: bad trap" running autogen.sh:

[...]
*libpcre3-dev : Depends: libpcre3 (= 2:8.39-12build1) but 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 is to be installed*

It seems you installed packages from deb.sury.org, and it screwed the apt resolver. If you can't handle such problems I recommend you stick to a single source of packages, at least for those packages that everything else depends on.

RE: "trap: ERR: bad trap" running autogen.sh - Added by Wido almost 3 years ago

Is there any problem?

/usr/bin/sudo make install
Making install in src
make  install-am
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   mod_flv_streaming.la mod_evasive.la mod_webdav.la mod_vhostdb.la mod_cgi.la mod_scgi.la mod_staticfile.la mod_dirlisting.la mod_indexfile.la mod_setenv.la mod_alias.la mod_userdir.la mod_rrdtool.la mod_usertrack.la mod_proxy.la mod_sockproxy.la mod_ssi.la mod_secdownload.la mod_expire.la mod_evhost.la mod_simple_vhost.la mod_ajp13.la mod_fastcgi.la mod_extforward.la mod_access.la mod_deflate.la mod_auth.la mod_authn_file.la mod_rewrite.la mod_redirect.la mod_status.la mod_accesslog.la mod_uploadprogress.la mod_wstunnel.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/mod_flv_streaming.so /usr/local/lib/mod_flv_streaming.so
libtool: install: /usr/bin/install -c .libs/mod_flv_streaming.lai /usr/local/lib/mod_flv_streaming.la
libtool: install: /usr/bin/install -c .libs/mod_evasive.so /usr/local/lib/mod_evasive.so
libtool: install: /usr/bin/install -c .libs/mod_evasive.lai /usr/local/lib/mod_evasive.la
libtool: install: /usr/bin/install -c .libs/mod_webdav.so /usr/local/lib/mod_webdav.so
libtool: install: /usr/bin/install -c .libs/mod_webdav.lai /usr/local/lib/mod_webdav.la
libtool: install: /usr/bin/install -c .libs/mod_vhostdb.so /usr/local/lib/mod_vhostdb.so
libtool: install: /usr/bin/install -c .libs/mod_vhostdb.lai /usr/local/lib/mod_vhostdb.la
libtool: install: /usr/bin/install -c .libs/mod_cgi.so /usr/local/lib/mod_cgi.so
libtool: install: /usr/bin/install -c .libs/mod_cgi.lai /usr/local/lib/mod_cgi.la
libtool: install: /usr/bin/install -c .libs/mod_scgi.so /usr/local/lib/mod_scgi.so
libtool: install: /usr/bin/install -c .libs/mod_scgi.lai /usr/local/lib/mod_scgi.la
libtool: install: /usr/bin/install -c .libs/mod_staticfile.so /usr/local/lib/mod_staticfile.so
libtool: install: /usr/bin/install -c .libs/mod_staticfile.lai /usr/local/lib/mod_staticfile.la
libtool: install: /usr/bin/install -c .libs/mod_dirlisting.so /usr/local/lib/mod_dirlisting.so
libtool: install: /usr/bin/install -c .libs/mod_dirlisting.lai /usr/local/lib/mod_dirlisting.la
libtool: install: /usr/bin/install -c .libs/mod_indexfile.so /usr/local/lib/mod_indexfile.so
libtool: install: /usr/bin/install -c .libs/mod_indexfile.lai /usr/local/lib/mod_indexfile.la
libtool: install: /usr/bin/install -c .libs/mod_setenv.so /usr/local/lib/mod_setenv.so
libtool: install: /usr/bin/install -c .libs/mod_setenv.lai /usr/local/lib/mod_setenv.la
libtool: install: /usr/bin/install -c .libs/mod_alias.so /usr/local/lib/mod_alias.so
libtool: install: /usr/bin/install -c .libs/mod_alias.lai /usr/local/lib/mod_alias.la
libtool: install: /usr/bin/install -c .libs/mod_userdir.so /usr/local/lib/mod_userdir.so
libtool: install: /usr/bin/install -c .libs/mod_userdir.lai /usr/local/lib/mod_userdir.la
libtool: install: /usr/bin/install -c .libs/mod_rrdtool.so /usr/local/lib/mod_rrdtool.so
libtool: install: /usr/bin/install -c .libs/mod_rrdtool.lai /usr/local/lib/mod_rrdtool.la
libtool: install: /usr/bin/install -c .libs/mod_usertrack.so /usr/local/lib/mod_usertrack.so
libtool: install: /usr/bin/install -c .libs/mod_usertrack.lai /usr/local/lib/mod_usertrack.la
libtool: install: /usr/bin/install -c .libs/mod_proxy.so /usr/local/lib/mod_proxy.so
libtool: install: /usr/bin/install -c .libs/mod_proxy.lai /usr/local/lib/mod_proxy.la
libtool: install: /usr/bin/install -c .libs/mod_sockproxy.so /usr/local/lib/mod_sockproxy.so
libtool: install: /usr/bin/install -c .libs/mod_sockproxy.lai /usr/local/lib/mod_sockproxy.la
libtool: install: /usr/bin/install -c .libs/mod_ssi.so /usr/local/lib/mod_ssi.so
libtool: install: /usr/bin/install -c .libs/mod_ssi.lai /usr/local/lib/mod_ssi.la
libtool: install: /usr/bin/install -c .libs/mod_secdownload.so /usr/local/lib/mod_secdownload.so
libtool: install: /usr/bin/install -c .libs/mod_secdownload.lai /usr/local/lib/mod_secdownload.la
libtool: install: /usr/bin/install -c .libs/mod_expire.so /usr/local/lib/mod_expire.so
libtool: install: /usr/bin/install -c .libs/mod_expire.lai /usr/local/lib/mod_expire.la
libtool: install: /usr/bin/install -c .libs/mod_evhost.so /usr/local/lib/mod_evhost.so
libtool: install: /usr/bin/install -c .libs/mod_evhost.lai /usr/local/lib/mod_evhost.la
libtool: install: /usr/bin/install -c .libs/mod_simple_vhost.so /usr/local/lib/mod_simple_vhost.so
libtool: install: /usr/bin/install -c .libs/mod_simple_vhost.lai /usr/local/lib/mod_simple_vhost.la
libtool: install: /usr/bin/install -c .libs/mod_ajp13.so /usr/local/lib/mod_ajp13.so
libtool: install: /usr/bin/install -c .libs/mod_ajp13.lai /usr/local/lib/mod_ajp13.la
libtool: install: /usr/bin/install -c .libs/mod_fastcgi.so /usr/local/lib/mod_fastcgi.so
libtool: install: /usr/bin/install -c .libs/mod_fastcgi.lai /usr/local/lib/mod_fastcgi.la
libtool: install: /usr/bin/install -c .libs/mod_extforward.so /usr/local/lib/mod_extforward.so
libtool: install: /usr/bin/install -c .libs/mod_extforward.lai /usr/local/lib/mod_extforward.la
libtool: install: /usr/bin/install -c .libs/mod_access.so /usr/local/lib/mod_access.so
libtool: install: /usr/bin/install -c .libs/mod_access.lai /usr/local/lib/mod_access.la
libtool: install: /usr/bin/install -c .libs/mod_deflate.so /usr/local/lib/mod_deflate.so
libtool: install: /usr/bin/install -c .libs/mod_deflate.lai /usr/local/lib/mod_deflate.la
libtool: install: /usr/bin/install -c .libs/mod_auth.so /usr/local/lib/mod_auth.so
libtool: install: /usr/bin/install -c .libs/mod_auth.lai /usr/local/lib/mod_auth.la
libtool: install: /usr/bin/install -c .libs/mod_authn_file.so /usr/local/lib/mod_authn_file.so
libtool: install: /usr/bin/install -c .libs/mod_authn_file.lai /usr/local/lib/mod_authn_file.la
libtool: install: /usr/bin/install -c .libs/mod_rewrite.so /usr/local/lib/mod_rewrite.so
libtool: install: /usr/bin/install -c .libs/mod_rewrite.lai /usr/local/lib/mod_rewrite.la
libtool: install: /usr/bin/install -c .libs/mod_redirect.so /usr/local/lib/mod_redirect.so
libtool: install: /usr/bin/install -c .libs/mod_redirect.lai /usr/local/lib/mod_redirect.la
libtool: install: /usr/bin/install -c .libs/mod_status.so /usr/local/lib/mod_status.so
libtool: install: /usr/bin/install -c .libs/mod_status.lai /usr/local/lib/mod_status.la
libtool: install: /usr/bin/install -c .libs/mod_accesslog.so /usr/local/lib/mod_accesslog.so
libtool: install: /usr/bin/install -c .libs/mod_accesslog.lai /usr/local/lib/mod_accesslog.la
libtool: install: /usr/bin/install -c .libs/mod_uploadprogress.so /usr/local/lib/mod_uploadprogress.so
libtool: install: /usr/bin/install -c .libs/mod_uploadprogress.lai /usr/local/lib/mod_uploadprogress.la
libtool: install: /usr/bin/install -c .libs/mod_wstunnel.so /usr/local/lib/mod_wstunnel.so
libtool: install: /usr/bin/install -c .libs/mod_wstunnel.lai /usr/local/lib/mod_wstunnel.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/sbin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c lighttpd lighttpd-angel '/usr/local/sbin'
libtool: install: /usr/bin/install -c lighttpd /usr/local/sbin/lighttpd
libtool: install: /usr/bin/install -c lighttpd-angel /usr/local/sbin/lighttpd-angel
make[3]: Nothing to be done for 'install-data-am'.
Making install in doc
Making install in config
Making install in conf.d
Making install in vhosts.d
Making install in scripts
Making install in systemd
Making install in outdated
 /bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 lighttpd.8 lighttpd-angel.8 '/usr/local/share/man/man8'
Making install in tests
Making install in docroot
Making install in www
Making install in indexfile
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.

RE: "trap: ERR: bad trap" running autogen.sh - Added by Wido almost 3 years ago

Now, I can get version:

lighttpd --version
lighttpd: invalid option -- '-'
lighttpd/1.4.59 - a light and fast webserver
usage:
-f <name> filename of the config-file
-m <name> module directory (default: /usr/local/lib)
-i <secs> graceful shutdown after <secs> of inactivity
-1 process single (one) request on stdin socket, then exit
-p print the parsed config-file in internal form, and exit
-t test config-file syntax, then exit
-tt test config-file syntax, load and init modules, then exit
-D don't go to background (default: go to background)
-v show version
-V show compile-time features
-h show this help

RE: "trap: ERR: bad trap" running autogen.sh - Added by Wido almost 3 years ago

But service is not recognized:

systemctl status lighttpd
Unit lighttpd.service could not be found.

RE: "trap: ERR: bad trap" running autogen.sh - Added by Wido almost 3 years ago

Hi!
Could you explain this behavior?

RE: "trap: ERR: bad trap" running autogen.sh - Added by gstrauss almost 3 years ago

Could you explain this behavior?

In general, your assumptions are poor and you fail to verify your assumptions. You also fail to read error messages literally.

*configure: error: pcre-config not found, install the pcre-devel package or build with --without-pcre*
means exactly what it says.

*E: Unable to locate package pcre-devel*
means exactly what it says.

Unit lighttpd.service could not be found.
means exactly what it says.

Read the doc:
https://git.lighttpd.net/lighttpd/lighttpd1.4/src/branch/master/doc/initscripts.txt

    (1-9/9)