kamikazeepl - 2021-08-20

How to compile Transmission on Debian?

I get errors with libevent

I compile libevent.

 wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
--2021-08-19 20:44:33--  https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/1856976/1524bb00-bedd-11ea-8c51-a1125df41e13?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210819%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210819T194311Z&X-Amz-Expires=300&X-Amz-Signature=ea02931a3230164493b04325003ebf078a1150c0f4e22eae296f61303f4e8c7f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1856976&response-content-disposition=attachment%3B%20filename%3Dlibevent-2.1.12-stable.tar.gz&response-content-type=application%2Foctet-stream [following]
--2021-08-19 20:44:33--  https://github-releases.githubusercontent.com/1856976/1524bb00-bedd-11ea-8c51-a1125df41e13?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210819%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210819T194311Z&X-Amz-Expires=300&X-Amz-Signature=ea02931a3230164493b04325003ebf078a1150c0f4e22eae296f61303f4e8c7f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1856976&response-content-disposition=attachment%3B%20filename%3Dlibevent-2.1.12-stable.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.111.154, 185.199.110.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1100847 (1.0M) [application/octet-stream]
Saving to: libevent-2.1.12-stable.tar.gz

libevent-2.1.12-stable.tar.gz                   100%[====================================================================================================>]   1.05M  --.-KB/s    in 0.1s

2021-08-19 20:44:34 (7.08 MB/s) - libevent-2.1.12-stable.tar.gz saved [1100847/1100847]

