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

Apache version #2

Closed
svbeek opened this issue Aug 22, 2018 · 3 comments
Closed

Apache version #2

svbeek opened this issue Aug 22, 2018 · 3 comments

Comments

@svbeek
Copy link

svbeek commented Aug 22, 2018

Hi Sebastian,

Nice module, thanks! I'm trying to build the module on a redhat/centos system against Apache 2.4.6 (yes ancient, i know.. but this is what comes with centos ootb). Made some changes in the Makefile to point it to the source code, but it won't build. Against what version of Apache did you develop the module? Probably a more recent one? Then I'll try that also.

Thanks
Sander

@smarsching
Copy link
Member

I built it on Ubuntu 16.04 LTS, which is using Apache 2.4.18.

@smarsching
Copy link
Member

On another note: I can imagine two reasons why the module might not built:

  1. The Apache developer files might be in a different directory on CentOS, so the paths in Makefile might have to be adjusted. Of course, the developer files are usually in a separate package and have to be installed explicitly (I have no idea what the package is called on CentOS, on Ubuntu it is apache2-dev).
  2. The C++ compiler might be too old. You will need a C++ compiler that fully supports C++ 11. While GCC 4.8.1 claims to be supporting C++ 11, it actually still has a few bugs, so effectively you will at least need GCC 4.9.

There is a PR (#1) that addresses this issue, but I intentionally did not merge this PR because I want to avoid workarounds for old compilers in order to keep the code as clean as possible.

@svbeek
Copy link
Author

svbeek commented Aug 22, 2018

Had to use the patch for gcc 4.8.x indeed, but now it works like a charm. Thanks!

@svbeek svbeek closed this as completed Aug 22, 2018
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