You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roberto Marzialetti <ro...@gmail.com> on 2017/05/23 18:45:19 UTC
[users@httpd] compiling apache on ubuntu
hi all!
i try to compile Apache 2.2.32 on:
[code]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
[/code]
this is my configure:
[code]
./configure --enable-rewrite --enable-vhost-alias --enable-so
--enable-ssl --enable-deflate --enable-headers
[/code]
i get this error on "make":
[code]
network_io/unix/sockaddr.c: In function ‘find_addresses’:
network_io/unix/sockaddr.c:518:20: error: storage size of ‘hs’ isn’t known
struct hostent hs;
^
network_io/unix/sockaddr.c:551:14: warning: implicit declaration of
function ‘gethostbyname_r’ [-Wimplicit-function-declaration]
hp = gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1,
^
network_io/unix/sockaddr.c:566:21: error: ‘h_errno’ undeclared (first
use in this function)
return (h_errno + APR_OS_START_SYSERR);
^
network_io/unix/sockaddr.c:566:21: note: each undeclared identifier is
reported only once for each function it appears in
network_io/unix/sockaddr.c:573:14: error: dereferencing pointer to
incomplete type ‘struct hostent’
while (hp->h_addr_list[curaddr]) {
[/code]
(i get the error without any options too)
in config.log there are these strage "unknown":
[code]
/usr/bin/uname -p = unknown
[...]
/bin/arch = unknown
[/code]
here my all config.log:
https://apaste.info/6Jbg
any idea?
many many thanks
i'm going crazy...
--
Roberto Marzialetti
webdeveloper
m. 329 0681847
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] compiling apache on ubuntu
Posted by Eric Covener <co...@gmail.com>.
On Wed, May 24, 2017 at 7:24 AM, Alexandru Duzsardi
<al...@pitechnologies.ro> wrote:
> You need to install some development packages like build-essential , libssl-dev , zlib1g-dev and probably others too depending on what modules you want .
On Ubuntu you can "apt-get build-dep $the-existing-pkg" for a good head start.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] compiling apache on ubuntu
Posted by Alexandru Duzsardi <al...@pitechnologies.ro>.
You need to install some development packages like build-essential , libssl-dev , zlib1g-dev and probably others too depending on what modules you want .
----
-----Original Message-----
From: Roberto Marzialetti [mailto:roberto.marzialetti@gmail.com]
Sent: Tuesday, May 23, 2017 9:45 PM
To: users@httpd.apache.org
Subject: [users@httpd] compiling apache on ubuntu
hi all!
i try to compile Apache 2.2.32 on:
[code]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
[/code]
this is my configure:
[code]
./configure --enable-rewrite --enable-vhost-alias --enable-so --enable-ssl --enable-deflate --enable-headers [/code]
i get this error on "make":
[code]
network_io/unix/sockaddr.c: In function ‘find_addresses’:
network_io/unix/sockaddr.c:518:20: error: storage size of ‘hs’ isn’t known
struct hostent hs;
^
network_io/unix/sockaddr.c:551:14: warning: implicit declaration of function ‘gethostbyname_r’ [-Wimplicit-function-declaration]
hp = gethostbyname_r(hostname, &hs, tmp, GETHOSTBYNAME_BUFLEN - 1,
^
network_io/unix/sockaddr.c:566:21: error: ‘h_errno’ undeclared (first use in this function)
return (h_errno + APR_OS_START_SYSERR);
^
network_io/unix/sockaddr.c:566:21: note: each undeclared identifier is reported only once for each function it appears in
network_io/unix/sockaddr.c:573:14: error: dereferencing pointer to incomplete type ‘struct hostent’
while (hp->h_addr_list[curaddr]) {
[/code]
(i get the error without any options too)
in config.log there are these strage "unknown":
[code]
/usr/bin/uname -p = unknown
[...]
/bin/arch = unknown
[/code]
here my all config.log:
https://apaste.info/6Jbg
any idea?
many many thanks
i'm going crazy...
--
Roberto Marzialetti
webdeveloper
m. 329 0681847
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org