You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Witchy <wi...@binarydinosaurs.co.uk> on 2002/11/08 10:10:44 UTC

make error compiling mod_perl on RH7.1

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


Re: make error compiling mod_perl on RH7.1

Posted by Stas Bekman <st...@stason.org>.
Witchy wrote:
> 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 :)

Doug says that we want 2.0 to compile under perl 5.6.0, even though you 
won't get all the features (e.g. perlio, on which other features depend) 
and you should remember that perl version is very buggy.

In any case, if you try the current cvs you should be able to compile 
2.0 with 5.6.0 again.

>>-----Original Message-----
>>From: Stas Bekman [mailto:stas@stason.org]
>>Sent: 11 November 2002 04:36
>>To: witchy@binarydinosaurs.co.uk
>>Cc: modperl@perl.apache.org
>>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 Bekman            JAm_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
>>
> 


-- 


__________________________________________________________________
Stas Bekman            JAm_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

Posted by Witchy <wi...@binarydinosaurs.co.uk>.
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: witchy@binarydinosaurs.co.uk
> Cc: modperl@perl.apache.org
> 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 Bekman            JAm_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

Posted by Stas Bekman <st...@stason.org>.
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 Bekman            JAm_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