Closed hqax closed 6 years ago
Please surround copied-and-pasted logs with triple back ticks. See GitHub Help / Quoting Code.
gcrypt.h
is provided by libgcrypt
. Perhaps it should be a dependency of systemd
.
Consider installing Linuxbrew in /home/linuxbrew/.linuxbrew/
if possible so that you can use precompiled binary packages (known as bottles) for non-relocatable formula like systemd
.
Another possible workaround for you is brew install --force-bottle systemd
, but no promises.
If it's an option for you, you could open a ticket with your information systems department to ask that they create a linuxbrew
role account with home directory /home/linuxbrew
.
The precompiled binary bottles of non-relocatable bottles can only be used if you install in /home/linuxbrew/.linuxbrew
, otherwise they have to be built from source. See the documentation below. On macOS the default installation directory is /usr/local
. On Linux the default installation directory is /home/linuxbrew/.linuxbrew
.
This issue was moved to Linuxbrew/homebrew-core#7759
I am not able to build systemd with LinuxBrew. I get the error: src/shared/gcrypt-util.c:23:20: fatal error: gcrypt.h: No such file or directory compilation terminated.
gist with debug information, output from brew --config, brew doctor, etc: error building systemd