Since the newest python is not available from my package repository, I tried to build and install Python 3.7.4 from source. I would like to build with optimization, so I ran the following:
./configure --enable-optimizations
make
make test
test_readline
fails with the following error message:
AttributeError: module 'readline' has no attribute '_READLINE_VERSION'
I do not know how to address this issue. Please enlighten me.