Re: failure to build Apache2::Request

2011-01-31 Thread William Bulley
According to Joe Schaefer  on Sun, 01/30/11 at 12:36:
> 
> FreeBSD has a port for www/p5-libapreq2

THANK YOU!   :-)

I had looked for Apache2 and Request (case sensitive) in /usr/ports and
finding none was forced to consider CPAN modules.  I would have never
thought to have looked for (lowercase) libapreq2 - in fact the number
of www/p5- ports in FreeBSD with all lowercase names is less than ten
(10!) and this is an up-to-date (8.2-PRERELEASE) system - go figure...  :-)

Regards,

web...

--
William Bulley Email: w...@umich.edu

72 characters width template ->|


Re: failure to build Apache2::Request

2011-01-30 Thread Joe Schaefer
FreeBSD has a port for www/p5-libapreq2



- Original Message 
> From: William Bulley 
> To: modperl@perl.apache.org
> Cc: Issac Goldstand 
> Sent: Thu, January 27, 2011 2:16:45 PM
> Subject: failure to build Apache2::Request
> 
> According to Issac Goldstand  on Thu, 01/27/11  at 
13:59:
> >
> > It looks like it's missing .h files from  mod_perl...  Might I suggest
> > you post this question (with the build  output) to
> > modperl@perl.apache.org?  There  are some people there who knwo mod_perl
> > better than myself who might be  able to quickly figure out what's wrong...
> > 
> >   Issac
> > 
> > On 27/01/2011 20:40, William Bulley wrote:
> > >
> > >  According to Issac Goldstand  on Thu, 01/27/11  at 
>13:37:
> > > >
> > > > I must have missed that bit, but  yes, it does need mod_perl (unless you
> > > > want to disable the  Perl glue, which judging by your getting it from
> > > > CPAN, I  assume you want).  The reason is that the APR C library Perl
> > >  > glue, needed by the apreq Perl glue (aka Apache2::Request) is bundled  
>in
> > > > mod_perl 2
> > >
> > > I don't understand  everything you say above.  I was forced to use CPAN
> > > since  there was no Apache2::Request port on my FreeBSD workstation.
> >  >
> > > I ended up building mod_perl2 and things seemed to work better  with
> > > respect to installing Apache2::Request via CPAN.  Yet it  still errors
> > > out (see the attachment I last sent you).  I need  to build 
>Apache2::Request
> > > so I can build other Perl modules that  depend on it (and the application
> > > which depends on all these and  more).  What do I need to do to get the
> > > CPAN module to build  correctly?  The needed file is there, but the INC
> > > chain is  missing the full path to that include file.  I don't know if
> > > I  should change the *.c (or *.xs in this case) source file, of somehow
> >  > change the Makefile so that the correct path is included in the INC
> >  > make variable.  Your advice is urgently sought!  Thanks.:-)
> 
> I have attached the complete build log for Apache2::Request which  shows
> the failure (near the end) to compile Request.c due to an incorrect  INC
> path for an include file that does exist, but not where the  Request.xs
> file thinks it is (using a #include "file.h"  statement).
> 
> This is on FreeBSD 8.2-PRERELEASE with the following ports in  place:
> 
>ap22-mod_perl2-2.0.4_2,3
> apache-2.2.17_1
> 
> Regards,
> 
> web...
> 
> --
> William Bulley  Email: w...@umich.edu
> 
> 72 characters width  template ->|
>