Skip to content

libstuff/libstuff.h:5:10: fatal error: arpa/inet.h: No such file or directory #942

@jasperhuangg

Description

@jasperhuangg

Hi! I'm trying to build Bedrock by following the Bedrock installation guide for MacOS. I'm getting the following error when I try to run make

g++-9 -g -std=c++17 -fpic -O2  -Wall -Werror -Wformat-security -DGIT_REVISION=2dac88d -I/Users/jasper.huang/Desktop/Personal_Projects/Bedrock -I/Users/jasper.huang/Desktop/Personal_Projects/Bedrock/mbedtls/include -MD -MF libstuff/libstuff.d -MT libstuff/libstuff.h.gch -c libstuff/libstuff.h
libstuff/libstuff.h:45:10: fatal error: pcrecpp.h: No such file or directory
   45 | #include <pcrecpp.h> // sudo apt-get install libpcre++-dev
      |          ^~~~~~~~~~~
compilation terminated.
make: *** No rule to make target 'libstuff/libstuff.d', needed by '.build/libstuff/SData.d'.  Stop.

This is how my system ./configure command looks after updating pcre like it says in the instructions. I am unsure whether this is correct:

system "./configure --enable-cpp --enable-pcre64 CXX=/usr/local/bin/g++-9 CXXFLAGS=--std=gnu++14", *args

Am I missing anything? Any help would be greatly appreciated!

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