Mailing List Archive

Fwd: Embperl for RedHat EL6
Hi,



I’m trying to build embperl for Redhat Enterprise Linux 6 64bit

Apache version: Apache/2.2.15 (Unix)

Perl version: 5.10

Linux: osvers=2.6.18-194.8.1.el5, archname=x86_64-linux-thread-multi

mod_perl version: 2.0.4



Currently it fails building the Makefile:



#perl Makefile.PL /usr/include/httpd

Will use /usr/include/httpd for Apache Headers

Enter path and file to start as httpd
[/usr/include/httpd/httpd]/usr/sbin/httpd

Apache Version Server version: Apache/2.2.15 (Unix)

Library for mod_actions.c not found, please enter path to mod_actions.so
[]/usr/lib64/httpd/modules

+ Load dynamic module mod_actions.c

(/usr/lib64/httpd/modules/mod_actions.so)

+ Load dynamic module mod_cgi.c

(/usr/lib64/httpd/modules/mod_cgi.so)

+ Load dynamic module mod_alias.c

(/usr/lib64/httpd/modules/mod_alias.so)

+ Load dynamic module mod_env.c

(/usr/lib64/httpd/modules/mod_env.so)

+ Load dynamic module mod_perl.c

(/usr/lib64/httpd/modules/mod_perl.so)

+ Load dynamic module mod_mime.c

(/usr/lib64/httpd/modules/mod_mime.so)

+ Load dynamic module mod_dir.c

(/usr/lib64/httpd/modules/mod_dir.so)

+ mod_perl was build with USE_DSO

Can't locate Apache/src.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
Makefile.PL line 1019, <STDIN> line 2.



Does anyone know how to fix it?



Regards,

Renno Reinurm
Re: Fwd: Embperl for RedHat EL6 [ In reply to ]
I had a similar problem with Fedora, using Perl 5.10 and I reported this
case.
I believe Apache2::BuildConfig is missing on your system, that is why it
looks for mod_perl 1.x

Soltan

On 01/05/2011 11:12 AM, Renno Reinurm wrote:
>
>
> Hi,
>
> I’m trying to build embperl for Redhat Enterprise Linux 6 64bit
>
> Apache version: Apache/2.2.15 (Unix)
>
> Perl version: 5.10
>
> Linux: osvers=2.6.18-194.8.1.el5, archname=x86_64-linux-thread-multi
>
> mod_perl version: 2.0.4
>
> Currently it fails building the Makefile:
>
> #perl Makefile.PL /usr/include/httpd
>
> Will use /usr/include/httpd for Apache Headers
>
> Enter path and file to start as httpd
> [/usr/include/httpd/httpd]/usr/sbin/httpd
>
> Apache Version Server version: Apache/2.2.15 (Unix)
>
> Library for mod_actions.c not found, please enter path to
> mod_actions.so []/usr/lib64/httpd/modules
>
> + Load dynamic module mod_actions.c
>
> (/usr/lib64/httpd/modules/mod_actions.so)
>
> + Load dynamic module mod_cgi.c
>
> (/usr/lib64/httpd/modules/mod_cgi.so)
>
> + Load dynamic module mod_alias.c
>
> (/usr/lib64/httpd/modules/mod_alias.so)
>
> + Load dynamic module mod_env.c
>
> (/usr/lib64/httpd/modules/mod_env.so)
>
> + Load dynamic module mod_perl.c
>
> (/usr/lib64/httpd/modules/mod_perl.so)
>
> + Load dynamic module mod_mime.c
>
> (/usr/lib64/httpd/modules/mod_mime.so)
>
> + Load dynamic module mod_dir.c
>
> (/usr/lib64/httpd/modules/mod_dir.so)
>
> + mod_perl was build with USE_DSO
>
> Can't locate Apache/src.pm <http://src.pm> in @INC (@INC contains:
> /usr/local/lib64/perl5 /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
> /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1019, <STDIN>
> line 2.
>
> Does anyone know how to fix it?
>
> Regards,
>
> Renno Reinurm
>
>
Re: Fwd: Embperl for RedHat EL6 [ In reply to ]
Indeed. In RedHat EL 5.5 Apache2::BuildConfig was part of the package
mod_perl. In v6 it is in package mod_perl-devel. Issue fixed now. I managed
to compile the EmbPerl and passed all tests as well :)
Thanks a lot for everyone.

Regards,
Renno

On Thu, Jan 6, 2011 at 9:51 PM, Soltan Safavi <soltan@mycopa.com> wrote:

> I had a similar problem with Fedora, using Perl 5.10 and I reported this
> case.
> I believe Apache2::BuildConfig is missing on your system, that is why it
> looks for mod_perl 1.x
>
> Soltan
>
>
> On 01/05/2011 11:12 AM, Renno Reinurm wrote:
>
>
>
> Hi,
>
>
>
> I’m trying to build embperl for Redhat Enterprise Linux 6 64bit
>
> Apache version: Apache/2.2.15 (Unix)
>
> Perl version: 5.10
>
> Linux: osvers=2.6.18-194.8.1.el5, archname=x86_64-linux-thread-multi
>
> mod_perl version: 2.0.4
>
>
>
> Currently it fails building the Makefile:
>
>
>
> #perl Makefile.PL /usr/include/httpd
>
> Will use /usr/include/httpd for Apache Headers
>
> Enter path and file to start as httpd
> [/usr/include/httpd/httpd]/usr/sbin/httpd
>
> Apache Version Server version: Apache/2.2.15 (Unix)
>
> Library for mod_actions.c not found, please enter path to mod_actions.so
> []/usr/lib64/httpd/modules
>
> + Load dynamic module mod_actions.c
>
> (/usr/lib64/httpd/modules/mod_actions.so)
>
> + Load dynamic module mod_cgi.c
>
> (/usr/lib64/httpd/modules/mod_cgi.so)
>
> + Load dynamic module mod_alias.c
>
> (/usr/lib64/httpd/modules/mod_alias.so)
>
> + Load dynamic module mod_env.c
>
> (/usr/lib64/httpd/modules/mod_env.so)
>
> + Load dynamic module mod_perl.c
>
> (/usr/lib64/httpd/modules/mod_perl.so)
>
> + Load dynamic module mod_mime.c
>
> (/usr/lib64/httpd/modules/mod_mime.so)
>
> + Load dynamic module mod_dir.c
>
> (/usr/lib64/httpd/modules/mod_dir.so)
>
> + mod_perl was build with USE_DSO
>
> Can't locate Apache/src.pm in @INC (@INC contains: /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
> Makefile.PL line 1019, <STDIN> line 2.
>
>
>
> Does anyone know how to fix it?
>
>
>
> Regards,
>
> Renno Reinurm
>
>