logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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: Httpd 2.4.58 is not compatible with libxml2 2.12.0?
Author
tanquang



Joined: 21 Mar 2020
Posts: 58
Location: Vietnam

PostPosted: Sat 18 Nov '23 17:16    Post subject: Httpd 2.4.58 is not compatible with libxml2 2.12.0? Reply with quote

I just tried compiling httpd 2.4.58 with libxml2.
When using libxml2 2.11.6, everything is still compiled quite normally.
With libxml2 2.12.0, there were some bugs with their release, and I reported and worked to fix them at issues #619 and #620, after which libxml2 was successfully compiled.
However, an error occurs when compiling httpd:
Code:
...
C:\httpd\modules\filters\mod_xml2enc.c(212) : error C2146: syntax error : missing ')' before identifier 'xmlChar'
C:\httpd\modules\filters\mod_xml2enc.c(212) : error C2065: 'xmlChar' : undeclared identifier
C:\httpd\modules\filters\mod_xml2enc.c(212) : error C2059: syntax error : ')'
C:\httpd\modules\filters\mod_xml2enc.c(304) : error C2061: syntax error : identifier 'xml2enc_filter_init'
C:\httpd\modules\filters\mod_xml2enc.c(304) : error C2059: syntax error : ';'
C:\httpd\modules\filters\mod_xml2enc.c(304) : error C2059: syntax error : 'type'
C:\httpd\modules\filters\mod_xml2enc.c(588) : error C2065: 'xml2enc_filter_init' : undeclared identifier
C:\httpd\modules\filters\mod_xml2enc.c(588) : warning C4047: 'function' : 'ap_init_filter_func' differs in levels of indirection from 'int'
C:\httpd\modules\filters\mod_xml2enc.c(588) : warning C4024: 'ap_register_output_filter_protocol' : different types for formal and actual parameter 3
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.

As I said above: With libxml2 2.11.6, no errors will occur when compiling. But with libxml2 2.12.0, the above error will appear.
It seems that httpd 2.4.58 is still not compatible with libxml2 2.12.0? As far as the change log goes, it looks like they've changed quite a bit of the source code in this release!
Back to top
covener



Joined: 23 Nov 2008
Posts: 55

PostPosted: Sun 19 Nov '23 3:29    Post subject: Reply with quote

looks like https://github.com/apache/httpd/pull/393
Back to top
nono303



Joined: 20 Dec 2016
Posts: 190
Location: Lille, FR, EU

PostPosted: Sun 19 Nov '23 17:14    Post subject: Reply with quote

same for php https://github.com/php/php-src/issues/12702
gdal also impacted
Back to top
tanquang



Joined: 21 Mar 2020
Posts: 58
Location: Vietnam

PostPosted: Mon 20 Nov '23 12:55    Post subject: Reply with quote

nono303 wrote:
same for php https://github.com/php/php-src/issues/12702
gdal also impacted

Oh, I did not compile with PHP so I didn't know this. Do not know whether it affects older PHP versions?
Back to top
tanquang



Joined: 21 Mar 2020
Posts: 58
Location: Vietnam

PostPosted: Mon 20 Nov '23 13:04    Post subject: Reply with quote

covener wrote:
looks like https://github.com/apache/httpd/pull/393

Hopefully it will be merged in the next release.
Back to top


Reply to topic   Topic: Httpd 2.4.58 is not compatible with libxml2 2.12.0? View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads