My mistake: I installed Python 3.8 after running configure The build is running now smoothly. (so far)
Matthias Koeppe schrieb am Samstag, 2. Januar 2021 um 19:55:15 UTC+1: > On Saturday, January 2, 2021 at 9:45:58 AM UTC-8 roteg...@gmail.com wrote: > >> Error building package python3-3.8.5 >> [...] >> > >> I downloaded today the Branch "develop" >> I am running under >> Ubuntu 18.04 >> >> Could not make sage. >> > > From the log: > > *** WARNING: renaming "readline" since importing it failed: > /home/rote/Dokumente/sage/local/lib/libreadline.so.8: undefined symbol: UP > Python build finished successfully! The necessary bits to build these > optional modules were not found: _dbm _gdbm _tkinter To find the necessary > bits, look in setup.py in detect_modules() for the module's name. The > following modules found by detect_modules() in setup.py, have been built by > the Makefile instead, as configured by the Setup files: _abc atexit pwd > time Following modules built successfully but were removed because they > could not be imported: readline running build_scripts creating > build/scripts-3.8 copying and adjusting > /home/rote/Dokumente/sage/local/var/tmp/sage/build/python3-3.8.5/src/Tools/scripts/pydoc3 > > -> build/scripts-3.8 copying and adjusting > /home/rote/Dokumente/sage/local/var/tmp/sage/build/python3-3.8.5/src/Tools/scripts/idle3 > > -> build/scripts-3.8 copying and adjusting > /home/rote/Dokumente/sage/local/var/tmp/sage/build/python3-3.8.5/src/Tools/scripts/2to3 > > -> build/scripts-3.8 changing mode of build/scripts-3.8/pydoc3 from 644 to > 755 changing mode of build/scripts-3.8/idle3 from 644 to 755 changing mode > of build/scripts-3.8/2to3 from 644 to 755 renaming build/scripts-3.8/pydoc3 > to build/scripts-3.8/pydoc3.8 renaming build/scripts-3.8/idle3 to > build/scripts-3.8/idle3.8 renaming build/scripts-3.8/2to3 to > build/scripts-3.8/2to3-3.8 Testing importing of various modules... ctypes > module imported OK math module imported OK hashlib module imported OK crypt > module imported OK Traceback (most recent call last): File "<string>", line > 1, in <module> ModuleNotFoundError: No module named 'readline' readline > module failed to import socket module imported OK zlib module imported OK > sqlite3 module imported OK Error: One or more modules failed to import. > > This might be a problem with ncurses. > > (I have python 3.8.0 installed anyway, but sage wants to install its own >> more recent version, apparently.) >> > > Please post config.log, which will also explain why system python 3.8 was > not accepted by Sage. > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/7d3385a0-ae44-4a68-a50c-22d153717c37n%40googlegroups.com.