Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hitch v1.8.0 won't compile on macOS #387

Open
Zabrane opened this issue May 17, 2024 · 0 comments
Open

Hitch v1.8.0 won't compile on macOS #387

Zabrane opened this issue May 17, 2024 · 0 comments
Assignees

Comments

@Zabrane
Copy link

Zabrane commented May 17, 2024

Hi guys

I was able to compile all version of Hitch on my macOS (intel/arm) dev machine but the v1.8.0.

## macOS Intel chip -- Ventura
$ sw_vers 
ProductName:		macOS
ProductVersion:		13.6.6
BuildVersion:		22G630

## Clang version
$ clang --version                                                                                                                     
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

## Try download and compile Hitch 1.8.0
$ wget https://hitch-tls.org/source/hitch-1.8.0.tar.gz
$ tar xf hitch-1.8.0.tar.gz
$ cd hitch-1.8.0
$ ./configure
$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src/util
gcc -DHAVE_CONFIG_H -I. -I../..    -g -O2 -DOPENSSL_SUPPRESS_DEPRECATED -I/usr/local/Cellar/openssl@3/3.3.0/include -I./.. -g -O2 -MT parse_proxy_v2-parse_proxy_v2.o -MD -MP -MF .deps/parse_proxy_v2-parse_proxy_v2.Tpo -c -o parse_proxy_v2-parse_proxy_v2.o `test -f 'parse_proxy_v2.c' || echo './'`parse_proxy_v2.c
mv -f .deps/parse_proxy_v2-parse_proxy_v2.Tpo .deps/parse_proxy_v2-parse_proxy_v2.Po
gcc -g -O2 -DOPENSSL_SUPPRESS_DEPRECATED -I/usr/local/Cellar/openssl@3/3.3.0/include -I./.. -g -O2   -o parse_proxy_v2 parse_proxy_v2-parse_proxy_v2.o
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
gcc -DHAVE_CONFIG_H -I. -I..    -g -O2 -DOPENSSL_SUPPRESS_DEPRECATED -I/usr/local/Cellar/openssl@3/3.3.0/include -I/usr/local/Cellar/openssl@3/3.3.0/include -fno-strict-aliasing   -g -O2 -MT hitch-configuration.o -MD -MP -MF .deps/hitch-configuration.Tpo -c -o hitch-configuration.o `test -f 'configuration.c' || echo './'`configuration.c
configuration.c:11:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
         ^~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [hitch-configuration.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any reason for this breaking change?

The last working version on macOS is v1.7.3.

Help appreciated.
Thanks.

@daghf daghf self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants