Error: Updating Apache 2.4.7 to 2.4.18

spirit

Verified User
Joined
Nov 27, 2004
Messages
195
Location
Germany - Bremen
I try to update Apache from v2.4.7. to 2.4.18.

I got following error:

Code:
prefer-non-pic -static -c ssl_engine_log.c && touch ssl_engine_log.lo
make[3]: *** [ssl_engine_io.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.18/modules/ssl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.18/modules/ssl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.4.18/modules'
make: *** [all-recursive] Error 1
Someone has a solution for me?

Thanks.
 

sysdev

Verified User
Joined
Jul 16, 2007
Messages
186
As soon as you get the error and 'make' is asking you to retry, press ctrl-z to force the make to the background.

type: vi httpd-2*/modules/ssl/ssl_engine_io.c
go to line 220 and add a ';' at the end of the line
save the file and exit the editor
type 'fg' to get make back to the foreground and press 'y' to retry.

That should do it.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,005
Thanks for the reports.

I've re-packed the httpd-2.4.18.tar.gz package to add the missing ; character.
Note, this will cause an error the time time you update CB
Code:
*** MD5 Checksum for httpd-2.4.18.tar.gz Failed.  Redownloading...***
which will be normal.

Martynas has been in contact with the Apache devs who have confirmed the error.

They may release a new version if there are enough reports.. but as the code mentions, this would only affect very old versions of openssl (older than 0.9.8).
Code:
#if OPENSSL_VERSION_NUMBER < 0x0009080df
which may also indidcate that you really should update your version of openssl :)

John
 

sysdev

Verified User
Joined
Jul 16, 2007
Messages
186
Agree on the update stuff, but the apache devs might at least try to build their stuff without basic errors. No sense in supporting software versions if they're not tested.
 
Top