Answer the question
In order to leave comments, you need to log in
How to run make install command without errors while installing Apache?
Hello! I install Apache according to this manual - php.net/manual/ru/install.unix.apache2.php .
Errors:
[email protected]:~/httpd-2.2.31$ make install
Making install in srclib
make[1]: Вход в каталог `/home/django/httpd-2.2.31/srclib'
Making install in apr
make[2]: Вход в каталог `/home/django/httpd-2.2.31/srclib/apr'
make[3]: Вход в каталог `/home/django/httpd-2.2.31/srclib/apr'
make[3]: Цель `local-all' не требует выполнения команд.
make[3]: Выход из каталога `/home/django/httpd-2.2.31/srclib/apr'
/home/django/httpd-2.2.31/srclib/apr/build/mkdir.sh /usr/local/apache2/lib /usr/local/apache2/bin /usr/local/apache2/build \
/usr/local/apache2/lib/pkgconfig /usr/local/apache2/include
/usr/bin/install -c -m 644 /home/django/httpd-2.2.31/srclib/apr/include/apr.h /usr/local/apache2/include
/usr/bin/install: невозможно перезаписать каталог «/usr/local/apache2/include/apr.h» файлом, не являющимся каталогом
make[2]: *** [install] Ошибка 1
make[2]: Выход из каталога `/home/django/httpd-2.2.31/srclib/apr'
make[1]: *** [install-recursive] Ошибка 1
make[1]: Выход из каталога `/home/django/httpd-2.2.31/srclib'
make: *** [install-recursive] Ошибка 1
Answer the question
In order to leave comments, you need to log in
apt-get install apache2
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0
You don't need to install ANY software on Linux from source until you understand 100% why you need to install from source.
To solve your problem - installing standard software, there are package managers. Since you have ubuntu - read about apt (commands in the apt-get, apt-cache console).
To install apache2, open the terminal program and type in it:
You will be asked to enter the password of the current user - enter it and then you will have apache installed.
Ну правильный путь через apt-get, а так скорее всего не хватает sudo перед make install.
Для установки софта из исходников обычно используют три команды:
./configure
make
sudo make install
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question