Subject: | Compile problems on Red Hat 7.0 |
Problem:
Apache::Cookie won't complie.
Solution:
1) install apache-devel
2) use full path in the #include in libapreq-1.0/c/apache_request.h, not just the '#include "httpd.h"'
#include "/usr/include/apache/httpd.h"
#include "/usr/include/apache/http_config.h"
#include "/usr/include/apache/http_core.h"
#include "/usr/include/apache/http_log.h"
#include "/usr/include/apache/http_main.h"
#include "/usr/include/apache/http_protocol.h"
#include "/usr/include/apache/util_script.h"
System Info:
OS: RedHat 7.0
# uname -a
Linux bailiff.infosec.fedex.com 2.2.16-22smp #1 SMP Tue Aug 22 16:39:21 EDT 2000 i686 unknown
# rpm -qa | grep apache
apache-1.3.22-1.7.1
apache-devel-1.3.22-1.7.1
# perl -v
This is perl, v5.6.0 built for i386-linux