centos 6.2 x64 install mod_perl error

phpru

Verified User
Joined
Feb 26, 2010
Messages
9
Location
Russia, Moscow
i install new directadmin on centos 6.2 x 64 and after install
# cd /usr/local/directadmin/custombuild
# ./build clean
# ./build mod_perl

and.... error

File already exists: mod_perl-2.0.4.tar.gz
MD5 Checksum on mod_perl-2.0.4.tar.gz passed.
Found /usr/local/directadmin/custombuild/mod_perl-2.0.4.tar.gz
Extracting ...
Done.
Configuring mod_perl-2.0.4...
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: lib Apache-Test/lib /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 lib/Apache2/Build.pm line 27.
BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 27.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 36.
Done. Making mod_perl-2.0.4...
Trying to make mod_perl...
make: *** No targets specified and no makefile found. Stop.

*** The make has failed, would you like to try to make again? (y,n):


tell me what is wrong. can not figure out where to dig. earlier in this version never set. was put on 5.8 with no problems.
 
Hello,

Try this

Code:
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker

Code:
cpan install ExtUtils::Install
 
where you need to enter a command?

cpan install ExtUtils::Install - -bash: cpan: command not found

and

perl -MCPAN -e shell -

Can't locate CPAN.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 .).
BEGIN failed--compilation aborted.

a similar error as if something is missing. What else can be done. really do not want to install CentOS 5.8
 
yum install cpan
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
cpan install ExtUtils::Install
 
- Is established. But Sun still the same error. really only have a problem. tried all over again Well you never know.
 
OK, try this one

Code:
yum install perl-ExtUtils-Embed

and then try to build apache.
 
Back
Top