RE: make error compiling mod_perl on RH7.1

2002-11-11 Thread Witchy
Thanks for that, Stas. I'll see if I can get my hands on 5.6.1 since the
current release has too many dependencies to resolve with RH7.1 without the
possibility of something getting Broken :)

cheers!

--
adrian/witchy
www.binarydinosaurs.co.uk - the online computer museum
www.snakebiteandblack.co.uk - monthly gothic shenanigans


 -Original Message-
 From: Stas Bekman [mailto:stas;stason.org]
 Sent: 11 November 2002 04:36
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: make error compiling mod_perl on RH7.1


 Witchy wrote:
  Hi all,
 
  Trying to compile mod_perl 2.0 for my RH7.1/Apache 2.0.39 server and it
  falls over with this error:
 
  apr_perlio.c: In function `apr_perlio_apr_file_to_glob':
  apr_perlio.c:573: `IoTYPE_WRONLY' undeclared (first use in this
 function)
  apr_perlio.c:573: (Each undeclared identifier is reported only once
  apr_perlio.c:573: for each function it appears in.)
  apr_perlio.c:577: `IoTYPE_RDONLY' undeclared (first use in this
 function)
  make[3]: *** [apr_perlio.o] Error 1
  make[3]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs/APR/PerlIO'
  make[2]: *** [subdirs] Error 2
  make[2]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs/APR'
  make[1]: *** [subdirs] Error 2
  make[1]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs'
  make: *** [subdirs] Error 2
 
  When I ran 'perl Makefile.PL' etc with the correct location for
 my apache
  setup the only thing it complained about was the fact I was
 using Perl 5.6.0
  and it recommended 5.6.1 or above. Before I trawl the dependencies tree
  trying to install a later version has anyone seen that problem
 before and do
  I really need to upgrade my perl installation?

 As somebody else has pointed out you won't have a problem if you run
 Perl 5.6.1 or higher. Let me check with other developers if 2.0 will
 eventually require 5.6.1 which is much better thatn 5.6.0. Or whether we
 should backport things to 5.6.0 as well. The reason is that macros
 IoTYPE_WRONLY and IoTYPE_RDONLY were introduced in 5.6.1.


 __
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker
 http://stason.org/ mod_perl Guide --- http://perl.apache.org
 mailto:stas;stason.org http://use.perl.org http://apacheweek.com
 http://modperlbook.org http://apache.org   http://ticketmaster.com





RE: make error compiling mod_perl on RH7.1

2002-11-11 Thread Witchy


 -Original Message-
 From: Stas Bekman [mailto:stas;stason.org]
 Sent: 11 November 2002 10:24
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: make error compiling mod_perl on RH7.1

 I think moving to 5.6.1 from 5.6.0 should be very easy. I'm sure RH has
 RPMs with 5.6.1.

I'll check.

 When you say current release, do you mean 5.8.0? I still have almost 4K
 emails to catch up with at p5p, but I'm being told by those who work
 instead of traveling, that 5.8.0 has some problems :(

The version I've got here is 5.8.0-55 so I'll stick with trying the one
point release first :)

cheers

w




make error compiling mod_perl on RH7.1

2002-11-08 Thread Witchy
Hi all,

Trying to compile mod_perl 2.0 for my RH7.1/Apache 2.0.39 server and it
falls over with this error:

apr_perlio.c: In function `apr_perlio_apr_file_to_glob':
apr_perlio.c:573: `IoTYPE_WRONLY' undeclared (first use in this function)
apr_perlio.c:573: (Each undeclared identifier is reported only once
apr_perlio.c:573: for each function it appears in.)
apr_perlio.c:577: `IoTYPE_RDONLY' undeclared (first use in this function)
make[3]: *** [apr_perlio.o] Error 1
make[3]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs/APR/PerlIO'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs/APR'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/adrian/mod_perl-1.99_07/xs'
make: *** [subdirs] Error 2

When I ran 'perl Makefile.PL' etc with the correct location for my apache
setup the only thing it complained about was the fact I was using Perl 5.6.0
and it recommended 5.6.1 or above. Before I trawl the dependencies tree
trying to install a later version has anyone seen that problem before and do
I really need to upgrade my perl installation?

Thanks in advance,

--
adrian/witchy
www.binarydinosaurs.co.uk - the online computer museum
www.snakebiteandblack.co.uk - monthly gothic shenanigans