hmmm...I don't know if this is relevant, but I just installed RH4ES last week 
and perl was giving wierdness - choking on scripts, unable to find libs - so I 
rm -rf * the entire perl install and pointed /usr/bin/perl to a new install of 
/opt/ActivePerl5.8.7 and everything started working fine again.

Mark

>>> "Eamon Daly" <[EMAIL PROTECTED]> 20-Jan-06 11:39:58 AM >>>
I'm running the entire build process as root.

One thing I just noticed is that the December RHEL4 update
included a new perl, compiled with:

    # perl -V | grep gccversion
    ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-1)', 
gccosandvers=''

which doesn't match the gcc they're shipping:

    # rpm -qa | grep gcc
    gcc-3.4.4-2

Looks suspicious.

____________________________________________________________
Eamon Daly



----- Original Message ----- 
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <modperl@perl.apache.org>
Sent: Friday, January 20, 2006 10:33 AM
Subject: Re: [mp2] "make test" fails: "failed to map segment fromshared 
object: Operation not permitted"


or just run it as root?


>>> Joe Orton <[EMAIL PROTECTED]> 20-Jan-06 08:24:54 AM >>>
On Thu, Jan 19, 2006 at 09:35:30PM -0600, Eamon Daly wrote:
> 1. Problem Description:
>
> Hey, all. I'm trying to build mod_perl against the stock
> httpd in RedHat 4ES. The build runs without issue, but
> "make test" fails immediately with the following error:
>
> Can't load '/tmp/mod_perl-2.0.2/blib/arch/auto/ModPerl/Const/Const.so' for
> module ModPerl::Const:
> /tmp/mod_perl-2.0.2/blib/arch/auto/ModPerl/Const/Const.so: failed to map
> segment from shared object: Operation not permitted at
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
> at /tmp/mod_perl-2.0.2/blib/lib/Apache2/Const.pm line 17

These types of errors are caused by the SELinux policy being enforced
for /usr/sbin/httpd.  It would be simplest to temporarily disable the
part of the policy applied to httpd whilst running the test suite, by
doing:

   setsebool httpd_disable_trans 1
   make test
   setsebool httpd_disable_trans 0

Regards,

joe


Reply via email to