https://bugs.openldap.org/show_bug.cgi?id=10282
Issue ID: 10282 Summary: MSVC builds are not supported Product: OpenLDAP Version: 2.5.18 Hardware: All OS: Windows Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: cmb@php.net Target Milestone: ---
I'm a maintainer of an OpenLDAP port[1] which is used to build liblber and libldap for PHP on Windows. So far this uses hand-made configuration and Visual Studio solutions, but that is not sustainable in the long run. Instead, I'd rather like to use the autotools based build chain with MSYS2 (or Cygwin), but still using the MSVC build tools (cl.exe, link.exe, etc.) and the MS Windows SDK for best compatibility with other builds for PHP on Windows. Apparently, this is not yet supported by OpenLDAP (2.5.18).
I've managed to add some patches[2] to get where I'd like this to go[3]. Some of the patches are highly PHP (BC) specific, some are just quick hacks (because I don't know better), but some appear to be appropriate for inclusion into the OpenLDAP sources.
Are you generally interested in supporting MSVC tools and MS Windows SDKs? If so, what would be the best way to contribute -- sending MRs to the repo[4]? Should these tackle individual issues, or rather be complete (note that I'm likely not able to provide a full-fledged solution due to my very limited knowledge of autotools and Linux, and limited time).
[1] https://github.com/winlibs/openldap [2] https://github.com/winlibs/openldap/tree/cmb/2.5.18 [3] https://github.com/cmb69/winlib-builder/actions/runs/11713086509 [4] https://git.openldap.org/openldap/openldap
https://bugs.openldap.org/show_bug.cgi?id=10282
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- Hi, noone in the project currently has access to an MSVC setup so it would be up to you to maintain anything that gets introduced and make sure it keeps on working as we go.
That said, please follow https://openldap.org/devel/contributing.html and feel free to post patches for master (2.7) here or our gitlab.
https://bugs.openldap.org/show_bug.cgi?id=10282
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review |