Hi Robert

Our automatic installer have the following paramerters for the libapreq2.13 
line:

$PERL_BIN=/opt/perl/bin/perl
$APXS_BIN=/opt/apache/bin/apxs
$APACHE_DIR=/opt/apache
:
Apache2::Request        2.13    libapreq2-2.13.tar.gz   downloaded_201012171512 
"$PERL_BIN Makefile.PL \
--with-apache2-apxs=$APXS_BIN --with-perl=$PERL_BIN --enable-lib64 
--with-expat=$APACHE_DIR"

Just expand column5 (inside the doublequotes) with the paths that fits your 
system.

# cat /etc/redhat-release
CentOS release 5.5 (Final)

# cd /opt/perl/lib/site_perl/5.12.2/x86_64-linux/Apache2/
# fgrep -rn 'VERSION' Request.pm
6:our $VERSION = "2.13";

--
MortenB


-----Original Message-----
From: Robert D Oden [mailto:ro...@dbasetek.com] 
Sent: 24. mars 2011 15:25
To: modperl@perl.apache.org
Subject: Trouble Installing Apache2::Request on Centos 5.5

I have been struggling with getting Apache2::Request (libapreq2-2.13) to 
run on Centos 5.5.

Apache was installed during OS install.

Apache2::Request was downloaded, built, tested, and installed successfully.

perl Makefile.PL --with-apache2-apxs=/usr/sbin/apxs
All dependencies satisfied.
httpd_devel and mod_per_devel installed.
LoadModule apreq_module modules/mod_apreq2.so added to httpd.conf file.

Below is the error I am getting when trying to start Apache (apachectl 
start).

httpd: Syntax error on line 203 of /etc/httpd/conf/httpd.conf: Cannot 
load /etc/httpd/modules/mod_apreq2.so into server: libapreq2.so.3: 
cannot open shared object file: No such file or directory

I have compared this install to another machine that has 
Apache2::Request installed on Centos 5.2. It appears that I have all the 
right files in all the right places.

I must be missing something somewhere. Any help would be greatly 
appreciated.

Thanks in advance.

-- 
Robert (Doug) Oden
President
951 Locust Hill Circle
Belton MO 64012

Tel:    816-318-8840
Fax:    816-318-8842
Email:  ro...@dbasetek.com

CONFIDENTIALITY NOTICE: The information and any attachments in this
e-mail are privileged, confidential, subject to copyright and intended
solely for the use of the individual(s) or entity named above. Any
unauthorized use, copying, review or disclosure is strictly prohibited.
Views expressed are those of the user and not necessarily those of
Database Marketing Technologies, Inc. If you are not the intended
recipient, you are hereby notified that any review, retransmission,
conversion to hard copy, copying, circulation or other use of this
message is strictly prohibited and may be illegal. If you have received
this message in error, please notify the sender immediately and delete
the material from your database.

Reply via email to