Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 18.04.2011 17:30:22 von Edward.Szekeres
This is a multi-part message in MIME format.
------_=_NextPart_001_01CBFDDD.8894737B
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello,
=20
I am attempting to get a clean up-to-date install Apache with static
linked mod_perl (using current stable releases for Apache (2.2.17) and
mod_perl (2.0.5) from .tar.gz files download from respective
repositories) but am at a frustrating dead end. I am looking for any
suggestions as I have an immediate need for this.
=20
Here are the steps I have taken (multiple times):
1) configured a new RHEL 5 32 bit virtual machine with 2 CPUs and
4G RAM using "software development" template and no additional software
(no httpd), default PERL install of 5.8.8...
2) all RHEL updates as of 4/17 applied
3) download source for PERL 5.12.3, and installed
a. # ./Configure -des -Uusethreads
b. make, make test, make install (no errors)
4) installed from CPAN "Bundle::Apache2" (tried both with and
without this step, # /usr/local/bin/perl5.12.3 -MCPAN -e "install
Bundle::Apache2")
5) though was using the official .tar.gz distribution of Apache, I
did run ./buildconf in the Apache source directory for consistency (no
errors)
6) executed the mod_perl config in the mod_perl source directory:=20
# /usr/local/bin/perl5.12.3 Makefile.PL MP_USE_STATIC=3D1
MP_AP_PREFIX=3D/root/httpd-2.2.17 =
MP_AP_CONFIGURE=3D"-with-mpm=3Dprefork"
=20
and this is always the result at the end, what is interesting is that in
all the previous config steps, there don't seem to be any issues in
finding and working with apr related stuff....
=20
Configuring Apache/2.2.17 mod_perl/2.0.5 Perl/v5.12.3
Checking if your kit is complete...
Looks good
Use of uninitialized value $v in substitution (s///) at
lib/Apache2/Build.pm line 1330.
[ error] Can't find apr include/ directory,
[ error] use MP_APR_CONFIG=3D/path/to/apr-config
(END)=20
=20
Thinking there was maybe a conflict with RHEL apr I did try running #
yum remove apr* to remove RHEL related packages....
=20
repeated the whole process same result....same results with Perl 5.8.8
=20
I really can't believe that virgin stable release TARs on a pretty much
standard RHEL 5 installs would be this difficult to get to work. =20
=20
Any help would be greatly appreciated....
=20
=20
=20
=20
=20
Edward S. Szekeres, Jr., Ph.D. | Director of Bioinformatics
PerkinElmer DNA Sequencing and Analysis Services
PerkinElmer | For the Better
edward.szekeres@perkinelmer.com
=20
Phone: +1 203.433.3237 | Fax: +1 203.481.0433 | Mobile: +1
203.738.9524
29 Business Park Drive, Branford, CT 06405 USA=20
www.perkinelmer.com =20
=20
Please consider the environment before printing this e-mail.
This e-mail message and any attachments are confidential and proprietary
to PerkinElmer, Inc. If you are not the intended recipient of this
message, please inform the sender by replying to this email or sending a
message to the sender and destroy the message and any attachments.
Thank you.
=20
=20
=20
------_=_NextPart_001_01CBFDDD.8894737B
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
(filtered medium)">
vlink=3Dpurple>
name=3D"OLE_LINK6">
class=3DMsoNormal>
I am =
attempting to get a clean up-to-date install Apache with static =
linked mod_perl (using current stable releases for Apache =
(2.2.17) and mod_perl (2.0.5) from .tar.gz files download from =
respective repositories) but am at a frustrating dead end. I am =
looking for any suggestions as I have an immediate need for =
this.
class=3DMsoNormal> Here are the steps I have taken (multiple =
times):
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'>
!supportLists]>
1)
style=3D'font:7.0pt "Times New Roman"'> =
configured a new RHEL 5 32 bit virtual machine =
with 2 CPUs and 4G RAM using “software development” template =
and no additional software (no httpd), default PERL install of =
5.8.8…
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'>
!supportLists]>
2)
style=3D'font:7.0pt "Times New Roman"'> =
all RHEL updates as of 4/17 =
applied
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'>
!supportLists]>
3)
style=3D'font:7.0pt "Times New Roman"'> =
download source for PERL 5.12.3, and =
installed
style=3D'margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 =
lfo1'>
a.
style=3D'font:7.0pt "Times New =
Roman"'> # =
../Configure –des –Uusethreads
class=3DMsoListParagraph =
style=3D'margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 =
lfo1'>
b.
style=3D'font:7.0pt "Times New Roman"'> =
make, make test, make install (no =
errors)
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'>
!supportLists]>
4)
style=3D'font:7.0pt "Times New Roman"'> =
installed from CPAN =
“Bundle::Apache2” (tried both with and without this step, # =
/usr/local/bin/perl5.12.3 -MCPAN -e "install =
Bundle::Apache2")
style=3D'text-indent:-.25in;mso-list:l0 level1 lfo1'>
!supportLists]>
5)
style=3D'font:7.0pt "Times New Roman"'> =
though was using the official .tar.gz =
distribution of Apache, I did run ./buildconf in the Apache source =
directory for consistency (no errors)
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l0 level1 =
lfo1'>
6)
style=3D'font:7.0pt "Times New Roman"'> =
executed the mod_perl config in the mod_perl =
source directory:
# /usr/local/bin/perl5.12.3 Makefile.PL =
MP_USE_STATIC=3D1 MP_AP_PREFIX=3D/root/httpd-2.2.17 =
MP_AP_CONFIGURE=3D”—with-mpm=3Dprefork”
>
and =
this is always the result at the end, what is interesting is that in all =
the previous config steps, there don’t seem to be any issues in =
finding and working with apr related stuff….
class=3DMsoNormal>
Configuring =
Apache/2.2.17 mod_perl/2.0.5 Perl/v5.12.3
class=3DMsoNormal>Checking if your kit is complete...
class=3DMsoNormal>Looks good
Use of =
uninitialized value $v in substitution (s///) at lib/Apache2/Build.pm =
line 1330.
[ error] Can't find =
apr include/ directory,
[ =
error] use MP_APR_CONFIG=3D/path/to/apr-config
class=3DMsoNormal>(END)
class=3DMsoNormal>
Thinking =
there was maybe a conflict with RHEL apr I did try running # yum =
remove apr* to remove RHEL related packages….
class=3DMsoNormal>
repeated the =
whole process same result….same results with Perl =
5.8.8
class=3DMsoNormal>I really can’t believe that virgin stable =
release TARs on a pretty much standard RHEL 5 installs would be this =
difficult to get to work.
class=3DMsoNormal>
Any help =
would be greatly appreciated….
class=3DMsoNormal>
class=3DMsoNormal>
class=3DMsoNormal>
class=3DMsoNormal>
style=3D'mso-margin-top-alt:2.0pt;margin-right:0in;margin-bo ttom:2.0pt;ma=
rgin-left:0in'>
Bold";color:#292929'>
style=3D'mso-margin-top-alt:2.0pt;margin-right:0in;margin-bo ttom:2.0pt;ma=
rgin-left:0in'>
Bold";color:#292929'>Edward S. Szekeres, Jr., Ph.D. | Director of =
Bioinformatics
style=3D'mso-margin-top-alt:2.0pt;margin-right:0in;margin-bo ttom:2.0pt;ma=
rgin-left:0in'>
style=3D'font-size:10.0pt;font-family:"Arial","sans-serif";c olor:#1F497D'=
>PerkinElmer DNA Sequencing and Analysis Services
style=3D'font-size:10.0pt;font-family:"Arial Narrow =
Bold";color:#292929'>
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#005299'>PerkinElmer
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#005299'>|
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#005299'> For the =
Better &=
nbsp; &n=
bsp; &nb=
sp; &nbs=
p;  =
;
class=3DMsoNormal>
href=3D"mailto:edward.szekeres@perkinelmer.com?subject=3DCon tact%20Reques=
t">
Narrow","sans-serif";color:blue'>edward.szekeres@perkinelmer .com=
a>
Narrow","sans-serif";color:#292929'>
class=3DMsoNormal>
Narrow","sans-serif";color:#292929'>Phone: +1 =
203.433.3237
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#292929'>|
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#292929'> Fax: +1 =
203.481.0433
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#292929'>|
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#292929'> Mobile: +1 =
203.738.9524
style=3D'mso-element:para-border-div;border:none;border-bott om:solid =
#999999 1.0pt;padding:0in 0in 1.0pt 0in'>
style=3D'border:none;padding:0in'>
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#292929'>29 Business Park Drive, Branford, CT =
06405 USA
style=3D'border:none;padding:0in'>
href=3D"http://www.perkinelmer.com/">
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:blue'>www.perkinelmer.com
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#005299'>
class=3DMsoNormal style=3D'border:none;padding:0in'>
style=3D'font-size:10.0pt;font-family:"Arial =
Narrow","sans-serif";color:#005299'>
class=3DMsoNormal style=3D'margin-top:1.0pt'>
style=3D'font-size:8.0pt;font-family:"Arial =
Narrow","sans-serif";color:#4C4C4C'>Please consider the environment =
before printing this e-mail.
class=3DMsoNormal style=3D'margin-top:1.0pt'>
style=3D'font-size:8.0pt;font-family:"Arial =
Narrow","sans-serif";color:#4C4C4C'>This e-mail message and any =
attachments are confidential and proprietary to PerkinElmer, Inc. =
If you are not the intended recipient of this message, please inform the =
sender by replying to this email or sending a message to the sender and =
destroy the message and any attachments. Thank you.
style=3D'font-family:"Arial =
Narrow","sans-serif";color:#4C4C4C'>
class=3DMsoNormal>
Narrow","sans-serif"'>
class=3DMsoNormal>
Narrow","sans-serif"'>
class=3DMsoNormal>
------_=_NextPart_001_01CBFDDD.8894737B--
Re: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 18.04.2011 18:33:22 von Fred Moyer
On Mon, Apr 18, 2011 at 8:30 AM, Szekeres, Edward
wrote:
> Hello,
>
> I am attempting to get a clean up-to-date install Apache with static link=
ed
> mod_perl (using=A0 current stable releases for Apache (2.2.17)
I didn't see the arguments you used to compile apache in here. But
would suggest using --with-included-apr as a build option.
A couple other questions:
1) Do you specifically need threads? If not, it is generally advised
to compile Perl without them.
2) Do you need mod_perl2 statically compiled? Most users choose to
compile it as a shared object, which is widely tested.
> and mod_perl
> (2.0.5) from .tar.gz files download from respective repositories) but am =
at
> a frustrating dead end. =A0I am looking for any suggestions as I have an
> immediate need for this.
>
>
>
> Here are the steps I have taken (multiple times):
>
> 1) =A0 configured a new RHEL 5 32 bit virtual machine with 2 C=
PUs and 4G
> RAM using =93software development=94 template and no additional software =
(no
> httpd), default PERL install of 5.8.8=85
>
> 2) =A0 all RHEL updates as of 4/17 applied
>
> 3) =A0 download source for PERL 5.12.3, and installed
>
> a. # ./Configure =96des =96Uusethreads
>
> b. =A0 make, make test, make install=A0 (no errors)
>
> 4) =A0 installed from CPAN=A0 =93Bundle::Apache2=94 (tried bot=
h with and without
> this step, # /usr/local/bin/perl5.12.3 -MCPAN -e "install Bundle::Apache2=
")
>
> 5) =A0 though was using the official =A0.tar.gz distribution o=
f Apache, I did
> run ./buildconf in the Apache source directory for consistency (no errors=
)
>
> 6) =A0 executed the mod_perl config in the mod_perl source dir=
ectory:
> =A0# /usr/local/bin/perl5.12.3 Makefile.PL MP_USE_STATIC=3D1
> MP_AP_PREFIX=3D/root/httpd-2.2.17 =A0MP_AP_CONFIGURE==97with-mpm=3Dp=
refork=94
>
>
>
> and this is always the result at the end, what is interesting is that in =
all
> the previous config steps, there don=92t seem to be any issues in finding=
and
> working with apr related stuff=85.
>
>
>
> Configuring Apache/2.2.17 mod_perl/2.0.5 Perl/v5.12.3
>
> Checking if your kit is complete...
>
> Looks good
>
> Use of uninitialized value $v in substitution (s///) at lib/Apache2/Build=
..pm
> line 1330.
>
> [=A0 error] Can't find apr include/ directory,
>
> [=A0 error] use MP_APR_CONFIG=3D/path/to/apr-config
>
> (END)
>
>
>
> Thinking there was maybe a conflict with RHEL apr I did try running #=A0 =
yum
> remove apr* to remove RHEL related packages=85.
>
>
>
> repeated the whole process same result=85.same results with Perl 5.8.8
>
>
>
> I really can=92t believe that virgin stable release TARs on a pretty much
> standard RHEL 5 installs would be this difficult to get to work.
>
>
>
> Any help would be greatly appreciated=85.
>
>
>
>
>
>
>
>
>
>
>
> Edward S. Szekeres, Jr., Ph.D. | Director of Bioinformatics
>
> PerkinElmer DNA Sequencing and Analysis Services
> PerkinElmer | For the
> Better
>
> edward.szekeres@perkinelmer.com
>
> Phone:=A0 +1 203.433.3237 | Fax:=A0 +1 203.481.0433 |=
Mobile: +1
> 203.738.9524
>
> 29 Business Park Drive, Branford, CT 06405 USA
>
> www.perkinelmer.com
>
>
>
> Please consider the environment before printing this e-mail.
>
> This e-mail message and any attachments are confidential and proprietary =
to
> PerkinElmer, Inc.=A0 If you are not the intended recipient of this messag=
e,
> please inform the sender by replying to this email or sending a message t=
o
> the sender and destroy the message and any attachments.=A0 Thank you.
>
>
>
>
>
>
RE: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 18.04.2011 18:46:27 von Edward.Szekeres
Thanks for your reply....clarifications
1) Perl 5.12.3 was compiled without thread support as per the mod_perl =
2.0 installation directions
2) I have tried adding the "--with-included-apr" option without luck
2) As per the mod_perl documentation for static I am not pre-compiling =
Apache but was allowing the mod_perl 2.0 process to handle that
3) I was trying to match a pre-existing configuration which was using =
Apache 1.3 with mod_perl 1.0 statically linked in. While it would be =
preferred to keep the configuration the same, I am not sure it is =
mandatory. =20
4) what is also interesting is if I repeat the mod_perl configuration =
command again, I do not get that "Can't find apr include/ directory" =
error, and the config proceeds fine, however the make just throws a =
bunch of errors which seem to be apr related...
Edward
-----Original Message-----
From: Fred Moyer [mailto:fred@redhotpenguin.com]=20
Sent: Monday, April 18, 2011 12:33 PM
To: Szekeres, Edward
Cc: modperl@perl.apache.org
Subject: Re: Installation help [mod_perl 2.0.5/apache =
2.2.17/perl-5.12.3]
On Mon, Apr 18, 2011 at 8:30 AM, Szekeres, Edward =
wrote:
> Hello,
>
> I am attempting to get a clean up-to-date install Apache with static=20
> linked mod_perl (using=A0 current stable releases for Apache (2.2.17)
I didn't see the arguments you used to compile apache in here. But =
would suggest using --with-included-apr as a build option.
A couple other questions:
1) Do you specifically need threads? If not, it is generally advised to =
compile Perl without them.
2) Do you need mod_perl2 statically compiled? Most users choose to =
compile it as a shared object, which is widely tested.
> and mod_perl
> (2.0.5) from .tar.gz files download from respective repositories) but=20
> am at a frustrating dead end. =A0I am looking for any suggestions as I =
> have an immediate need for this.
>
>
>
> Here are the steps I have taken (multiple times):
>
> 1) =A0 configured a new RHEL 5 32 bit virtual machine with =
2 CPUs and=20
> 4G RAM using "software development" template and no additional=20
> software (no httpd), default PERL install of 5.8.8...
>
> 2) =A0 all RHEL updates as of 4/17 applied
>
> 3) =A0 download source for PERL 5.12.3, and installed
>
> a. # ./Configure -des -Uusethreads
>
> b. =A0 make, make test, make install=A0 (no errors)
>
> 4) =A0 installed from CPAN=A0 "Bundle::Apache2" (tried both =
with and=20
> without this step, # /usr/local/bin/perl5.12.3 -MCPAN -e "install=20
> Bundle::Apache2")
>
> 5) =A0 though was using the official =A0.tar.gz =
distribution of Apache,=20
> I did run ./buildconf in the Apache source directory for consistency=20
> (no errors)
>
> 6) =A0 executed the mod_perl config in the mod_perl source =
directory:
> =A0# /usr/local/bin/perl5.12.3 Makefile.PL MP_USE_STATIC=3D1
> MP_AP_PREFIX=3D/root/httpd-2.2.17 =
=A0MP_AP_CONFIGURE=3D"-with-mpm=3Dprefork"
>
>
>
> and this is always the result at the end, what is interesting is that=20
> in all the previous config steps, there don't seem to be any issues in =
> finding and working with apr related stuff....
>
>
>
> Configuring Apache/2.2.17 mod_perl/2.0.5 Perl/v5.12.3
>
> Checking if your kit is complete...
>
> Looks good
>
> Use of uninitialized value $v in substitution (s///) at=20
> lib/Apache2/Build.pm line 1330.
>
> [=A0 error] Can't find apr include/ directory,
>
> [=A0 error] use MP_APR_CONFIG=3D/path/to/apr-config
>
> (END)
>
>
>
> Thinking there was maybe a conflict with RHEL apr I did try running =
#
> yum remove apr* to remove RHEL related packages....
>
>
>
> repeated the whole process same result....same results with Perl 5.8.8
>
>
>
> I really can't believe that virgin stable release TARs on a pretty=20
> much standard RHEL 5 installs would be this difficult to get to work.
>
>
>
> Any help would be greatly appreciated....
>
>
>
>
>
>
>
>
>
>
>
> Edward S. Szekeres, Jr., Ph.D. | Director of Bioinformatics
>
> PerkinElmer DNA Sequencing and Analysis Services PerkinElmer | For the =
> Better
>
> edward.szekeres@perkinelmer.com
>
> Phone:=A0 +1 203.433.3237 | Fax:=A0 +1 203.481.0433 =
| Mobile: +1
> 203.738.9524
>
> 29 Business Park Drive, Branford, CT 06405 USA
>
> www.perkinelmer.com
>
>
>
> Please consider the environment before printing this e-mail.
>
> This e-mail message and any attachments are confidential and=20
> proprietary to PerkinElmer, Inc.=A0 If you are not the intended=20
> recipient of this message, please inform the sender by replying to=20
> this email or sending a message to the sender and destroy the message =
and any attachments.=A0 Thank you.
>
>
>
>
>
>
Re: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 18.04.2011 20:43:41 von Fred Moyer
On Mon, Apr 18, 2011 at 9:46 AM, Szekeres, Edward
wrote:
> Thanks for your reply....clarifications
For what it is worth, I'd suggest building mp2 as a shared object;
this approach is very well tested. You may be able to build as a
static module, but that can take some additional effort, and that
build option is not as widely tested.
Building as a dso is simple - 'perl Makefile.PL
MP_APXS=3D/usr/local/bin/apxs', or just 'perl Makefile.PL' if your apxs
is in $ENV{PATH}. This requires that you build Apache outside the
mod_perl build, but for that I usually './configure --enable-so
--with-included-apr --prefix=3D/path/to/my/apache'.
>
> 1) Perl 5.12.3 was compiled without thread support as per the mod_perl 2.=
0 installation directions
>
> 2) I have tried adding the "--with-included-apr" option without luck
>
> 2) As per the mod_perl documentation for static I am not pre-compiling Ap=
ache but was allowing the mod_perl 2.0 process to handle that
>
> 3) I =A0was trying to match a pre-existing configuration which was using =
Apache 1.3 with =A0mod_perl 1.0 statically linked in. =A0While it would be =
preferred to keep the configuration the same, I am not sure it is mandatory=
..
>
> 4) what is also interesting is if I repeat the mod_perl configuration com=
mand again, I do not get that "Can't find apr include/ directory" error, an=
d the config proceeds fine, however the make just throws a bunch of errors =
which seem to be apr related...
>
>
>
>
>
>
> Edward
>
> -----Original Message-----
> From: Fred Moyer [mailto:fred@redhotpenguin.com]
> Sent: Monday, April 18, 2011 12:33 PM
> To: Szekeres, Edward
> Cc: modperl@perl.apache.org
> Subject: Re: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
>
> On Mon, Apr 18, 2011 at 8:30 AM, Szekeres, Edward
elmer.com> wrote:
>> Hello,
>>
>> I am attempting to get a clean up-to-date install Apache with static
>> linked mod_perl (using=A0 current stable releases for Apache (2.2.17)
>
> I didn't see the arguments you used to compile apache in here. =A0But wou=
ld suggest using --with-included-apr as a build option.
>
> A couple other questions:
>
> 1) Do you specifically need threads? =A0If not, it is generally advised t=
o compile Perl without them.
>
> 2) Do you need mod_perl2 statically compiled? =A0Most users choose to com=
pile it as a shared object, which is widely tested.
>
>
>
>> and mod_perl
>> (2.0.5) from .tar.gz files download from respective repositories) but
>> am at a frustrating dead end. =A0I am looking for any suggestions as I
>> have an immediate need for this.
>>
>>
>>
>> Here are the steps I have taken (multiple times):
>>
>> 1) =A0 configured a new RHEL 5 32 bit virtual machine with 2 =
CPUs and
>> 4G RAM using "software development" template and no additional
>> software (no httpd), default PERL install of 5.8.8...
>>
>> 2) =A0 all RHEL updates as of 4/17 applied
>>
>> 3) =A0 download source for PERL 5.12.3, and installed
>>
>> a. # ./Configure -des -Uusethreads
>>
>> b. =A0 make, make test, make install=A0 (no errors)
>>
>> 4) =A0 installed from CPAN=A0 "Bundle::Apache2" (tried both w=
ith and
>> without this step, # /usr/local/bin/perl5.12.3 -MCPAN -e "install
>> Bundle::Apache2")
>>
>> 5) =A0 though was using the official =A0.tar.gz distribution =
of Apache,
>> I did run ./buildconf in the Apache source directory for consistency
>> (no errors)
>>
>> 6) =A0 executed the mod_perl config in the mod_perl source di=
rectory:
>> =A0# /usr/local/bin/perl5.12.3 Makefile.PL MP_USE_STATIC=3D1
>> MP_AP_PREFIX=3D/root/httpd-2.2.17 =A0MP_AP_CONFIGURE=3D"-with-mpm=3Dpref=
ork"
>>
>>
>>
>> and this is always the result at the end, what is interesting is that
>> in all the previous config steps, there don't seem to be any issues in
>> finding and working with apr related stuff....
>>
>>
>>
>> Configuring Apache/2.2.17 mod_perl/2.0.5 Perl/v5.12.3
>>
>> Checking if your kit is complete...
>>
>> Looks good
>>
>> Use of uninitialized value $v in substitution (s///) at
>> lib/Apache2/Build.pm line 1330.
>>
>> [=A0 error] Can't find apr include/ directory,
>>
>> [=A0 error] use MP_APR_CONFIG=3D/path/to/apr-config
>>
>> (END)
>>
>>
>>
>> Thinking there was maybe a conflict with RHEL apr I did try running #
>> yum remove apr* to remove RHEL related packages....
>>
>>
>>
>> repeated the whole process same result....same results with Perl 5.8.8
>>
>>
>>
>> I really can't believe that virgin stable release TARs on a pretty
>> much standard RHEL 5 installs would be this difficult to get to work.
>>
>>
>>
>> Any help would be greatly appreciated....
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Edward S. Szekeres, Jr., Ph.D. | Director of Bioinformatics
>>
>> PerkinElmer DNA Sequencing and Analysis Services PerkinElmer | For the
>> Better
>>
>> edward.szekeres@perkinelmer.com
>>
>> Phone:=A0 +1 203.433.3237 | Fax:=A0 +1 203.481.0433 |=
Mobile: +1
>> 203.738.9524
>>
>> 29 Business Park Drive, Branford, CT 06405 USA
>>
>> www.perkinelmer.com
>>
>>
>>
>> Please consider the environment before printing this e-mail.
>>
>> This e-mail message and any attachments are confidential and
>> proprietary to PerkinElmer, Inc.=A0 If you are not the intended
>> recipient of this message, please inform the sender by replying to
>> this email or sending a message to the sender and destroy the message an=
d any attachments.=A0 Thank you.
>>
>>
>>
>>
>>
>>
>
FW: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 18.04.2011 22:48:03 von Edward.Szekeres
FYI
Wanted to let you know I accidently stumbled on a something that worked, =
=A0I had noticed that if I ran the mod_perl config twice, the second =
time it ran it would not show that apr directory-not-found error, =
however the make would fail with some APR related errors, =A0however, =
=A0if I added the "--with-included-apr" option to the MP_AP_CONFIGURE =
option to the mod_perl config, then again ran the command twice, the =
first time it would fail with the directory not found error as before, =
the second time it ran through completely, *BUT* this time 'make' ran =
without a problem and the rest of the process ran error free. =A0I then =
checked with 'httpd -l' and mod_perl.c was listed in the built in module =
list. =A0I am trying to test the now running web service to see if =
everything functions.
Not quite sure what that all meant....but it seems I now have a static =
linked version
> -----Original Message-----
> From: Fred Moyer [mailto:fred@redhotpenguin.com]
> Sent: Monday, April 18, 2011 2:44 PM
> To: Szekeres, Edward
> Cc: modperl@perl.apache.org
> Subject: Re: Installation help [mod_perl 2.0.5/apache=20
> 2.2.17/perl-5.12.3]
>
> On Mon, Apr 18, 2011 at 9:46 AM, Szekeres, Edward =
wrote:
>> Thanks for your reply....clarifications
>
> For what it is worth, I'd suggest building mp2 as a shared object; =
this approach is very well tested. =A0You may be able to build as a =
static module, but that can take some additional effort, and that build =
option is not as widely tested.
>
> Building as a dso is simple - 'perl Makefile.PL =
MP_APXS=3D/usr/local/bin/apxs', or just 'perl Makefile.PL' if your apxs =
is in $ENV{PATH}. =A0This requires that you build Apache outside the =
mod_perl build, but for that I usually './configure --enable-so =
--with-included-apr --prefix=3D/path/to/my/apache'.
>
>>
>> 1) Perl 5.12.3 was compiled without thread support as per the=20
>> mod_perl
>> 2.0 installation directions
>>
>> 2) I have tried adding the "--with-included-apr" option without luck
>>
>> 2) As per the mod_perl documentation for static I am not=20
>> pre-compiling Apache but was allowing the mod_perl 2.0 process to=20
>> handle that
>>
>> 3) I =A0was trying to match a pre-existing configuration which was =
using Apache 1.3 with =A0mod_perl 1.0 statically linked in. =A0While it =
would be preferred to keep the configuration the same, I am not sure it =
is mandatory.
>>
>> 4) what is also interesting is if I repeat the mod_perl configuration =
command again, I do not get that "Can't find apr include/ directory" =
error, and the config proceeds fine, however the make just throws a =
bunch of errors which seem to be apr related...
RE: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 18.04.2011 23:23:15 von Edward.Szekeres
Moving an installation from Apache 1.3 to Apache 2.0.....
I am trying to move an existing installation of a PERL code base (of
which I am not the original author) to Apache 2.0 to help address some
security concerns. For the most part I have found Apache2 equivalents
for most of the modules but have the following which I cannot seem to
find compatible equivalents for.=20
use Apache::AuthDBI
use Apache::Constants
use Apache::Registry
and a reference to=20
use Apache;
Are there suggestions for replacements that would contain the same
functionality. I have not at this point found all specific procedural
calls for these.
Edward
Re: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 19.04.2011 01:10:52 von Fred Moyer
On Mon, Apr 18, 2011 at 2:23 PM, Szekeres, Edward
wrote:
> Moving an installation from Apache 1.3 to Apache 2.0.....
>
> I am trying to move an existing installation of a PERL code base (of
> which I am not the original author) to Apache 2.0 to help address some
> security concerns. =A0For the most part I have found Apache2 equivalents
> for most of the modules but have the following which I cannot seem to
> find compatible equivalents for.
>
> use Apache::AuthDBI
Apache::DBI is mp2 friendly, so it should be a drop in replacement.
> use Apache::Constants
See http://perl.apache.org/docs/2.0/api/Apache2/Const.html
use Apache2::Const -compile =3D> qw(FORBIDDEN OK);
> use Apache::Registry
http://perl.apache.org/docs/2.0/api/index.html
Take a look at ModPerl::Registry.
> and a reference to
>
> use Apache;
Here's a good link to read through for general migration:
http://perl.apache.org/docs/2.0/user/porting/compat.html
> Are there suggestions for replacements that would contain the same
> functionality. =A0I have not at this point found all specific procedural
> calls for these.
>
>
> Edward
>
FW: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 25.04.2011 17:39:39 von Edward.Szekeres
I wanted to follow up and say that while below seemed to be a solution, =
it seems to have been a fluke as my attempt to replicate has =
unfortunately not been successful. I wanted to go back in enable the =
mod_ssl and so I repeated the exact steps, though without success. I =
have no idea why the one attempt seems to have proceeded fine.
-edward
-----Original Message-----
From: Szekeres, Edward=20
Sent: Monday, April 18, 2011 4:48 PM
To: modperl@perl.apache.org
Subject: FW: Installation help [mod_perl 2.0.5/apache =
2.2.17/perl-5.12.3]
FYI
Wanted to let you know I accidently stumbled on a something that worked, =
=A0I had noticed that if I ran the mod_perl config twice, the second =
time it ran it would not show that apr directory-not-found error, =
however the make would fail with some APR related errors, =A0however, =
=A0if I added the "--with-included-apr" option to the MP_AP_CONFIGURE =
option to the mod_perl config, then again ran the command twice, the =
first time it would fail with the directory not found error as before, =
the second time it ran through completely, *BUT* this time 'make' ran =
without a problem and the rest of the process ran error free. =A0I then =
checked with 'httpd -l' and mod_perl.c was listed in the built in module =
list. =A0I am trying to test the now running web service to see if =
everything functions.
Not quite sure what that all meant....but it seems I now have a static =
linked version
> -----Original Message-----
> From: Fred Moyer [mailto:fred@redhotpenguin.com]
> Sent: Monday, April 18, 2011 2:44 PM
> To: Szekeres, Edward
> Cc: modperl@perl.apache.org
> Subject: Re: Installation help [mod_perl 2.0.5/apache=20
> 2.2.17/perl-5.12.3]
>
> On Mon, Apr 18, 2011 at 9:46 AM, Szekeres, Edward =
wrote:
>> Thanks for your reply....clarifications
>
> For what it is worth, I'd suggest building mp2 as a shared object; =
this approach is very well tested. =A0You may be able to build as a =
static module, but that can take some additional effort, and that build =
option is not as widely tested.
>
> Building as a dso is simple - 'perl Makefile.PL =
MP_APXS=3D/usr/local/bin/apxs', or just 'perl Makefile.PL' if your apxs =
is in $ENV{PATH}. =A0This requires that you build Apache outside the =
mod_perl build, but for that I usually './configure --enable-so =
--with-included-apr --prefix=3D/path/to/my/apache'.
>
>>
>> 1) Perl 5.12.3 was compiled without thread support as per the=20
>> mod_perl
>> 2.0 installation directions
>>
>> 2) I have tried adding the "--with-included-apr" option without luck
>>
>> 2) As per the mod_perl documentation for static I am not=20
>> pre-compiling Apache but was allowing the mod_perl 2.0 process to=20
>> handle that
>>
>> 3) I =A0was trying to match a pre-existing configuration which was =
using Apache 1.3 with =A0mod_perl 1.0 statically linked in. =A0While it =
would be preferred to keep the configuration the same, I am not sure it =
is mandatory.
>>
>> 4) what is also interesting is if I repeat the mod_perl configuration =
command again, I do not get that "Can't find apr include/ directory" =
error, and the config proceeds fine, however the make just throws a =
bunch of errors which seem to be apr related...
Re: FW: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
am 27.04.2011 09:25:02 von Fred Moyer
Don't stay beholden to the mp1 way of compiling statically unless you
have a really good reason to do so and know what you are doing. If
you are deploying in a server based environment, compile as a shared
object, or use the rpms. No reason to make life extra hard for
something that shouldn't take more than an hour to setup.
On Mon, Apr 25, 2011 at 8:39 AM, Szekeres, Edward
wrote:
> I wanted to follow up and say that while below seemed to be a solution, i=
t seems to have been a fluke as my attempt to replicate has unfortunately n=
ot been successful. =A0I wanted to go back in enable the mod_ssl and so I r=
epeated the exact steps, though without success. =A0I have no idea why the =
one attempt seems to have proceeded fine.
>
> -edward
>
> -----Original Message-----
> From: Szekeres, Edward
> Sent: Monday, April 18, 2011 4:48 PM
> To: modperl@perl.apache.org
> Subject: FW: Installation help [mod_perl 2.0.5/apache 2.2.17/perl-5.12.3]
>
> FYI
>
> Wanted to let you know I accidently stumbled on a something that worked, =
=A0I had noticed that if I ran the mod_perl config twice, the second time i=
t ran it would not show that apr directory-not-found error, however the mak=
e would fail with some APR related errors, =A0however, =A0if I added the "-=
-with-included-apr" option to the MP_AP_CONFIGURE option to the mod_perl co=
nfig, then again ran the command twice, the first time it would fail with t=
he directory not found error as before, the second time it ran through comp=
letely, *BUT* this time 'make' ran without a problem and the rest of the pr=
ocess ran error free. =A0I then checked with 'httpd -l' and mod_perl.c was =
listed in the built in module list. =A0I am trying to test the now running =
web service to see if everything functions.
>
> Not quite sure what that all meant....but it seems I now have a static =
=A0linked version
>
>> -----Original Message-----
>> From: Fred Moyer [mailto:fred@redhotpenguin.com]
>> Sent: Monday, April 18, 2011 2:44 PM
>> To: Szekeres, Edward
>> Cc: modperl@perl.apache.org
>> Subject: Re: Installation help [mod_perl 2.0.5/apache
>> 2.2.17/perl-5.12.3]
>>
>> On Mon, Apr 18, 2011 at 9:46 AM, Szekeres, Edward
nelmer.com> wrote:
>>> Thanks for your reply....clarifications
>>
>> For what it is worth, I'd suggest building mp2 as a shared object; this =
approach is very well tested. =A0You may be able to build as a static modul=
e, but that can take some additional effort, and that build option is not a=
s widely tested.
>>
>> Building as a dso is simple - 'perl Makefile.PL MP_APXS=3D/usr/local/bin=
/apxs', or just 'perl Makefile.PL' if your apxs is in $ENV{PATH}. =A0This r=
equires that you build Apache outside the mod_perl build, but for that I us=
ually './configure --enable-so --with-included-apr --prefix=3D/path/to/my/a=
pache'.
>>
>>>
>>> 1) Perl 5.12.3 was compiled without thread support as per the
>>> mod_perl
>>> 2.0 installation directions
>>>
>>> 2) I have tried adding the "--with-included-apr" option without luck
>>>
>>> 2) As per the mod_perl documentation for static I am not
>>> pre-compiling Apache but was allowing the mod_perl 2.0 process to
>>> handle that
>>>
>>> 3) I =A0was trying to match a pre-existing configuration which was usin=
g Apache 1.3 with =A0mod_perl 1.0 statically linked in. =A0While it would b=
e preferred to keep the configuration the same, I am not sure it is mandato=
ry.
>>>
>>> 4) what is also interesting is if I repeat the mod_perl configuration c=
ommand again, I do not get that "Can't find apr include/ directory" error, =
and the config proceeds fine, however the make just throws a bunch of error=
s which seem to be apr related...
>
>