root@DietPi:/mnt/500gb/trans# tar xvf libevent-2.1.12-stable.tar.gz
libevent-2.1.12-stable/
libevent-2.1.12-stable/util-internal.h
libevent-2.1.12-stable/evmap.c
libevent-2.1.12-stable/epolltable-internal.h
libevent-2.1.12-stable/mm-internal.h
libevent-2.1.12-stable/libevent.pc.in
libevent-2.1.12-stable/http.c
libevent-2.1.12-stable/event-config.h.cmake
libevent-2.1.12-stable/include/
libevent-2.1.12-stable/include/event.h
libevent-2.1.12-stable/include/evrpc.h
libevent-2.1.12-stable/include/event2/
libevent-2.1.12-stable/include/event2/tag_compat.h
libevent-2.1.12-stable/include/event2/event.h
libevent-2.1.12-stable/include/event2/rpc_struct.h
libevent-2.1.12-stable/include/event2/dns.h
libevent-2.1.12-stable/include/event2/rpc_compat.h
libevent-2.1.12-stable/include/event2/http_compat.h
libevent-2.1.12-stable/include/event2/util.h
libevent-2.1.12-stable/include/event2/event_struct.h
libevent-2.1.12-stable/include/event2/rpc.h
libevent-2.1.12-stable/include/event2/http_struct.h
libevent-2.1.12-stable/include/event2/http.h
libevent-2.1.12-stable/include/event2/tag.h
libevent-2.1.12-stable/include/event2/buffer_compat.h
libevent-2.1.12-stable/include/event2/dns_compat.h
libevent-2.1.12-stable/include/event2/bufferevent_ssl.h
libevent-2.1.12-stable/include/event2/listener.h
libevent-2.1.12-stable/include/event2/keyvalq_struct.h
libevent-2.1.12-stable/include/event2/thread.h
libevent-2.1.12-stable/include/event2/bufferevent_struct.h
libevent-2.1.12-stable/include/event2/bufferevent_compat.h
libevent-2.1.12-stable/include/event2/dns_struct.h
libevent-2.1.12-stable/include/event2/bufferevent.h
libevent-2.1.12-stable/include/event2/buffer.h
libevent-2.1.12-stable/include/event2/visibility.h
libevent-2.1.12-stable/include/event2/event_compat.h
libevent-2.1.12-stable/include/evdns.h
libevent-2.1.12-stable/include/include.am
libevent-2.1.12-stable/include/evhttp.h
libevent-2.1.12-stable/include/evutil.h
libevent-2.1.12-stable/libevent_openssl.pc.in
libevent-2.1.12-stable/m4/
libevent-2.1.12-stable/m4/acx_pthread.m4
libevent-2.1.12-stable/m4/libevent_openssl.m4
libevent-2.1.12-stable/m4/ntp_pkg_config.m4
libevent-2.1.12-stable/m4/ax_prog_doxygen.m4
libevent-2.1.12-stable/m4/libtool.m4
libevent-2.1.12-stable/m4/ltversion.m4
libevent-2.1.12-stable/m4/ltoptions.m4
libevent-2.1.12-stable/m4/ac_backport_259_ssizet.m4
libevent-2.1.12-stable/m4/lt~obsolete.m4
libevent-2.1.12-stable/m4/ax_check_funcs_ex.m4
libevent-2.1.12-stable/m4/ltsugar.m4
libevent-2.1.12-stable/http-internal.h
libevent-2.1.12-stable/kqueue-internal.h
libevent-2.1.12-stable/evutil_rand.c
libevent-2.1.12-stable/iocp-internal.h
libevent-2.1.12-stable/minheap-internal.h
libevent-2.1.12-stable/evutil_time.c
libevent-2.1.12-stable/bufferevent_ratelim.c
libevent-2.1.12-stable/devpoll.c
libevent-2.1.12-stable/evconfig-private.h.in
libevent-2.1.12-stable/whatsnew-2.1.txt
libevent-2.1.12-stable/LICENSE
libevent-2.1.12-stable/evbuffer-internal.h
libevent-2.1.12-stable/autogen.sh
libevent-2.1.12-stable/ratelim-internal.h
libevent-2.1.12-stable/evthread_win32.c
libevent-2.1.12-stable/test/
libevent-2.1.12-stable/test/regress.c
libevent-2.1.12-stable/test/bench_http.c
libevent-2.1.12-stable/test/regress_et.c
libevent-2.1.12-stable/test/test-ratelim.c
libevent-2.1.12-stable/test/regress_iocp.c
libevent-2.1.12-stable/test/regress_buffer.c
libevent-2.1.12-stable/test/tinytest.h
libevent-2.1.12-stable/test/regress_zlib.c
libevent-2.1.12-stable/test/test-time.c
libevent-2.1.12-stable/test/regress_rpc.c
libevent-2.1.12-stable/test/bench.c
libevent-2.1.12-stable/test/regress_dns.c
libevent-2.1.12-stable/test/regress_thread.c
libevent-2.1.12-stable/test/regress.h
libevent-2.1.12-stable/test/regress_testutils.c
libevent-2.1.12-stable/test/test-dumpevents.c
libevent-2.1.12-stable/test/test-eof.c
libevent-2.1.12-stable/test/regress_listener.c
libevent-2.1.12-stable/test/bench_cascade.c
libevent-2.1.12-stable/test/regress.rpc
libevent-2.1.12-stable/test/test-closed.c
libevent-2.1.12-stable/test/regress_finalize.c
libevent-2.1.12-stable/test/check-dumpevents.py
libevent-2.1.12-stable/test/regress_util.c
libevent-2.1.12-stable/test/regress_ssl.c
libevent-2.1.12-stable/test/rpcgen_wrapper.sh
libevent-2.1.12-stable/test/include.am
libevent-2.1.12-stable/test/regress_minheap.c
libevent-2.1.12-stable/test/regress.gen.h
libevent-2.1.12-stable/test/Makefile.nmake
libevent-2.1.12-stable/test/tinytest_macros.h
libevent-2.1.12-stable/test/regress_testutils.h
libevent-2.1.12-stable/test/print-winsock-errors.c
libevent-2.1.12-stable/test/bench_httpclient.c
libevent-2.1.12-stable/test/regress_http.c
libevent-2.1.12-stable/test/tinytest_local.h
libevent-2.1.12-stable/test/test-init.c
libevent-2.1.12-stable/test/regress_bufferevent.c
libevent-2.1.12-stable/test/regress_main.c
libevent-2.1.12-stable/test/regress.gen.c
libevent-2.1.12-stable/test/test-fdleak.c
libevent-2.1.12-stable/test/tinytest.c
libevent-2.1.12-stable/test/test-changelist.c
libevent-2.1.12-stable/test/test.sh
libevent-2.1.12-stable/test/regress_thread.h
libevent-2.1.12-stable/test/test-weof.c
libevent-2.1.12-stable/event_tagging.c
libevent-2.1.12-stable/configure
libevent-2.1.12-stable/log-internal.h
libevent-2.1.12-stable/doxygen.am
libevent-2.1.12-stable/WIN32-Code/
libevent-2.1.12-stable/WIN32-Code/nmake/
libevent-2.1.12-stable/WIN32-Code/nmake/evconfig-private.h
libevent-2.1.12-stable/WIN32-Code/nmake/event2/
libevent-2.1.12-stable/WIN32-Code/nmake/event2/event-config.h
libevent-2.1.12-stable/WIN32-Code/getopt.c
libevent-2.1.12-stable/WIN32-Code/getopt_long.c
libevent-2.1.12-stable/WIN32-Code/getopt.h
libevent-2.1.12-stable/WIN32-Code/tree.h
libevent-2.1.12-stable/ht-internal.h
libevent-2.1.12-stable/configure.ac
libevent-2.1.12-stable/buffer_iocp.c
libevent-2.1.12-stable/bufferevent_async.c
libevent-2.1.12-stable/config.h.in
libevent-2.1.12-stable/libevent_core.pc.in
libevent-2.1.12-stable/Makefile.am
libevent-2.1.12-stable/time-internal.h
libevent-2.1.12-stable/evthread_pthread.c
libevent-2.1.12-stable/epoll_sub.c
libevent-2.1.12-stable/ChangeLog-1.4
libevent-2.1.12-stable/log.c
libevent-2.1.12-stable/poll.c
libevent-2.1.12-stable/make-event-config.sed
libevent-2.1.12-stable/evmap-internal.h
libevent-2.1.12-stable/aclocal.m4
libevent-2.1.12-stable/changelist-internal.h
libevent-2.1.12-stable/listener.c
libevent-2.1.12-stable/CMakeLists.txt
libevent-2.1.12-stable/bufferevent_filter.c
libevent-2.1.12-stable/ipv6-internal.h
libevent-2.1.12-stable/evsignal-internal.h
libevent-2.1.12-stable/buffer.c
libevent-2.1.12-stable/bufferevent_pair.c
libevent-2.1.12-stable/select.c
libevent-2.1.12-stable/bufferevent-internal.h
libevent-2.1.12-stable/evrpc-internal.h
libevent-2.1.12-stable/whatsnew-2.0.txt
libevent-2.1.12-stable/evutil.c
libevent-2.1.12-stable/ChangeLog-2.0
libevent-2.1.12-stable/build-aux/
libevent-2.1.12-stable/build-aux/depcomp
libevent-2.1.12-stable/build-aux/config.sub
libevent-2.1.12-stable/build-aux/missing
libevent-2.1.12-stable/build-aux/ltmain.sh
libevent-2.1.12-stable/build-aux/install-sh
libevent-2.1.12-stable/build-aux/compile
libevent-2.1.12-stable/build-aux/test-driver
libevent-2.1.12-stable/build-aux/config.guess
libevent-2.1.12-stable/signal.c
libevent-2.1.12-stable/sample/
libevent-2.1.12-stable/sample/signal-test.c
libevent-2.1.12-stable/sample/hostcheck.h
libevent-2.1.12-stable/sample/le-proxy.c
libevent-2.1.12-stable/sample/openssl_hostname_validation.c
libevent-2.1.12-stable/sample/http-server.c
libevent-2.1.12-stable/sample/time-test.c
libevent-2.1.12-stable/sample/event-read-fifo.c
libevent-2.1.12-stable/sample/http-connect.c
libevent-2.1.12-stable/sample/https-client.c
libevent-2.1.12-stable/sample/hello-world.c
libevent-2.1.12-stable/sample/include.am
libevent-2.1.12-stable/sample/dns-example.c
libevent-2.1.12-stable/sample/openssl_hostname_validation.h
libevent-2.1.12-stable/sample/hostcheck.c
libevent-2.1.12-stable/bufferevent.c
libevent-2.1.12-stable/bufferevent_sock.c
libevent-2.1.12-stable/Makefile.nmake
libevent-2.1.12-stable/event_rpcgen.py
libevent-2.1.12-stable/evconfig-private.h.cmake
libevent-2.1.12-stable/libevent_extra.pc.in
libevent-2.1.12-stable/ChangeLog
libevent-2.1.12-stable/evthread.c
libevent-2.1.12-stable/win32select.c
libevent-2.1.12-stable/arc4random.c
libevent-2.1.12-stable/evthread-internal.h
libevent-2.1.12-stable/bufferevent_openssl.c
libevent-2.1.12-stable/kqueue.c
libevent-2.1.12-stable/event_iocp.c
libevent-2.1.12-stable/Doxyfile
libevent-2.1.12-stable/defer-internal.h
libevent-2.1.12-stable/epoll.c
libevent-2.1.12-stable/strlcpy-internal.h
libevent-2.1.12-stable/event.c
libevent-2.1.12-stable/Makefile.in
libevent-2.1.12-stable/evport.c
libevent-2.1.12-stable/strlcpy.c
libevent-2.1.12-stable/cmake/
libevent-2.1.12-stable/cmake/AddEventLibrary.cmake
libevent-2.1.12-stable/cmake/CheckFileOffsetBits.cmake
libevent-2.1.12-stable/cmake/CheckPrototypeDefinition.c.in
libevent-2.1.12-stable/cmake/CheckConstExists.cmake
libevent-2.1.12-stable/cmake/CheckFunctionKeywords.cmake
libevent-2.1.12-stable/cmake/AddCompilerFlags.cmake
libevent-2.1.12-stable/cmake/Copyright.txt
libevent-2.1.12-stable/cmake/Uninstall.cmake.in
libevent-2.1.12-stable/cmake/Macros.cmake
libevent-2.1.12-stable/cmake/LibeventConfig.cmake.in
libevent-2.1.12-stable/cmake/COPYING-CMAKE-SCRIPTS
libevent-2.1.12-stable/cmake/CheckPrototypeDefinition.cmake
libevent-2.1.12-stable/cmake/CodeCoverage.cmake
libevent-2.1.12-stable/cmake/VersionViaGit.cmake
libevent-2.1.12-stable/cmake/CheckFileOffsetBits.c
libevent-2.1.12-stable/cmake/LibeventConfigVersion.cmake.in
libevent-2.1.12-stable/cmake/UseDoxygen.cmake
libevent-2.1.12-stable/cmake/CheckWorkingKqueue.cmake
libevent-2.1.12-stable/evdns.c
libevent-2.1.12-stable/evrpc.c
libevent-2.1.12-stable/event-internal.h
libevent-2.1.12-stable/README.md
libevent-2.1.12-stable/openssl-compat.h
libevent-2.1.12-stable/compat/
libevent-2.1.12-stable/compat/sys/
libevent-2.1.12-stable/compat/sys/queue.h
libevent-2.1.12-stable/libevent_pthreads.pc.in
root@DietPi:/mnt/500gb/trans# cd libevent-2.
libevent-2.0.18-stable/ libevent-2.1.12-stable/
root@DietPi:/mnt/500gb/trans# cd libevent-2.1.12-stable/
root@DietPi:/mnt/500gb/trans/libevent-2.1.12-stable# CFLAGS="-Os -march=native" ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether gcc needs -traditional... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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 the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf 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 ar... ar
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... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : 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) 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 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... yes
checking for library containing inet_ntoa... none required
checking for library containing socket... none required
checking for library containing inet_aton... none required
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for library containing sendfile... none required
checking for WIN32... no
checking for MIDIPIX... no
checking for CYGWIN... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing inflateEnd... -lz
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for pkg-config... /usr/bin/pkg-config
checking if pkg-config is at least version 0.15.0... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking mach/mach_time.h usability... no
checking mach/mach_time.h presence... no
checking for mach/mach_time.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... 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/eventfd.h usability... yes
checking sys/eventfd.h presence... yes
checking for sys/eventfd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.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/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking afunix.h usability... no
checking afunix.h presence... no
checking for afunix.h... no
checking for TAILQ_FOREACH in sys/queue.h... yes
checking for timeradd in sys/time.h... yes
checking for timercmp in sys/time.h... yes
checking for timerclear in sys/time.h... yes
checking for timerisset in sys/time.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for accept4... yes
checking for arc4random... no
checking for arc4random_buf... no
checking for arc4random_addrandom... no
checking for eventfd... yes
checking for epoll_create1... yes
checking for fcntl... yes
checking for getegid... yes
checking for geteuid... yes
checking for getifaddrs... yes
checking for gettimeofday... yes
checking for issetugid... no
checking for mach_absolute_time... no
checking for mmap... yes
checking for nanosleep... yes
checking for pipe... yes
checking for pipe2... yes
checking for putenv... yes
checking for sendfile... yes
checking for setenv... yes
checking for setrlimit... yes
checking for sigaction... yes
checking for signal... yes
checking for splice... yes
checking for strlcpy... no
checking for strsep... yes
checking for strtok_r... yes
checking for strtoll... yes
checking for sysctl... yes
checking for timerfd_create... yes
checking for umask... yes
checking for unsetenv... yes
checking for usleep... yes
checking for vasprintf... yes
checking for getrandom... yes
checking for getnameinfo... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for getaddrinfo... yes
checking for F_SETFD in fcntl.h... yes
checking for select... yes
checking for poll... yes
checking for epoll_ctl... yes
checking for port_create... no
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for fd_mask... yes
checking size of long long... 8
checking size of long... 4
checking size of int... 4
checking size of short... 2
checking size of size_t... 4
checking size of void *... 4
checking size of off_t... 8
checking size of time_t... 4
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_un... yes
checking for sa_family_t... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking for struct in6_addr.s6_addr32... yes
checking for struct in6_addr.s6_addr16... yes
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct linger... yes
checking for socklen_t... yes
checking whether our compiler supports __func__... yes
checking whether our compiler supports __FUNCTION__... yes
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 size of pthread_t... 4
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libevent.pc
config.status: creating libevent_openssl.pc
config.status: creating libevent_pthreads.pc
config.status: creating libevent_core.pc
config.status: creating libevent_extra.pc
config.status: creating Makefile
config.status: creating config.h
config.status: creating evconfig-private.h
config.status: executing depfiles commands
config.status: executing libtool commands
  GEN      test/rpcgen-attempted
  GEN      include/event2/event-config.h
make  all-am
make[1]: Entering directory '/mnt/500gb/trans/libevent-2.1.12-stable'
  CC       sample/dns-example.o
  CC       buffer.lo
  CC       bufferevent.lo
  CC       bufferevent_filter.lo
  CC       bufferevent_pair.lo
  CC       bufferevent_ratelim.lo
  CC       bufferevent_sock.lo
  CC       event.lo
  CC       evmap.lo
  CC       evthread.lo
  CC       evutil.lo
  CC       evutil_rand.lo
  CC       evutil_time.lo
  CC       listener.lo
  CC       log.lo
  CC       strlcpy.lo
  CC       select.lo
  CC       poll.lo
  CC       epoll.lo
  CC       signal.lo
  CC       evdns.lo
  CC       event_tagging.lo
  CC       evrpc.lo
  CC       http.lo
  CCLD     libevent.la
  CCLD     sample/dns-example
  CC       sample/event-read-fifo.o
  CCLD     sample/event-read-fifo
  CC       sample/hello-world.o
  CCLD     sample/hello-world
  CC       sample/http-server.o
  CCLD     sample/http-server
  CC       sample/http-connect.o
  CCLD     sample/http-connect
  CC       sample/signal-test.o
  CCLD     sample/signal-test
  CC       sample/time-test.o
  CCLD     sample/time-test
  CC       sample/le_proxy-le-proxy.o
  CC       libevent_openssl_la-bufferevent_openssl.lo
  CCLD     libevent_openssl.la
  CCLD     sample/le-proxy
  CC       sample/https_client-https-client.o
  CC       sample/https_client-hostcheck.o
  CC       sample/https_client-openssl_hostname_validation.o
  CCLD     sample/https-client
  CC       test/bench.o
  CCLD     test/bench
  CC       test/bench_cascade.o
  CCLD     test/bench_cascade
  CC       test/bench_http.o
  CCLD     test/bench_http
  CC       test/bench_httpclient.o
  CCLD     libevent_core.la
  CCLD     test/bench_httpclient
  CC       test/test-changelist.o
  CCLD     test/test-changelist
  CC       test/test-dumpevents.o
  CCLD     test/test-dumpevents
  CC       test/test-eof.o
  CCLD     test/test-eof
  CC       test/test-closed.o
  CCLD     test/test-closed
  CC       test/test-fdleak.o
  CCLD     test/test-fdleak
  CC       test/test-init.o
  CCLD     test/test-init
  CC       test/test-ratelim.o
  CCLD     test/test-ratelim
  CC       test/test-time.o
  CCLD     test/test-time
  CC       test/test-weof.o
  CCLD     test/test-weof
  CC       test/regress-regress.o
  CC       test/regress-regress.gen.o
  CC       test/regress-regress_buffer.o
