-
-
Notifications
You must be signed in to change notification settings - Fork 29.1k
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
Can't build 3.13b1 on Ubuntu: no module named math #118809
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm unable to reproduce this on Ubuntu 23.10 on |
Thanks for looking at this. 'build-essential is already the newest version (12.10ubuntu1)' But wouldn't ./configure have caught that if it was missing? I've built Python3.12 many times in the past, so it's likely something new required by 3.13. Ok, I've upgraded to 24.04 since first submitting this, so did a 'make clean' and './configure --enable-optimizations' and got a lot further (for some reason that I don't understand), but after more research, I suspect the culprit is libmpdec-dev. (After lots of compiling, I now get 'no module named _decimal'.) Unfortunately, the instructions at https://devguide.python.org/getting-started/setup-building/#build-dependencies aren't really correct for recent Ubuntu versions, e.g., Ubuntu now uses a folder sources.list.d/ rather than a file /etc/apt/sources.list. I tried to adapt the instructions and follow the suggestions (including enabling the source repo), but still ended up with: |
Yes, the libmpdec issue was just fixed on |
Hmmh, we seem to be getting there slowly, thanks. (I assumed the above parameter goes on the './configure --enable-optimizations' line.) Now 'test test_sqlite3 failed' yet 'libsqlite3-dev is already the newest version (3.45.1-1ubuntu2)'. |
BTW, should I submit a documentation issue for https://devguide.python.org/getting-started/setup-building/#build-dependencies (see #118809 (comment) above). If so, where should that be done? |
It seems to me this is a devguide issue, yeah. Let's close this as not-planned. Thanks for the report, though. |
Bug report
Bug description:
After successfully running ./configure --enable-optimizations on Ubuntu 23.10
CPython versions tested on:
3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: