-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Make compile errors on Raspberry Pi 4 64 Bit version of Ubuntu Server 20.04 #2666
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
Comments
Hello @Danrancan , Hmm. I'm not seeing anything terribly enlightening in your compiler output. I don't know that this is your problem, but given the nginx version that you used (nginx/1.21.5), I might wonder if your issue is related to nginx's change to pcre2. See for example this issue in building the connector: owasp-modsecurity/ModSecurity-nginx#261 |
Hey @martinhsv, Thank you so much for responding to this issue! I am quite new to development and only understand the very basics of debugging issues on github repos. Correct me if I am wrong, but it looks like I should be using the "--without-pcre2" flag when compiling modsecurity. However, what I don't understand, is if only fixes the compilation error, or if it also fixes the reported and discussed memory allocation problem when compiling agains Nginx v1.21.5? If I am going to have memory allocation problems after compiling this, could you please let me know, so I hold off until things are fixed? Again, I appreciate the response and any help/advice you can give! Thanks a bunch! Dan |
Hey @martinhsv, I believe the issue was indeed related to your posted link issue#261. I tried compiling with the |
Was there anything further on this? |
Seems like my modsecurity has been working fine compiling like this. So I think you can close this issue. |
The make command runs into compile errors on Ubuntu Server 20.04 64bit for Raspberry Pi 3. I am compiling with Nginx Mainline version. I am also using this guide and have followed it to a tee aside from using the official nginx mainline v.1.21.5 instead of ppa:ondrej/nginx-mainline
Logs and dumps
Output of
make -j4
To Reproduce
Follow THIS GUIDE using the nginx Mainline repository on a Raspberry Pi 3. When you reach the instructions to enter
make -j4
command in your terminal, the error will appear after a short time of compiling.Expected behavior
I expect modsecurity to make correctly.
Server:
Additional context
Please be sure to reproduce this using THIS LINUXBABE TUTORIAL and substituting nginx v1.21.5 in for the tutorial's version.
The text was updated successfully, but these errors were encountered: