-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
cross-compiling python 3.13 readline error - unable to find ncurses.pc while ncursesw.pc is available #125452
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Hey, nice to meet you too @hacscred! Now, Synology is a linux distribution called DSM. Their toolchain are made available on which since years we've develop a framework to build from source and make available open sources packages through our repository that you can then install on your Synology NAS. We support cross-compiling from multiple archs, armv5-7-8, ppc, i686 and x86_64. In hope to remediate at this, here's an early draft of my next PR SynoCommunity/spksrc#6282. I had not yet intented to push that online, but in hope this helps subsequent discussions. |
Adding, here the build log output (kept the python part only): build-x64-7.1.log Just le me know if you need anything else. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Apologies @th0ma7 for the nuisance, typically people are nicer on here |
I can confirm that the bug isn't with python but rather with readline. As readline is compiled against ncursesw only, there is an issue in its resulting Now fixed with a local build patch: SynoCommunity/spksrc@9c764a7 Note that this patch will probably be moved to its own PR due to numerous dependencies, thus history may get broken for future reference. And thnx @ZeroIntensity for intervening, civility being much appreciated. |
Bug report
Bug description:
python package maintainer for the SynoCommunity. Preparing the migration path from our python 3.11 to 3.13 but the installer changed since previous version, no longer using setup.py.
Long-story short, the configure script finds
ncursesw
properly, altough testing forreadline
later on fails as only assumingncurses.pc
(vs thew
variant).error from our logs:
I've been digging into the
configure.ac
in hope to find why but no luck just yet... configure detection of ncursesw:I presume relatively simple to fix, but haven't found how just yet.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
And sections from the
config.log
The text was updated successfully, but these errors were encountered: