error while installing apache
I am getting error while processing make install
.
My code is as follows:
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
Error is as follow :
...
Building shared: mod_mime.la
make[4]: Entering directory '/httpd/modules/http'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_mime.c && touch mod_mime.slo
/usr/local/apr/build-2/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -o mod_mime.la -rpath /usr/local/modules -module -avoid-version mod_mime.lo
make[4]: Leaving directory '/httpd/modules/http'
make[3]: Leaving directory '/httpd/modules/http'
make[3]: Entering directory '/httpd/modules/http2'
Building shared: mod_http2.la
make[4]: Entering directory '/httpd/modules/http2'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_h2.c && touch mod_h2.slo
mod_h2.c:25:29: fatal error: nghttp2/nghttp2.h: No such file or directory
#include <nghttp2/nghttp2.h>
^
compilation terminated.
/httpd/build/rules.mk:213: recipe for target 'mod_h2.slo' failed
make[4]: *** [mod_h2.slo] Error 1
make[3]: *** [shared-build-recursive] Error 1
make[4]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[3]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[2]: Leaving directory '/httpd/modules'
make[2]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[1]: Leaving directory '/httpd'
make[1]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Please provide me the solution
server software-installation apache2 apache2.4
bumped to the homepage by Community♦ 10 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am getting error while processing make install
.
My code is as follows:
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
Error is as follow :
...
Building shared: mod_mime.la
make[4]: Entering directory '/httpd/modules/http'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_mime.c && touch mod_mime.slo
/usr/local/apr/build-2/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -o mod_mime.la -rpath /usr/local/modules -module -avoid-version mod_mime.lo
make[4]: Leaving directory '/httpd/modules/http'
make[3]: Leaving directory '/httpd/modules/http'
make[3]: Entering directory '/httpd/modules/http2'
Building shared: mod_http2.la
make[4]: Entering directory '/httpd/modules/http2'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_h2.c && touch mod_h2.slo
mod_h2.c:25:29: fatal error: nghttp2/nghttp2.h: No such file or directory
#include <nghttp2/nghttp2.h>
^
compilation terminated.
/httpd/build/rules.mk:213: recipe for target 'mod_h2.slo' failed
make[4]: *** [mod_h2.slo] Error 1
make[3]: *** [shared-build-recursive] Error 1
make[4]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[3]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[2]: Leaving directory '/httpd/modules'
make[2]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[1]: Leaving directory '/httpd'
make[1]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Please provide me the solution
server software-installation apache2 apache2.4
bumped to the homepage by Community♦ 10 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Rollback. Why? After your edit it's a completely different question.
– A.B.
Sep 24 '15 at 14:10
add a comment |
I am getting error while processing make install
.
My code is as follows:
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
Error is as follow :
...
Building shared: mod_mime.la
make[4]: Entering directory '/httpd/modules/http'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_mime.c && touch mod_mime.slo
/usr/local/apr/build-2/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -o mod_mime.la -rpath /usr/local/modules -module -avoid-version mod_mime.lo
make[4]: Leaving directory '/httpd/modules/http'
make[3]: Leaving directory '/httpd/modules/http'
make[3]: Entering directory '/httpd/modules/http2'
Building shared: mod_http2.la
make[4]: Entering directory '/httpd/modules/http2'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_h2.c && touch mod_h2.slo
mod_h2.c:25:29: fatal error: nghttp2/nghttp2.h: No such file or directory
#include <nghttp2/nghttp2.h>
^
compilation terminated.
/httpd/build/rules.mk:213: recipe for target 'mod_h2.slo' failed
make[4]: *** [mod_h2.slo] Error 1
make[3]: *** [shared-build-recursive] Error 1
make[4]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[3]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[2]: Leaving directory '/httpd/modules'
make[2]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[1]: Leaving directory '/httpd'
make[1]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Please provide me the solution
server software-installation apache2 apache2.4
I am getting error while processing make install
.
My code is as follows:
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
Error is as follow :
...
Building shared: mod_mime.la
make[4]: Entering directory '/httpd/modules/http'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_mime.c && touch mod_mime.slo
/usr/local/apr/build-2/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -o mod_mime.la -rpath /usr/local/modules -module -avoid-version mod_mime.lo
make[4]: Leaving directory '/httpd/modules/http'
make[3]: Leaving directory '/httpd/modules/http'
make[3]: Entering directory '/httpd/modules/http2'
Building shared: mod_http2.la
make[4]: Entering directory '/httpd/modules/http2'
/usr/local/apr/build-2/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/httpd/os/unix -I/httpd/include -I/usr/local/apr/include/apr-2 -I/httpd/modules/aaa -I/httpd/modules/cache -I/httpd/modules/core -I/httpd/modules/database -I/httpd/modules/filters -I/httpd/modules/ldap -I/httpd/modules/loggers -I/httpd/modules/lua -I/httpd/modules/proxy -I/httpd/modules/session -I/httpd/modules/ssl -I/httpd/modules/test -I/httpd/server -I/httpd/modules/arch/unix -I/httpd/modules/dav/main -I/httpd/modules/generators -I/httpd/modules/mappers -prefer-pic -c mod_h2.c && touch mod_h2.slo
mod_h2.c:25:29: fatal error: nghttp2/nghttp2.h: No such file or directory
#include <nghttp2/nghttp2.h>
^
compilation terminated.
/httpd/build/rules.mk:213: recipe for target 'mod_h2.slo' failed
make[4]: *** [mod_h2.slo] Error 1
make[3]: *** [shared-build-recursive] Error 1
make[4]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[3]: Leaving directory '/httpd/modules/http2'
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[2]: Leaving directory '/httpd/modules'
make[2]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:117: recipe for target 'shared-build-recursive' failed
make[1]: Leaving directory '/httpd'
make[1]: *** [shared-build-recursive] Error 1
/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Please provide me the solution
server software-installation apache2 apache2.4
server software-installation apache2 apache2.4
edited Sep 24 '15 at 14:09
A.B.
68.8k12169260
68.8k12169260
asked Sep 24 '15 at 12:38
Ravi _SSRavi _SS
1411211
1411211
bumped to the homepage by Community♦ 10 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 10 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Rollback. Why? After your edit it's a completely different question.
– A.B.
Sep 24 '15 at 14:10
add a comment |
Rollback. Why? After your edit it's a completely different question.
– A.B.
Sep 24 '15 at 14:10
Rollback. Why? After your edit it's a completely different question.
– A.B.
Sep 24 '15 at 14:10
Rollback. Why? After your edit it's a completely different question.
– A.B.
Sep 24 '15 at 14:10
add a comment |
2 Answers
2
active
oldest
votes
The part
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
is pretty confusing. But because of the error message:
Install the missing libraries via
sudo apt-get install libnghttp2-dev
sudo apt-get install libxml2-dev
And you have to use
sudo make install
instead of
make install
at the end of your command queue. Otherwise you will probably get immediately the next error.
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
1
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
|
show 3 more comments
The reason you're getting the error: "/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed" is because you're missing the development libraries for Apache2.
Do this: sudo apt install apache2-dev -y
; sudo make
; sudo make install
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f677883%2ferror-while-installing-apache%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The part
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
is pretty confusing. But because of the error message:
Install the missing libraries via
sudo apt-get install libnghttp2-dev
sudo apt-get install libxml2-dev
And you have to use
sudo make install
instead of
make install
at the end of your command queue. Otherwise you will probably get immediately the next error.
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
1
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
|
show 3 more comments
The part
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
is pretty confusing. But because of the error message:
Install the missing libraries via
sudo apt-get install libnghttp2-dev
sudo apt-get install libxml2-dev
And you have to use
sudo make install
instead of
make install
at the end of your command queue. Otherwise you will probably get immediately the next error.
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
1
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
|
show 3 more comments
The part
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
is pretty confusing. But because of the error message:
Install the missing libraries via
sudo apt-get install libnghttp2-dev
sudo apt-get install libxml2-dev
And you have to use
sudo make install
instead of
make install
at the end of your command queue. Otherwise you will probably get immediately the next error.
The part
git clone https://github.com/apache/httpd.git
cd httpd
svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./build libtool && make && make install
./buildconf && ./configure --prefix=/usr/local && make && make install
echo "ServerName localhost" >> /usr/local/conf/httpd.conf
is pretty confusing. But because of the error message:
Install the missing libraries via
sudo apt-get install libnghttp2-dev
sudo apt-get install libxml2-dev
And you have to use
sudo make install
instead of
make install
at the end of your command queue. Otherwise you will probably get immediately the next error.
edited Sep 24 '15 at 13:49
answered Sep 24 '15 at 13:17
A.B.A.B.
68.8k12169260
68.8k12169260
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
1
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
|
show 3 more comments
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
1
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
still getting error as follow
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
checking Expat 1.0/1.1... no setting LDFLAGS to "-L/usr/local/lib" setting INCLUDES to "-I/usr/local/include" checking Expat 1.95.x in /usr/local... no nulling LDFLAGS nulling INCLUDES setting APRUTIL_EXPORT_LIBS to "" configure: error: No XML parser found! Please specify --with-expat or --with-libxml2 time="2015-09-24T18:57:58+05:30" level=info msg="The command [/bin/sh -c svn co svn.apache.org/repos/asf/apr/apr/trunk srclib/apr && cd srclib/apr && ./buildconf && ./configure && make && make install] returned a non-zero code: 1"
– Ravi _SS
Sep 24 '15 at 13:29
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
sudo apt-get install libxml2-dev
– A.B.
Sep 24 '15 at 13:31
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
But already you realize that this is a new problem?
– A.B.
Sep 24 '15 at 13:32
1
1
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
@Ravi_SS: you cannot keep on asking questions in the comments, please edit your original question and remove all these comments or just ask a new question for well... every new question you have!
– Fabby
Sep 24 '15 at 14:19
|
show 3 more comments
The reason you're getting the error: "/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed" is because you're missing the development libraries for Apache2.
Do this: sudo apt install apache2-dev -y
; sudo make
; sudo make install
add a comment |
The reason you're getting the error: "/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed" is because you're missing the development libraries for Apache2.
Do this: sudo apt install apache2-dev -y
; sudo make
; sudo make install
add a comment |
The reason you're getting the error: "/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed" is because you're missing the development libraries for Apache2.
Do this: sudo apt install apache2-dev -y
; sudo make
; sudo make install
The reason you're getting the error: "/httpd/build/rules.mk:75: recipe for target 'all-recursive' failed" is because you're missing the development libraries for Apache2.
Do this: sudo apt install apache2-dev -y
; sudo make
; sudo make install
answered Aug 11 '17 at 16:11
user8022637user8022637
564
564
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f677883%2ferror-while-installing-apache%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Rollback. Why? After your edit it's a completely different question.
– A.B.
Sep 24 '15 at 14:10