Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Httpd 2.4.58 is not compatible with libxml2 2.12.0? |
|
Author |
|
tanquang
Joined: 21 Mar 2020 Posts: 58 Location: Vietnam
|
Posted: Sat 18 Nov '23 17:16 Post subject: Httpd 2.4.58 is not compatible with libxml2 2.12.0? |
|
|
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: 59
|
|
Back to top |
|
nono303
Joined: 20 Dec 2016 Posts: 205 Location: Lille, FR, EU
|
|
Back to top |
|
tanquang
Joined: 21 Mar 2020 Posts: 58 Location: Vietnam
|
Posted: Mon 20 Nov '23 12:55 Post subject: |
|
|
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
|
Posted: Mon 20 Nov '23 13:04 Post subject: |
|
|
Hopefully it will be merged in the next release. |
|
Back to top |
|
|
|
|
|
|