In file included from test/regress.h:35,
                 from test/regress_buffer.c:64:
test/regress_buffer.c: In function test_evbuffer_pullup_with_empty:
test/tinytest_macros.h:116:15: warning: cast from function call of type unsigned char * to non-matching type long int [-Wbad-function-cast]
  type val1_ = (type)(a);      \
               ^
test/tinytest_macros.h:144:2: note: in expansion of macro tt_assert_test_fmt_type
  tt_assert_test_fmt_type(a,b,str_test,type,test,type,fmt, \
  ^~~~~~~~~~~~~~~~~~~~~~~
test/tinytest_macros.h:158:2: note: in expansion of macro tt_assert_test_type
  tt_assert_test_type(a,b,#a" "#op" "#b,long,(val1_ op val2_), \
  ^~~~~~~~~~~~~~~~~~~
test/regress_buffer.c:444:2: note: in expansion of macro tt_int_op
  tt_int_op(evbuffer_pullup(buf, -1), ==, NULL);
  ^~~~~~~~~
  CC       test/regress-regress_bufferevent.o
  CC       test/regress-regress_dns.o
  CC       test/regress-regress_et.o
  CC       test/regress-regress_finalize.o
  CC       test/regress-regress_http.o
  CC       test/regress-regress_listener.o
  CC       test/regress-regress_main.o
  CC       test/regress-regress_minheap.o
  CC       test/regress-regress_rpc.o
  CC       test/regress-regress_testutils.o
  CC       test/regress-regress_util.o
  CC       test/regress-tinytest.o
  CC       test/regress-regress_thread.o
  CC       test/regress-regress_zlib.o
  CC       test/regress-regress_ssl.o
  CCLD     libevent_extra.la
  CC       evthread_pthread.lo
  CCLD     libevent_pthreads.la
  CCLD     test/regress
make[1]: Leaving directory '/mnt/500gb/trans/libevent-2.1.12-stable'
root@DietPi:/mnt/500gb/trans/libevent-2.1.12-stable# checkinstall

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs?  [y]:

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
>> libevent
>>

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values:

0 -  Maintainer: [ root@DietPi ]
1 -  Summary: [ libevent ]
2 -  Name:    [ libevent-2.1.12 ]
3 -  Version: [ stable ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ armhf ]
8 -  Source location: [ libevent-2.1.12-stable ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ libevent-2.1.12 ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue:

Installing with make install...

========================= Installation results ===========================
make  install-am
make[1]: Entering directory '/mnt/500gb/trans/libevent-2.1.12-stable'
make[2]: Entering directory '/mnt/500gb/trans/libevent-2.1.12-stable'
 /usr/bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c event_rpcgen.py '/usr/local/bin'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libevent.la libevent_core.la libevent_extra.la libevent_pthreads.la libevent_openssl.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libevent-2.1.so.7.0.1 /usr/local/lib/libevent-2.1.so.7.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libevent-2.1.so.7.0.1 libevent-2.1.so.7 || { rm -f libevent-2.1.so.7 && ln -s libevent-2.1.so.7.0.1 libevent-2.1.so.7; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libevent-2.1.so.7.0.1 libevent.so || { rm -f libevent.so && ln -s libevent-2.1.so.7.0.1 libevent.so; }; })
libtool: install: /usr/bin/install -c .libs/libevent.lai /usr/local/lib/libevent.la
libtool: install: /usr/bin/install -c .libs/libevent_core-2.1.so.7.0.1 /usr/local/lib/libevent_core-2.1.so.7.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_core-2.1.so.7.0.1 libevent_core-2.1.so.7 || { rm -f libevent_core-2.1.so.7 && ln -s libevent_core-2.1.so.7.0.1 libevent_core-2.1.so.7; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_core-2.1.so.7.0.1 libevent_core.so || { rm -f libevent_core.so && ln -s libevent_core-2.1.so.7.0.1 libevent_core.so; }; })
libtool: install: /usr/bin/install -c .libs/libevent_core.lai /usr/local/lib/libevent_core.la
libtool: install: /usr/bin/install -c .libs/libevent_extra-2.1.so.7.0.1 /usr/local/lib/libevent_extra-2.1.so.7.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_extra-2.1.so.7.0.1 libevent_extra-2.1.so.7 || { rm -f libevent_extra-2.1.so.7 && ln -s libevent_extra-2.1.so.7.0.1 libevent_extra-2.1.so.7; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_extra-2.1.so.7.0.1 libevent_extra.so || { rm -f libevent_extra.so && ln -s libevent_extra-2.1.so.7.0.1 libevent_extra.so; }; })
libtool: install: /usr/bin/install -c .libs/libevent_extra.lai /usr/local/lib/libevent_extra.la
libtool: install: /usr/bin/install -c .libs/libevent_pthreads-2.1.so.7.0.1 /usr/local/lib/libevent_pthreads-2.1.so.7.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_pthreads-2.1.so.7.0.1 libevent_pthreads-2.1.so.7 || { rm -f libevent_pthreads-2.1.so.7 && ln -s libevent_pthreads-2.1.so.7.0.1 libevent_pthreads-2.1.so.7; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_pthreads-2.1.so.7.0.1 libevent_pthreads.so || { rm -f libevent_pthreads.so && ln -s libevent_pthreads-2.1.so.7.0.1 libevent_pthreads.so; }; })
libtool: install: /usr/bin/install -c .libs/libevent_pthreads.lai /usr/local/lib/libevent_pthreads.la
libtool: install: /usr/bin/install -c .libs/libevent_openssl-2.1.so.7.0.1 /usr/local/lib/libevent_openssl-2.1.so.7.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_openssl-2.1.so.7.0.1 libevent_openssl-2.1.so.7 || { rm -f libevent_openssl-2.1.so.7 && ln -s libevent_openssl-2.1.so.7.0.1 libevent_openssl-2.1.so.7; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libevent_openssl-2.1.so.7.0.1 libevent_openssl.so || { rm -f libevent_openssl.so && ln -s libevent_openssl-2.1.so.7.0.1 libevent_openssl.so; }; })
libtool: install: /usr/bin/install -c .libs/libevent_openssl.lai /usr/local/lib/libevent_openssl.la
libtool: install: /usr/bin/install -c .libs/libevent.a /usr/local/lib/libevent.a
libtool: install: chmod 644 /usr/local/lib/libevent.a
libtool: install: ranlib /usr/local/lib/libevent.a
libtool: install: /usr/bin/install -c .libs/libevent_core.a /usr/local/lib/libevent_core.a
libtool: install: chmod 644 /usr/local/lib/libevent_core.a
libtool: install: ranlib /usr/local/lib/libevent_core.a
libtool: install: /usr/bin/install -c .libs/libevent_extra.a /usr/local/lib/libevent_extra.a
libtool: install: chmod 644 /usr/local/lib/libevent_extra.a
libtool: install: ranlib /usr/local/lib/libevent_extra.a
libtool: install: /usr/bin/install -c .libs/libevent_pthreads.a /usr/local/lib/libevent_pthreads.a
libtool: install: chmod 644 /usr/local/lib/libevent_pthreads.a
libtool: install: ranlib /usr/local/lib/libevent_pthreads.a
libtool: install: /usr/bin/install -c .libs/libevent_openssl.a /usr/local/lib/libevent_openssl.a
libtool: install: chmod 644 /usr/local/lib/libevent_openssl.a
libtool: install: ranlib /usr/local/lib/libevent_openssl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/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.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 include/evdns.h include/event.h include/evhttp.h include/evrpc.h include/evutil.h '/usr/local/include'
 /usr/bin/mkdir -p '/usr/local/include/event2'
 /usr/bin/install -c -m 644 include/event2/buffer.h include/event2/buffer_compat.h include/event2/bufferevent.h include/event2/bufferevent_compat.h include/event2/bufferevent_struct.h include/event2/dns.h include/event2/dns_compat.h include/event2/dns_struct.h include/event2/event.h include/event2/event_compat.h include/event2/event_struct.h include/event2/http.h include/event2/http_compat.h include/event2/http_struct.h include/event2/keyvalq_struct.h include/event2/listener.h include/event2/rpc.h include/event2/rpc_compat.h include/event2/rpc_struct.h include/event2/tag.h include/event2/tag_compat.h include/event2/thread.h include/event2/util.h include/event2/visibility.h include/event2/bufferevent_ssl.h '/usr/local/include/event2'
 /usr/bin/mkdir -p '/usr/local/include/event2'
 /usr/bin/install -c -m 644 include/event2/event-config.h '/usr/local/include/event2'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libevent.pc libevent_core.pc libevent_extra.pc libevent_pthreads.pc libevent_openssl.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/mnt/500gb/trans/libevent-2.1.12-stable'
