Skip to content

mod_vhost_limit.cpp:21:10: fatal error: httpd.h: No such file or directory - Apache/2.4.59 #2

@ShaiMagal

Description

@ShaiMagal

Apache/2.4.59
Ubuntu 22.04 LTS
Kernel 5.15.0-106-generic

git clone https://github.com/IvnSoft/mod_vhost_limit
Cloning into 'mod_vhost_limit'...
remote: Enumerating objects: 37, done.
remote: Counting objects: 100% (37/37), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 37 (delta 17), reused 24 (delta 8), pack-reused 0
Receiving objects: 100% (37/37), 11.56 KiB | 514.00 KiB/s, done.
Resolving deltas: 100% (17/17), done.

cd mod_vhost_limit/

make
g++ -c -I/usr/include/httpd/ -I/usr/include/apr-1/ -fPIC mod_vhost_limit.cpp
mod_vhost_limit.cpp:21:10: fatal error: httpd.h: No such file or directory
21 | #include "httpd.h"
| ^~~~~~~~~
compilation terminated.
make: *** [Makefile:8: mod_vhost_limit.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions