Aleksandr Guidrevitch wrote:
Hi All,

I'm having trouble compiling libapreq in userspace.
[...]
ake[1]: Entering directory `/home/ag/build/libapreq-1.3/c'
gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O2   -DVERSION=\"\" -DXS_VERSION=\"\" -fpic
"-I/home/ag/apps/perl-5.8.4/lib/5.8.4/i686-linux/CORE"   apache_request.c
In file included from apache_request.c:61:
apache_request.h:5:19: httpd.h: No such file or directory

That doesn't help either. What's the problem ? How can I install
libapreq in my situation ?
I was unable to find similar troubles, looks like nobody is installing
mod_perl in userspace.
I'm not a C/Linux guru so I'm stuck :((

That's incorrect. You must have not read the docs: http://perl.apache.org/docs/1.0/guide/install.html#Installation_Without_Superuser_Privileges

For some reason when you install mod_perl, apache headers don't get installed into the perl tree.
Try following the standard build procedure where mod_perl installs Apache and you will be alright.
http://perl.apache.org/docs/1.0/guide/install.html#Manual_Local_mod_perl_Enabled_Apache_Installation
And refer to the first URL to setup your local perl, so it'll find the right mod_perl setup.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to