make[1]: Leaving directory '/mnt/500gb/trans/libevent-2.1.12-stable'

======================== Installation successful ==========================

Copying documentation directory...
./
./ChangeLog
./LICENSE
./README.md

Copying files to the temporary directory...OK

Stripping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building Debian package... FAILED!

*** Failed to build the package

Do you want to see the log file?  [y]:
dpkg-deb: error: parsing file '/var/tmp/tmp.e8NN5HQVrn/package/DEBIAN/control' near line 7 package 'libevent-2.1.12':
 'Version' field value 'stable-1': version number does not start with digit

Erasing temporary files...OK

Writing backup package...OK
OK

Deleting temp dir...OK

root@DietPi:/mnt/500gb/trans/libevent-2.1.12-stable# cd ..
root@DietPi:/mnt/500gb/trans# ls
2.77plus14734-19.tar.gz  libevent-2.0.18-stable.tar.gz  libevent-2.1.12-stable.tar.gz  transmission-2.77plus14734-19
libevent-2.0.18-stable   libevent-2.1.12-stable         master.zip                     transmission-master
root@DietPi:/mnt/500gb/trans# cd transmission-2.77plus14734-19/
root@DietPi:/mnt/500gb/trans/transmission-2.77plus14734-19# ls
AUTHORS    INSTALL      NEWS                    aclocal.m4      cli           config.log  configure.ac  extras      libtransmission  macosx   qt           transmission-gtk.spec.in  utils
COPYING    Makefile.am  README                  autogen.sh      compile       config.sub  daemon        gtk         ltmain.sh        missing  test-driver  uncrustify.cfg            web
ChangeLog  Makefile.in  Transmission.xcodeproj  autom4te.cache  config.guess  configure   depcomp       install-sh  m4               po       third-party  update-version-h.sh
root@DietPi:/mnt/500gb/trans/transmission-2.77plus14734-19# CFLAGS="-Os -march=native" ./configure && make && checkinstall
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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 armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf 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 ar... ar
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... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 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) 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 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... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for g++... yes
checking for inline... inline
checking gcc version... 8
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for iconv_open... yes
checking for pread... yes
checking for pwrite... yes
checking for lrintf... no
checking for strlcpy... no
checking for daemon... yes
checking for dirname... yes
checking for basename... yes
checking for strcasecmp... yes
checking for localtime_r... yes
checking for fallocate64... yes
checking for posix_fallocate... yes
checking for memmem... yes
checking for strsep... yes
checking for strtold... yes
checking for syslog... yes
checking for valloc... yes
checking for getpagesize... yes
checking for posix_memalign... yes
checking for statvfs... yes
checking for htonll... no
checking for ntohll... no
checking for mkdtemp... yes
checking whether make sets $(MAKE)... (cached) yes
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 library containing cos... -lm
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
checking for LIBCURL... yes
checking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met:

No package 'libevent' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBEVENT_CFLAGS
and LIBEVENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

root@DietPi:/mnt/500gb/trans/transmission-2.77plus14734-19# ./configure -q && make -s
configure: error: Package requirements (libevent >= 2.0.10) were not met:

No package 'libevent' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBEVENT_CFLAGS
and LIBEVENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

root@DietPi:/mnt/500gb/trans/transmission-2.77plus14734-19#