logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.



Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Upgrading minor version, error during make
Author
cbo0485



Joined: 10 Jun 2014
Posts: 2
Location: US

PostPosted: Fri 02 Jun '17 16:03    Post subject: Upgrading minor version, error during make Reply with quote

I currently have httpd-2.4.17 installed, and am trying to upgrade to 2.4.25, b/c I need mod_proxy_hcheck. I downloaded the new binaries, placed them in my installation directory. I then copied over the config.nice script from the existing version, to the new version. When I run the config.nice script, that works. But when I run the make command, I get this:

I'm running on a RedHat distro of Linux. To verify that I didn't lose any previously installed packages or anything, I re-ran the config.nice, make, and make install for httpd-2.4.17, and everything worked as it had previously. So something in 2.4.25 is maybe requiring a new package to be installed or something? Anyone have any ideas on how i can get around this?



Code:

vhost.c: In function 'fix_hostname':
vhost.c:822:39: error: 'AP_HTTP_CONFORMANCE_UNSAFE' undeclared (first use in this function)
     int strict = (http_conformance != AP_HTTP_CONFORMANCE_UNSAFE);
                                       ^
vhost.c:822:39: note: each undeclared identifier is reported only once for each function it appears in
vhost.c: In function 'ap_update_vhost_from_headers':
vhost.c:1152:50: error: 'core_server_config' has no member named 'http_conformance'
         is_v6literal = fix_hostname(r, NULL, conf->http_conformance);
                                                  ^
vhost.c:1155:57: error: 'core_server_config' has no member named 'http_conformance'
         is_v6literal = fix_hostname(r, host_header, conf->http_conformance);
                                                         ^
vhost.c:1160:13: error: 'core_server_config' has no member named 'http_conformance'
     if (conf->http_conformance != AP_HTTP_CONFORMANCE_UNSAFE) {
             ^
vhost.c:1160:35: error: 'AP_HTTP_CONFORMANCE_UNSAFE' undeclared (first use in this function)
     if (conf->http_conformance != AP_HTTP_CONFORMANCE_UNSAFE) {
                                   ^
make[2]: *** [vhost.lo] Error 1
make[2]: Leaving directory `/path/to/installFiles/apache/httpd-2.4.25/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/path/to/installFiles/apache/httpd-2.4.25/server'
make: *** [all-recursive] Error 1

Back to top
cbo0485



Joined: 10 Jun 2014
Posts: 2
Location: US

PostPosted: Fri 02 Jun '17 16:30    Post subject: Reply with quote

Okay, so while doing some testing, I modified my config. Here is my original config.nice

Code:
#! /bin/sh
#
# Created by configure

CPPFLAGS="-I/path/to/apache/include"; export CPPFLAGS
LDFLAGS="-L/path/to/apache/lib"; export LDFLAGS
LIBS="-ldl"; export LIBS
"./configure" \
"--prefix=/path/to/apache" \
"--enable-static-support" \
"--with-pcre=/path/to/apache" \
"--with-apr=/path/to/apache" \
"--with-apr-util=/path/to/apache" \
"--enable-mods-shared=all" \
"--enable-deflate" \
"--enable-ssl" \
"--with-z=/path/to/apache" \
"--with-ssl=/path/to/apache" \
"--with-ldap==/path/to/apache" \
"--enable-ldap" \
"--enable-authnz-ldap" \
"--enable-so" \
"--enable-mpms-shared" \
"--enable-mpms-shared=all" \
"LDFLAGS=-L/path/to/apache/lib" \
"CPPFLAGS=-I/path/to/apache/include" \
"LIBS=-ldl" \
"$@"


That is my original config.nice, so I cleaned it up a bit and ran this:
Code:
./configure --prefix=/path/to/apache --enable-static-support --with-pcre=/path/to/apache --with-apr=/path/to/apache --with-apr-util=/path/to/apache --enable-mods-shared=all --enable-deflate --enable-ssl --with-z=/path/to/apache --with-ssl=/path/to/apache --with-ldap==/path/to/apache --enable-ldap --enable-authnz-ldap --enable-so --enable-mpms-shared --enable-mpms-shared=all


Running that seemed to get make move along a lot further, however this time it failed on:

Code:
mod_ssl.c: In function 'ssl_hook_pre_connection':
mod_ssl.c:555:10: error: 'conn_rec' has no member named 'master'
     if (c->master || !(sc && (sc->enabled == SSL_ENABLED_TRUE ||
          ^
make[4]: *** [mod_ssl.slo] Error 1
make[4]: Leaving directory `/path/to/installFiles/apache/httpd-2.4.25/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/path/to/installFiles/apache/httpd-2.4.25/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/path/to/installFiles/apache/httpd-2.4.25/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/path/to/installFiles/apache/httpd-2.4.25'
make: *** [all-recursive] Error 1
Back to top


Reply to topic   Topic: Upgrading minor version, error during make View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads