ohler55 / agoo-c

Agoo webserver in C.
MIT License
146 stars 16 forks source link

Simple demo guide please #9

Closed dalisoft closed 4 years ago

dalisoft commented 4 years ago

Hi @ohler55

I didn't seen new release and see SSL support (which is great), but can't run demo.

Steps

Directory

Error

$ ./simple
Failed to bind to port 6464. https requires OpenSSL. Rebuild with OpenSSL. (127.0.0.1:6465)

System

Everything looks good or something i'm missing?

Thanks

ohler55 commented 4 years ago

Lets make sure you are building with SSL. Agoo-C tests for the existence of /usr/local/opt/openssl/include/openssl/ssl.h Is the header there?

I should add a README.md file with the steps. I will do that. Might be next week as I will be traveling this weekend.

dalisoft commented 4 years ago

Yes, that header here. I used just cloned and tried run

ohler55 commented 4 years ago

From the error message it looks like Agoo-C was not build with SSL so that is the place to start. Along with the README.md I'll add some debugging to the Makefile and Agoo-C so it lets you know if SSL is supported after a build.

dalisoft commented 4 years ago

Thanks a lot for fast and well described response

dalisoft commented 4 years ago

As already able to run C code on my machine, issue solved