-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[request] Dependencies of PHP (summary issue) #8618
Comments
Mailing list post: https://externals.io/message/116655#116779 |
glib we do build it shared already for enchant. What is the issue you are experiencing? libintl yes, part of gettext |
It's an upstream issue. conan-center-index/recipes/glib/all/conanfile.py Lines 52 to 56 in 58a0fe0
I noticed I wrote shared in the OP, edited. |
ah, that's no issue, we use the shared build only.
…On Mon, Jan 3, 2022, 11:59 PM friendlyanon ***@***.***> wrote:
What is the issue you are experiencing?
https://github.com/conan-io/conan-center-index/blob/58a0fe0fcc0f9daaeaad35b22f75bc2c70e0d14c/recipes/glib/all/conanfile.py#L52-L56
—
Reply to this email directly, view it on GitHub
<#8618 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6KHKNC5P63MAYKNGLUTUUHIWLANCNFSM5LFR337Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Okay, so it seems there is a bit of a cyclic dependency going on with Cyrus SASL and OpenLDAP. The OpenLDAP project has a component called lmdb, which is necessary to build the sasldb plugin for Cyrus SASL and then OpenLDAP depends on Cyrus SASL for full functionality. Upstream Cyrus SASL also seems to be using some weird conan setup and ships VS solutions for Windows in the There is also the ldapdb plugin in Cyrus SASL, which again depends on OpenLDAP and I'm not sure how to deal with that. cc @uilianries Edit: okay, I forgot that lmdb already has a recipe, but I'm still unsure about the plugins. |
A convenient solution to libffi having a custom patch necessary for use in PHP is to use Barbarian. |
Unfortunately, this is not a solution as CCI recipes can only depend on other CCI recipes |
The goal is not to have php-src in CCI, but to have all its dependencies on CCI, so it can be built easily on all platforms once it has a CMake build tooling. For php-src, that's perfectly fine, since no other dependency has libffi as a dependency. For php-src to be available on CCI as well, all of its dependencies that are patched and can't be upstreamed for various reasons would first have to be in a desirable condition upstream. Let's just say I don't want to go down that rabbit hole myself and Barbarian is a good enough solution in the meantime. |
Understood. I find it personally interesting to eventually have PHP itself in CCI too, but let's keep this out of this issue for now. Perhaps change the title of this issue to something like Huge 👍 for working towers a CMake + Conan build system for PHP, btw. 👏 |
I looked at libxpm and some things aren't quite clear to me.
I'm told these files are in the distribution only because the Edit: I read the README.MSW, now it's clear why there are less sources for the Windows build. tl;dr Pixmap operation related sources don't work on Windows. |
@cmb69 I looked at the |
xpm.h includes X11/Xlib.h and X11/Xutil.h. If |
@friendlyanon gd.h and a few are used during build. Other may be used only when builds are done against ext/gd or its libgd. As of libgd itself, you can check https://github.com/libgd/libgd as it has cmake support already. I did not know about Conan. I may add support for it as it looks pretty good (we only relied on distro/src pkg and vcpck on windows so far). For XPM, back then I forked it and only added what we need to build it on Windows without having to have the full X11. You can see the current used sources for libXPM on Windows for PHP here |
@pierrejoye, PHP on Windows still doesn't support building against external libgd, and I'm reluctant to introduce that until custom memory allocators are available. @friendlyanon, ah, indeed, thank you! I'll roll out a new libxpm package with this change soon. |
@cmb69 correct. However the whole build can be a lot easier by taking what is needed from libgd/libgd's cmake. Made a static build and uses it for ext/gd. It may requires a few tweaks but as it is built at the same time than php, it should not require much changes. |
* Add net-snmp/5.9.1 Issue: #8618 * Simplify patching in conanfile.py * Downgrade recipe for Conan 1.43 * Modernize check for MSVC * Fix build for Apple ARM64 * Further modify the CFLAGS on Windows The release and debug flags were taken from a CMake project with default flags for each build type. * Nuke CMake info not present upstream * Use single quotes in Perl build script Single quotes in Perl avoid certain types of string interpolation that were stripping characters from the include path in the CI machine. * Use `tools.replace_in_file` for dynamic patches * Use target from CMake config with Conan defaults * Patch `-install_name` on MacOS * Add `KEEP_RPATHS` to test package * Apply suggested changes from review Move the `install_name` patch into the conanfile and empty the libs attribute for autotools. * Add another system_libs usage * Use cmake/3.20.1 for the test package on MacOS M1 * Cleanup attributes and address linter warnings * Remove use of `settings_build` * Add OpenSSL to `requires` Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
So, I have been trying to crack the nut that is the Apache HTTP Server and boy, does it have a million knobs. (also unsatisfactory Windows support in build tooling aspect) I looked at the php-src codebase and a grep for |
@friendlyanon, we using the Apache Lounge builds of Apache for years. I have no idea, how they do these builds exactly, but could ask, if necessary. |
This is a summary issue tracking progress for dependencies of the php-src runtime of PHP programming language. These are provided on windows.php.net for Windows, but the goal would be to make them build easily on all platforms in a reproducible way.
Not on CCI yet or needs some work
Requirements:Add btyacc/3.0 #8947Add asfernandes-cloop/0.0.0 #8951glib (https://www.gtk.org/)Can't build as static library on Windows. Is this a problem?Package info needs better CMake support.This likely will not be accepted to CCI. Probably need to setup an Artifactory server on php.net.
libintl (https://www.gnu.org/software/gettext/gettext.html)Seems to be part of gettext. Is that right?liblmdb (https://www.symas.com/lmdb)Package info needs better CMake support.Can't build with VS <2015 andshared library with static runtime doesn't work. Is this a problem?libxslt (https://xmlsoft.org)Package info needs better CMake support.nghttp2 (https://nghttp2.org)Package info needs better CMake support.I will keep editing this list as I work through each item. If I got something wrong, then please let me know.
The text was updated successfully, but these errors were encountered: