./configure fails

17 views
Skip to first unread message

Philippe Delavalade

unread,
Feb 8, 2026, 5:56:05 AM (2 days ago) Feb 8
to sage-s...@googlegroups.com, Philippe Delavalade
Hi.

I can't configure sage-10.8 (obtained as a tarball).

As said in README.md I ran
make configure
changed PATH,
and ran
./configure \
--disable-notebook --disable-doc --disable-r --with-system-python3=no

I obtained an error:
real_configure: error: Package directory missing. Re-run bootstrap.

When doing another
make configure
I get as the first time
make: « configure » est à jour. (it's OK)

I attach config.log

Thanks for help.

--
Philippe
config.log

Dima Pasechnik

unread,
Feb 9, 2026, 1:23:42 PM (14 hours ago) Feb 9
to sage-support
where a Python module we presume installed was not installed on the system, resulting in the same cryptic error.

To copy-paste from there:

Your system python has a broken, or missing, urllib.

> ImportError: No module named request
just above
> real_configure:98992: error: Package directory missing. Re-run bootstrap.
(this error message is likely misleading)

Hopefully, installing urllib will get you through this one.

By the way, can you install python3.12 or later (with the necessary for
development packages)?
Then you can pass it to ./configure in --with-python= option.

Or, even better, switch to using python3.12 or newer as the system Python?
We don't support python3.11 (which you have as /usr/bin/python3) anymore.

Theoretically, Sage would be capable of builing a suitable
Python, but practically this is mostly broken.






Reply all
Reply to author
Forward
0 new messages