wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

./configure fails: cannot find input file: `Makefile.in`

Open BlackMage2 opened this issue 2 years ago • 5 comments

Version

5.6.3

Description

./configure fails with config.status: error: cannot find input file: Makefile.in'`

complete output is:

Details

./configure 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target 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 race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... gcc3 checking whether make supports nested variables... (cached) yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking size of long long... 8 checking size of long... 8 checking size of time_t... 8 checking for __uint128_t... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for limits.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for time.h... yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for errno.h... yes checking for sys/un.h... yes checking for socket in -lnetwork... no checking whether byte ordering is bigendian... no checking for __atomic... yes checking for stdatomic.h... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for gmtime_s... no checking for inet_ntoa... yes checking for memset... yes checking for socket... yes checking for strftime... yes checking for atexit... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether gethostbyname is declared... yes checking whether getaddrinfo is declared... yes checking whether gettimeofday is declared... yes checking whether gmtime_r is declared... yes checking whether gmtime_s is declared... no checking whether inet_ntoa is declared... yes checking whether memset is declared... yes checking whether socket is declared... yes checking whether strftime is declared... yes checking whether atexit is declared... yes checking for size_t... yes checking for uint8_t... yes checking for uintptr_t... yes checking dependency style of gcc... gcc3 checking for thread local storage (TLS) class... _Thread_local checking for debug... no checking for a sed that does not truncate output... /usr/bin/sed 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 whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for fast RSA... no ./configure: line 20177: LT_LIB_M: command not found checking for library containing gethostbyname... none required checking for library containing socket... none required checking for vcs system... none checking for vcs checkout... no checking whether the linker accepts -Werror... yes checking whether the linker accepts -z relro -z now... yes checking whether the linker accepts -pie... yes checking whether C compiler accepts -Werror... yes checking whether C compiler accepts -Wno-pragmas... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wunknown-pragmas... yes checking whether C compiler accepts -Wthis-test-should-fail... no checking whether C compiler accepts --param=ssp-buffer-size=1... yes checking whether C compiler accepts -Waddress... yes checking whether C compiler accepts -Warray-bounds... yes checking whether C compiler accepts -Wbad-function-cast... yes checking whether C compiler accepts -Wchar-subscripts... yes checking whether C compiler accepts -Wcomment... yes checking whether C compiler accepts -Wfloat-equal... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wmaybe-uninitialized... yes checking whether C compiler accepts -Wmissing-field-initializers... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wnested-externs... yes checking whether C compiler accepts -Wnormalized=id... yes checking whether C compiler accepts -Woverride-init... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wpointer-sign... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Wshorten-64-to-32... no checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wstrict-overflow=1... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wswitch-enum... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wunused... yes checking whether C compiler accepts -Wunused-result... yes checking whether C compiler accepts -Wunused-variable... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -fwrapv... yes creating wolfssl-config - generic 5.6.3 for -lwolfssl -lpthread checking the number of available CPUs... 4 configure: adding automake macro support configure: creating aminclude.am configure: added jobserver support to make for 5 jobs checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating stamp-h config.status: error: cannot find input file: `Makefile.in'

My System is ubuntu 22.04

BlackMage2 avatar Sep 21 '23 09:09 BlackMage2

ok, it builds when i configure with CMake

but what version of autoconf / autoreconf / automake is required alternate?

BlackMage2 avatar Sep 21 '23 10:09 BlackMage2

Hi @BlackMage2 ,

How did you get wolfSSL 5.6.3? If you've cloned it from our github, try cloning it again. Did you run ./autogen.sh? I would recommend running it again even if you already did and seeing if it helps.

As for autoconf versions, Ubuntu 22.04 is new enough that this shouldn't be an issue. We do test wolfSSL on Ubuntu 22.04.

kareem-wolfssl avatar Sep 21 '23 17:09 kareem-wolfssl

from wolfssl-5.6.3-stable.tar.gz(https://github.com/wolfSSL/wolfssl/archive/refs/tags/v5.6.3-stable.tar.gz)

BlackMage2 avatar Sep 21 '23 18:09 BlackMage2

is wolfSSL with openSSL compatible?

hmpf i read in https://www.wolfssl.com/documentation/manuals/wolfssl/chapter13.html#:~:text=OpenSSL%20Compatibility-,Compatibility%20with%20OpenSSL,OpenSSL%20application%20over%20to%20wolfSSL. there is a compatibility layer with openssl that can be activated

and what is cyassl?

BlackMage2 avatar Sep 21 '23 18:09 BlackMage2

Hi @BlackMage2 ,

In that case, please try rerunning ./autogen.sh and let me know if it helps.

Yes, we do offer an OpenSSL compatibility layer which you can enable with the flag --enable-opensslextra. CyaSSL is the old name for wolfSSL, we still have some legacy CyaSSL files for compatibility.

kareem-wolfssl avatar Sep 22 '23 17:09 kareem-wolfssl