sodabrew / mod_perlite

A lightweight Apache module for Perl scripts
http://modperlite.org/
86 stars 7 forks source link

Build issue on CentOS 4.5 Final - apr package not found #2

Open byrnereese opened 14 years ago

byrnereese commented 14 years ago

[breese@majordojo mod_perlite]$ ./Build 2>&1 Package apr-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `apr-1.pc' to the PKG_CONFIG_PATH environment variable No package 'apr-1' found gcc -c mod_perlite.c -fPIC -g -ggdb -DMP_SYS_DL_DLOPEN=1 -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -I/usr/include/httpd -DVERSION=\"0.10\" In file included from /usr/include/httpd/httpd.h:29, from mod_perlite.h:5, from mod_perlite.c:2:

And it all goes downhill from there.

I am running CentOS 4.5 Final and apr-* modules are all up to date.

/usr/include/apr-1 is not present. I have apr-0.

mattn commented 14 years ago

Ah, What version of apache do you use?

byrnereese commented 14 years ago

Apache 2.0.x something. I am trying to find a yum repos that will get me to Apache 2.2, but am not having much luck...

byrnereese commented 14 years ago

I did finally get this to install on CentOS 5.2 final. I also tried to do a complete yum upgrade on CentOS 4.2, but no dice.