plainblack.com
Username Password
search
Bookmark and Share
Subscribe

Apache2::Request on SuSE 11.3

Getting Apache2::Request running on Suse 11 .

The version Opensuse offers and cpan does tell you, it is installed, doesn't work. 

The solution is to install libapreq2 yourself.

Steps to a working Apache2::Request are:

1. if installed, delete libapr2
2. install mod_perl, mod_perl-development, apache2-development package (yast)
3. get libapr2 from  http://httpd.apache.org/apreq/
4. unpack in  /tmp
You'll have to use /tmp, since the tests need a directory which may be written by a nobody-user.

The normal /root/.cpan directory does not allow this!
5. cd  /tmp/<libapreq2dir>
6. the package doesn't find /usr/lib/apache2/modules/perl:
ln -sf /usr/include/apache2/modules/perl/* /usr/include/apache 2
7. Do not use "./Configure", but:
perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs2

Keywords: Apache Installation

Search | Most Popular | Recent Changes | Wiki Home
© 2023 Plain Black Corporation | All Rights Reserved