riboseinc / retrace

retrace is a versatile security vulnerability / bug discovery tool through monitoring and modifying the behavior of compiled binaries on Linux, OpenBSD/FreeBSD/NetBSD (shared object) and macOS (dynamic library).
Other
60 stars 19 forks source link

Can't configure it on macOS 11.2.3 #416

Closed catap closed 2 years ago

catap commented 3 years ago

I'm using 70800979fb7fa622fd2c03788b3e06058364ad24 as local root.

./autogen.sh works fine bug ./configure had quite a wired output:

....
hecking whether SO_PEERCRED is declared... no
checking whether SO_PRIORITY is declared... no
checking whether SO_PROTOCOL is declared... no
checking whether SO_RXQ_OVFL is declared... no
checking whether SO_SNDBUFFORCE is declared... no
checking whether SO_RCVBUFFORCE is declared... no
checking whether SO_BUSY_POLL is declared... no
checking whether to run tests... 
configure: no
checking for pkg-config... pkg-config
checking for cmocka.h in /usr/local/cmocka... no
checking for cmocka.h in /usr/lib/cmocka... no
checking for cmocka.h in /usr/cmocka... no
checking for cmocka.h in /usr/pkg... no
checking for cmocka.h in /usr/local... no
checking for cmocka.h in /usr... no
checking whether compiling and linking against cmocka works... no
checking for openssl/crypto.h in /usr/local/ssl... no
checking for openssl/crypto.h in /usr/lib/ssl... no
checking for openssl/crypto.h in /usr/ssl... no
checking for openssl/crypto.h in /usr/pkg... no
checking for openssl/crypto.h in /usr/local... no
checking for openssl/crypto.h in /usr... no
checking for openssl/crypto.h in /usr/local/opt/openssl... no
checking whether compiling and linking against OpenSSL works... no
configure: error: 

It has exit code 1 and hadn't created any Makefile.

ribose-jeffreylau commented 2 years ago

Fixed with https://github.com/riboseinc/retrace/commit/b55e7c2f44b0c2237e2a4450d54d96fe92129dff.