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

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

Open
jasperhuangg opened this issue Dec 13, 2020 · 1 comment

Comments

@jasperhuangg
Copy link
Contributor

jasperhuangg commented Dec 13, 2020

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!

@BrettFraley
Copy link

BrettFraley commented Jan 26, 2024

I'm trying to figure this same error out on Ubuntu 23.10 in 2024 and will report back to this issue.
NOTE: For Ubuntu 23.10 the libpcre++-dev is not included in PPA and can be removed from the apt install line in the docs for Ubuntu 20+.

This issue may be closed, or the documentation updated and then closed, as this is very specific to Ubuntu version, PPA sources and user specific.

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