Skip to content

scrub didn't build on macOS 15 #42

@bengland2

Description

@bengland2

I was unable to compile scrub on macOS 15 until I edited the src/Makefile to add

-I/opt/homebrew/include

to DEFAULT_INCLUDES

Just FYI, it works fine now. Is ./configure supposed to take care of this? without this change I get:

% make V=1
...
gcc -DHAVE_CONFIG_H -I. -I../config -g -O2 -MT genrand.o -MD -MP -MF $depbase.Tpo -c -o genrand.o genrand.c &&
mv -f $depbase.Tpo $depbase.Po
genrand.c:33:10: fatal error: 'gcrypt.h' file not found
33 | #include <gcrypt.h>
| ^~~~~~~~~~
1 error generated.
make: *** [genrand.o] Error 1

I used the "brew" command to install some of the dependencies for scrub, including the libgcrypt cask, in other words I did:

% brew install libgcrypt

Yes there is a scrub-utility cask, but it doesn't appear to be the same thing as the Linux scrub utility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions