Corvusoft / restbed

Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.

Home Page:http://www.corvusoft.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build issue: "opensslconf.h" file not found

nbommersbach opened this issue · comments

Hello,
I tried to build restbed as stated in the README file using CMake after recursively cloning it from github.

The step make install returns the following issue:

restbed/dependency/openssl/include/openssl/e_os2.h:13:11: fatal error: 'openssl/opensslconf.h' file not found

I looked at the corresponding folder and found out that the opensslconf.h.in configuring-file was not translated into opensslconf.h for some reason.
I am using macOS BigSur 11.5.2.

Does somebody know how to deal with this issue?

This issue is somewhat old now, and I'm far from a restbed expert, but here's what worked for me:

cd dependency/openssl
./config
make

Then return to the restbed build.

This wasn't, of course, immediately obvious; an improvement would be to clarify the error message.