./build php_ap2
Trying to make php...
make: *** No targets specified and no makefile found. Stop.
./build mod_perl_ap2
[root@67 customapache]# ./build mod_perl_ap2
Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz
Extracting ...
Done.
Nuking previous mod_perl install (or configure will fail)...
Configuring mod_perl-2.0.3...
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/sbin/apxs
MP_APR_CONFIG = /usr/bin/apr-1-config
MP_APU_CONFIG = /usr/bin/apu-1-config
no conflicting prior mod_perl version found - good.
Configuring Apache/2.0.59 mod_perl/2.0.3 Perl/v5.8.8
[ error] Can't resolve host: 'localhost' (check /etc/hosts)
[ error] Can't resolve host: 'localhost' (check /etc/hosts)
Done. Making mod_perl-2.0.3...
Trying to make mod_perl-2.0...
make: *** No targets specified and no makefile found. Stop.
*** The make has failed, do you want to try to make again? (y,n):
Hey there,
I'll skip the foreplay and get straight to the point. Perl won't compile.
Every time I get to the
part, I always get this:Code:./build mod_perl_ap2
I've tried updating Perl through Yum to no avail. Any help will be greatly appreciated!Code:[root@67 customapache]# ./build mod_perl_ap2 Found /usr/local/directadmin/customapache/mod_perl-2.0-current.tar.gz Extracting ... Done. Nuking previous mod_perl install (or configure will fail)... Configuring mod_perl-2.0.3... Reading Makefile.PL args from @ARGV MP_APXS = /usr/sbin/apxs MP_APR_CONFIG = /usr/bin/apr-1-config MP_APU_CONFIG = /usr/bin/apu-1-config no conflicting prior mod_perl version found - good. Configuring Apache/2.0.59 mod_perl/2.0.3 Perl/v5.8.8 [ error] Can't resolve host: 'localhost' (check /etc/hosts) [ error] Can't resolve host: 'localhost' (check /etc/hosts) Done. Making mod_perl-2.0.3... Trying to make mod_perl-2.0... make: *** No targets specified and no makefile found. Stop. *** The make has failed, do you want to try to make again? (y,n):
Alex.
./build update
Turns out the reason is directadmin screwed up the /etc/hosts file (at least I think it was DA, I didn't touch it). The localhost line was messed up. It had ::1 instead of 127.0.0.1
That depends on your OS distribution. On RH and CentOS systems it's:ok then how do i start up directadmin ?
which file starts it?
is it like 'service da start' ?
service directadmin restart
Unfortunately I have no idea. You should check to make sure your update didn't somehow overwrite the ssh config file (though I don't see how it could haveand another thing, i noticed that, i cant connect to ssh anymore , but fortunately, i still have SSH open.
im worried that once i close this putty, i will forever lose my ability to login to SSH.
how can i tackle this matter?
Please help me... :'(
when I execute:
After about 1 minute receive this error:
Why...? Please help me :'(
and delete php x.x.x folder then build php again with yCode:cd /usr/local/directadmin/customapache
Wael