RE: compiling apache on ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Sent: Tuesday, May 23, 2017 9:45 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux