fresh new installation of DA runs into errors Can't locate File/Path.pm in @INC etc....

Unifex

Verified User
Joined
Nov 24, 2016
Messages
13
I am installing DA on a fresh new centos 7 server and i run into this error with the auto install command (same error in manual install)

I did run the pre-install commands and after that I run the setup with this command:

bash <(curl -Ss https://www.directadmin.com/setup.sh) auto

in about two minuts the script stops with this error.


Configuring httpd-2.4.46
Can't locate File/Path.pm in @INC (@INC contains: /usr/share/autoconf /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 /usr/share/autoconf/Autom4te/General.pm line 41.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/General.pm line 41.
Compilation failed in require at /usr/bin/autoreconf line 43.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 43.
grep: configure: No such file or directory
Can't open configure: No such file or directory.
/usr/local/directadmin/custombuild/configure/ap2/configure.apache: line 3: ./configure: No such file or directory

*** There was an error while trying to configure Apache 2. Check the configure/ap2/configure.apache file
grep: /etc/csf/csf.conf: No such file or directory
PHP has been secured.
You have new mail in /var/spool/mail/root

Anybody ?
 
Solution:
yum remove perl
yum install perl
run the pre-install commands again
setup.sh - no problems.
 
Back
Top