Error compiling 1.0.6 from sources #294
Replies: 7 comments 9 replies
-
|
Have you tried with Also on Debian 12 / Python 3.11 here. Can you delete "build" and "dist" folders before compiling, just in case... |
Beta Was this translation helpful? Give feedback.
-
|
gcc version? I have 12.0.0-14 here. |
Beta Was this translation helpful? Give feedback.
-
|
No "build" directory? Strange... Really looks like there something old lying around. Make sure that there are no "build", "dist", and "pyo.egg-info" before compiling. |
Beta Was this translation helpful? Give feedback.
-
|
I'm wondering, Any error about liblo in the compilation process, prior to the linking problem? Debian bookworm comes with liblo-dev 0.31, but we need to install 0.32 (from trixie). |
Beta Was this translation helpful? Give feedback.
-
|
Yes, it's necessary... There are breaking changes in liblo 0.32, and Windows and MacOS already have this lib updated. I didn't want to conditionally support both version, so I increased the requirement for pyo. To install, I just add trixie repo in /etc/apt/sources.list.d/, install liblo-dev 0.32, and remove trixie from apt. |
Beta Was this translation helpful? Give feedback.
-
|
You should absolutely not be able to build 1.0.6 with liblo-dev 0.31... I would throw away everything pyo related, and compile from a fresh repo, to be sure nothing is interfering. |
Beta Was this translation helpful? Give feedback.
-
|
Oh, I didn't realized you were using the distributed sources (I thought sources as a git clone). I can also repro here with the source distribution from test.pypi... I suspect that it is because I uploaded the sdist build made on MacOS. If I use an sdist build on linux, it works as expected (you can try with the tar.gz attached here). I really don't understand because the sources should be exactly the same taken from whatever the system, but apparently not. I guess it would be better to upload the source distribution from linux, as this is the most expected platform it will be used on. Thanks for highlighting the issue! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to compile 1.0.6 from sources with
python3 -m build --config-settings="--build-option=--use-jack" --config-settings="--build-option=--use-double"and I'm getting this error:I have compiled 1.0.5 from sources with the same settings without errors. I'm on Debian 12 with Python3.11.
Beta Was this translation helpful? Give feedback.
All reactions