apr 1.5.1 vs apr 1.5.2 in httpd 2.4.16

Started by Jan-E, July 15, 2015, 01:17:13 PM

Previous topic - Next topic

Jan-E

Hi Gregg,

Thanks for the VC9 builds. Is there a particular reason why you are using apr 1.5.1 in stead of apr 1.5.2?

Jan

Gregg

Greetings Jan,

I'm not seeing this.

What I am seeing is all the downloads for 2.4.16 on this server were corrupted during upload (DE mirror is OK). So that means all the sha checksums listed on the download page are incorrect ... just wonderful :(

I've uploaded again and this time they are fine. Wouldn't you know the one time since 2008 I do not check first I get bitten.

Anyhow, here is what I am seeing on the apr version and I just looked at libapr-1.dll's properties in every zip file and it's same.

VC9 x86

C:\Apache24ah\bin>httpd -V
Server version: Apache/2.4.16 (Win32)
Server built:   Jul 13 2015 10:37:15
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2008
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   32-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no

VC9 x64

C:\Apache24ah64\bin>httpd -V
Server version: Apache/2.4.16 (Win64)
Server built:   Jul 13 2015 10:08:03
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2008
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no

VC11 x86

Z:\!!VC11\Apache24ah\bin>httpd -V
Server version: Apache/2.4.16 (Win32)
Server built:   Jul 13 2015 12:42:27
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2012
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   32-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no

VC11 x64

Z:\!!VC11\Apache24ah64\bin>httpd -V
Server version: Apache/2.4.16 (Win64)
Server built:   Jul 13 2015 12:31:58
Distributed by: The Apache Haus
Compiled with:  Visual Studio 2012
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     WinNT
  threaded:     yes (fixed thread count)
    forked:     no






Gregg

I see it now. On the download page is was listed wrong. It's been a rough couple of days.

itspeaks

 :) Thanks for keeping us informed. !Love your Work!

Jan-E

#4
Apparently, it still are rough times: the download page gives an error 500. Anyway, I downloaded your VC9-builds before that. Many thanks.

And I have been busy building 2.4.16 myself (VC9/VC11/VC14, x86/x64). I will be posting the SSL Fips binaries for VC9 and VC11 today. OpenSSL 1.0.2d cannot be built with Fips 2.0.9 because of a missing App_link. I posted the fix in the Apache dev list, but no reaction yet:
http://thread.gmane.org/gmane.comp.encryption.openssl.devel/29763/focus=29823

Edit: See https://www.apachelounge.com/viewtopic.php?t=6197 for my SSL Fips builds

mario

Sorry for the 500 error. I repaired that.

Gregg

The App_Link seems redundant. The FAQ that only passing mentions it does explicitly say it should be included only 'once'. I do not understand why Apache needs it. PHP evidently needs it so they are the ones that need to be including it in mod_php which then become a part of Apache and therefor the 'once'.

I tried the script posted over at AL and nothing "crashes." The script echos nothing and as far as I can tell it should. But it doesn't bring down mod_php nor Apache. We always suggest running PHP through mod_fcgid anyway and if done that way the entire thing becomes moot.

Back to the FAQ, the app_link is passingly mentioned in the part of using do_nt verses do_ms. Are you using do_nt? That only does non-asm 32bit.

Jan-E

When building OpenSSL FIPS you need a fips_premain_dso.exe that runs and it does not without the Applink.

Outside of the building script the error is the same
C:\openssl>out32dll\fips_premain_dso.exe out32dll\libeay32.dll
OPENSSL_Uplink(010CB000,08): no OPENSSL_Applink

I was using the standard building methods: with ms\do_ms.bat, ms\do_nasm.bat or ms\do_win64a.bat.

I am not sure if any binary in the normal Apache build needs it, but fips_premain_dso.exe definitely cannot live without it.

idblew

Hi Gregg,

This may have been asked before, but how do you add the following lines to the "httpd -V" output?

Distributed by: The Apache Haus
Compiled with:  Visual Studio 2008

Many Thanks
Ian

Gregg

#9
G'day and no, hasn't been asked till now.

In Le Source
httpd-2.4.x/server/main.c

scroll down to line 97

     printf("Server built:   %s\n", ap_get_server_built());


Just add printf statements for what you want.