Thread: centos 6.2 x64 install mod_perl error

  1. 云栖社区>
  2. 博客>
  3. 正文

Thread: centos 6.2 x64 install mod_perl error

白及88 2016-03-10 21:45:00 浏览1281
展开阅读全文
  1. https://forum.directadmin.com/showthread.php?t=43558

  2. Unhappy centos 6.2 x64 install mod_perl error

    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.
  3. #2
    zEitEr's Avatar
    zEitEr is offlineVerified User
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    9,421
    Hello,

    Try this

    Code:
    yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
    Code:
    cpan install ExtUtils::Install
    With regards, Alex.

     Professional Server Management for web hosting companies and individuals
     Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
     Directadmin installation and optimization

    #50013
  4. #3
    phpru is offlineVerified User
    Join Date
    Feb 2010
    Location
    Russia, Moscow
    Posts
    9

    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
  5. #4
    zEitEr's Avatar
    zEitEr is offlineVerified User
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    9,421
    yum install cpan
    yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
    cpan install ExtUtils::Install
    With regards, Alex.

     Professional Server Management for web hosting companies and individuals
     Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
     Directadmin installation and optimization

    #50013
  6. #5
    phpru is offlineVerified User
    Join Date
    Feb 2010
    Location
    Russia, Moscow
    Posts
    9
    - Is established. But Sun still the same error. really only have a problem. tried all over again Well you never know.
  7. #6
    zEitEr's Avatar
    zEitEr is offlineVerified User
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    9,421
    Sorry what? The same error is which one?
    With regards, Alex.

     Professional Server Management for web hosting companies and individuals
     Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
     Directadmin installation and optimization

    #50013
  8. #7
    phpru is offlineVerified User
    Join Date
    Feb 2010
    Location
    Russia, Moscow
    Posts
    9
    I have changed nothing. the error remains. Who knows what's the problem?
  9. #8
    zEitEr's Avatar
    zEitEr is offlineVerified User
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    9,421
    Did you install software with those commands I posted previously?
    With regards, Alex.

     Professional Server Management for web hosting companies and individuals
     Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
     Directadmin installation and optimization

    #50013
  10. #9
    phpru is offlineVerified User
    Join Date
    Feb 2010
    Location
    Russia, Moscow
    Posts
    9
    Yes everything was installed with no problems
  11. #10
    zEitEr's Avatar
    zEitEr is offlineVerified User
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    9,421
    OK, try this one 

    Code:
    yum install perl-ExtUtils-Embed
    and then try to build apache.
    With regards, Alex.

     Professional Server Management for web hosting companies and individuals
     Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
     Directadmin installation and optimization

    #50013
  12. #11
    phpru is offlineVerified User
    Join Date
    Feb 2010
    Location
    Russia, Moscow
    Posts
    9
    wow. Greate! now that's work. Thank you!!!



网友评论

登录后评论
0/500
评论
白及88
+ 关注