You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Chris Pizzo <ch...@artinside.com> on 2003/06/24 22:50:41 UTC
Problem building libapreq-1.2
Hi all,
I am trying to install libapreq-1.2 on my redhat 8.0 system. I keep
getting these warnings when i run perl Makefile.PL:
Warning: -L../blib/arch/auto/libapreq changed to
-L/home/Chrisp/libapreq-1.2/Request/../blib/arch/auto/libapreq
Warning: -L../blib/arch/auto/libapreq changed to
-L/home/Chrisp/libapreq-1.2/Cookie/../blib/arch/auto/libapreq
and when i run make i get a bunch of errors:
Request.xs:41:22: mod_perl.h: No such file or directory
Request.xs:87: parse error before "SV"
.
.
.
make[1]: *** [Request.o] Error 1
make[1]: Leaving directory `/home/Chrisp/libapreq-1.2/Request'
make: *** [subdirs] Error 2
I'm not sure what is wrong.
I built mod_perl with the EVERYTHING=1 switch.
I also re-built perl to be non-multi-threaded. Any pionters as to what is
wrong appreciated.
Thanks,
Chris
RE: Problem building libapreq-1.2
Posted by Chris Pizzo <ch...@artinside.com>.
I was able to get it to build by manually coping the header files to the
apache source tree but there still is no bash$ locate mod_perl.h in the
perl tree.
Chris
-----Original Message-----
From: Randy Kobes [mailto:randy@theoryx5.uwinnipeg.ca]
Sent: Tuesday, June 24, 2003 7:55 PM
To: Chris Pizzo
Cc: modperl@perl.apache.org
Subject: RE: Problem building libapreq-1.2
On Tue, 24 Jun 2003, Chris Pizzo wrote:
> -----Original Message-----
> From: Randy Kobes [mailto:randy@theoryx5.uwinnipeg.ca]
> Sent: Tuesday, June 24, 2003 6:14 PM
> To: Chris Pizzo
> Cc: modperl@perl.apache.org
> Subject: Re: Problem building libapreq-1.2
>
> On Tue, 24 Jun 2003, Chris Pizzo wrote:
[ .. ]
> > and when i run make i get a bunch of errors:
> > Request.xs:41:22: mod_perl.h: No such file or directory
> > Request.xs:87: parse error before "SV"
>
> Did you install mod_perl after building it?
> -----End Original Message-----
> Yes I did install the mod perl. I even brought up the apache test page
> indicating it was installed.
If you do a
bash$ locate mod_perl.h
do you see mod_perl.h installed in the Perl tree, and that
Perl corresponds to the same Perl as with which you're
building things with?
--
best regards,
randy
RE: Problem building libapreq-1.2
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 24 Jun 2003, Chris Pizzo wrote:
> -----Original Message-----
> From: Randy Kobes [mailto:randy@theoryx5.uwinnipeg.ca]
> Sent: Tuesday, June 24, 2003 6:14 PM
> To: Chris Pizzo
> Cc: modperl@perl.apache.org
> Subject: Re: Problem building libapreq-1.2
>
> On Tue, 24 Jun 2003, Chris Pizzo wrote:
[ .. ]
> > and when i run make i get a bunch of errors:
> > Request.xs:41:22: mod_perl.h: No such file or directory
> > Request.xs:87: parse error before "SV"
>
> Did you install mod_perl after building it?
> -----End Original Message-----
> Yes I did install the mod perl. I even brought up the apache test page
> indicating it was installed.
If you do a
bash$ locate mod_perl.h
do you see mod_perl.h installed in the Perl tree, and that
Perl corresponds to the same Perl as with which you're
building things with?
--
best regards,
randy
RE: Problem building libapreq-1.2
Posted by Chris Pizzo <ch...@artinside.com>.
Yes I did install the mod perl. I even brought up the apache test page
indicating it was installed.
-----Original Message-----
From: Randy Kobes [mailto:randy@theoryx5.uwinnipeg.ca]
Sent: Tuesday, June 24, 2003 6:14 PM
To: Chris Pizzo
Cc: modperl@perl.apache.org
Subject: Re: Problem building libapreq-1.2
On Tue, 24 Jun 2003, Chris Pizzo wrote:
> Hi all,
> I am trying to install libapreq-1.2 on my redhat 8.0 system. I keep
> getting these warnings when i run perl Makefile.PL:
>
> Warning: -L../blib/arch/auto/libapreq changed to
> -L/home/Chrisp/libapreq-1.2/Request/../blib/arch/auto/libapreq
> Warning: -L../blib/arch/auto/libapreq changed to
> -L/home/Chrisp/libapreq-1.2/Cookie/../blib/arch/auto/libapreq
These warnings are OK ...
> and when i run make i get a bunch of errors:
> Request.xs:41:22: mod_perl.h: No such file or directory
> Request.xs:87: parse error before "SV"
Did you install mod_perl after building it?
--
best regards,
randy kobes
Re: Problem building libapreq-1.2
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 24 Jun 2003, Chris Pizzo wrote:
> Hi all,
> I am trying to install libapreq-1.2 on my redhat 8.0 system. I keep
> getting these warnings when i run perl Makefile.PL:
>
> Warning: -L../blib/arch/auto/libapreq changed to
> -L/home/Chrisp/libapreq-1.2/Request/../blib/arch/auto/libapreq
> Warning: -L../blib/arch/auto/libapreq changed to
> -L/home/Chrisp/libapreq-1.2/Cookie/../blib/arch/auto/libapreq
These warnings are OK ...
> and when i run make i get a bunch of errors:
> Request.xs:41:22: mod_perl.h: No such file or directory
> Request.xs:87: parse error before "SV"
Did you install mod_perl after building it?
--
best regards,
randy kobes
Re: Problem building libapreq-1.2
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
[ adding the apreq-dev list ]
On Wed, 25 Jun 2003, Chris Pizzo wrote:
> At 04:50 PM 6/24/2003, Chris Pizzo wrote:
> >Hi all,
> >I am trying to install libapreq-1.2 on my redhat 8.0 system.
[ .. ]
> >and when i run make i get a bunch of errors:
> >Request.xs:41:22: mod_perl.h: No such file or directory
> >Request.xs:87: parse error before "SV"
> >I built mod_perl with the EVERYTHING=1 switch.
[ .. ]
> When I do :
> locate mod_perl.h
>
> I get:
> /home/Chrisp/mod_perl-1.27/apaci/mod_perl.h
> /home/Chrisp/mod_perl-1.27/src/modules/perl/mod_perl.h
> /home/Chrisp/mod_perl-1.27/htdocs/manual/mod/mod_perl.html
>
> http server-info shows the mod_perl module loaded
>
> I'm not sure why the header files aren't copied. I checked
> another install I did and they are there.
>
> I guess I should also say I am building Apache using DSO
I take it that you installed mod_perl from
/home/Chrisp/mod_perl-1.27/ into your system Perl tree,
and are not using it from their (via a PERL5LIB setting,
for example)?
If you did install things into your Perl system tree,
did it try to install the header files? If it did,
but failed, was an error reported?
Does
bash$ perl -MApache::src -e "print Apache::src->new->inc"
report one of the directories under which mod_perl.h is
located?
--
best regards,
randy
Re: Problem building libapreq-1.2
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
[ adding the apreq-dev list ]
On Wed, 25 Jun 2003, Chris Pizzo wrote:
> At 04:50 PM 6/24/2003, Chris Pizzo wrote:
> >Hi all,
> >I am trying to install libapreq-1.2 on my redhat 8.0 system.
[ .. ]
> >and when i run make i get a bunch of errors:
> >Request.xs:41:22: mod_perl.h: No such file or directory
> >Request.xs:87: parse error before "SV"
> >I built mod_perl with the EVERYTHING=1 switch.
[ .. ]
> When I do :
> locate mod_perl.h
>
> I get:
> /home/Chrisp/mod_perl-1.27/apaci/mod_perl.h
> /home/Chrisp/mod_perl-1.27/src/modules/perl/mod_perl.h
> /home/Chrisp/mod_perl-1.27/htdocs/manual/mod/mod_perl.html
>
> http server-info shows the mod_perl module loaded
>
> I'm not sure why the header files aren't copied. I checked
> another install I did and they are there.
>
> I guess I should also say I am building Apache using DSO
I take it that you installed mod_perl from
/home/Chrisp/mod_perl-1.27/ into your system Perl tree,
and are not using it from their (via a PERL5LIB setting,
for example)?
If you did install things into your Perl system tree,
did it try to install the header files? If it did,
but failed, was an error reported?
Does
bash$ perl -MApache::src -e "print Apache::src->new->inc"
report one of the directories under which mod_perl.h is
located?
--
best regards,
randy
Re: Problem building libapreq-1.2
Posted by Chris Pizzo <ch...@artinside.com>.
When I do :
locate mod_perl.h
I get:
/home/Chrisp/mod_perl-1.27/apaci/mod_perl.h
/home/Chrisp/mod_perl-1.27/src/modules/perl/mod_perl.h
/home/Chrisp/mod_perl-1.27/htdocs/manual/mod/mod_perl.html
http server-info shows the mod_perl module loaded
I'm not sure why the header files aren't copied. I checked another install
I did and they are there.
I guess I should also say I am building Apache using DSO
Thanks for the help,
Chris
At 04:50 PM 6/24/2003, Chris Pizzo wrote:
>Hi all,
>I am trying to install libapreq-1.2 on my redhat 8.0 system. I keep
>getting these warnings when i run perl Makefile.PL:
>
>Warning: -L../blib/arch/auto/libapreq changed to
>-L/home/Chrisp/libapreq-1.2/Request/../blib/arch/auto/libapreq
>Warning: -L../blib/arch/auto/libapreq changed to
>-L/home/Chrisp/libapreq-1.2/Cookie/../blib/arch/auto/libapreq
>
>and when i run make i get a bunch of errors:
>
>Request.xs:41:22: mod_perl.h: No such file or directory
>Request.xs:87: parse error before "SV"
>.
>.
>.
>make[1]: *** [Request.o] Error 1
>make[1]: Leaving directory `/home/Chrisp/libapreq-1.2/Request'
>make: *** [subdirs] Error 2
>
>
>I'm not sure what is wrong.
>
>I built mod_perl with the EVERYTHING=1 switch.
>
>I also re-built perl to be non-multi-threaded. Any pionters as to what is
>wrong appreciated.
>
>Thanks,
>Chris