Cannot seem to build from main branch v10.8

58 views
Skip to first unread message

American Citizen

unread,
Jan 3, 2026, 8:24:48 PM (2 days ago) Jan 3
to sage-support
I am trying to install sage v10.8 using github

Here's the following commands on my OpenSuse Leap 15.5 OS

% git clone https://github.com/sagemath/sage.git
% mv sage sage-10.8
% cd sage-10.8
% bash bootstrap
% ./configure | tee config.log

configure failed with missing directory and told me to run bootstrap again

% bash bootstrap
%./configure

And the same failure occurs again. This is a show stopper. How can this be fixed?

-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG zeromq...
checking whether any of gcc is installed as or will be installed as SPKG... no
checking for zmq.h... yes
checking for ZMQ version >= 4.2.5... no valid ZMQ version was found
real_configure: no suitable system package found for SPKG zeromq
## ----------------------------------------------------------------------- ##
## Build status for each package:                                          ##
## ----------------------------------------------------------------------- ##
real_configure: error: Package directory missing. Re-run bootstrap.


Dima Pasechnik

unread,
Jan 3, 2026, 8:48:12 PM (2 days ago) Jan 3
to sage-s...@googlegroups.com
I've never seen this. Why do you invoke bootstrap differently from configure?
Do you use a non-standard shell (bash or zsh, or perhaps ksh, will
work. csh probably not)?

How about running

./bootstrap
./configure

?
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-support/82039733-7dcf-480d-a815-af12d3b96807n%40googlegroups.com.

American Citizen

unread,
Jan 3, 2026, 9:45:19 PM (2 days ago) Jan 3
to sage-support
I used the standard bash shell. As a matter of fact I spent over an hour of time downloading files from zeromq website and installing the lib zeromq package onto my openSuse Leap 15.5 system after hitting frustrating blockages. I can personally vouch that this library is NOW on my system and has been successfully installed.

But I keep getting this error message during running ./configure in the root directory of sage-10.8

-----------------------------------------------------------------------------
Checking whether SageMath should install SPKG zeromq...
checking whether any of gcc is installed as or will be installed as SPKG... no
checking for zmq.h... yes
checking for ZMQ version >= 4.2.5... yes
real_configure: will use system package and not install SPKG zeromq

## ----------------------------------------------------------------------- ##
## Build status for each package:                                          ##
## ----------------------------------------------------------------------- ##
real_configure: error: Package directory missing. Re-run bootstrap.

What directory is missing? I can probably install this by hand if necessary and rerun ./configure again.

And yes I have run the following 2 command 4 times now

% bash bootstrap
%./configure

But keep getting aborted by the error message posted above.

I appreciate any help.. as I am mystified as to why I  git clone the main branch of 10.8 but it won't run.

Randall

Dima Pasechnik

unread,
Jan 3, 2026, 10:06:09 PM (2 days ago) Jan 3
to sage-s...@googlegroups.com
On Sat, Jan 3, 2026 at 8:45 PM American Citizen
<website...@gmail.com> wrote:
>
> I used the standard bash shell. As a matter of fact I spent over an hour of time downloading files from zeromq website and installing the lib zeromq package onto my openSuse Leap 15.5 system after hitting frustrating blockages. I can personally vouch that this library is NOW on my system and has been successfully installed.
>
> But I keep getting this error message during running ./configure in the root directory of sage-10.8

Maybe bootstrap finishes with an error, which you don't see, as you invoke it as
bash bootstrap
and not as
./bootstrap
> To view this discussion visit https://groups.google.com/d/msgid/sage-support/97416f88-ab01-4bc1-a93c-2dada857c540n%40googlegroups.com.

American Citizen

unread,
Jan 4, 2026, 6:29:01 PM (2 days ago) Jan 4
to sage-s...@googlegroups.com
Dima:

I carefully did a "git clone -b master
/https://github.com/sagemath/sage.git" command and let git populate the
/sage directory and resolve the updates, etc.

I then did a simple ./bootstrap command and it ran fine

Next I did the ./configure command and it is failing at the end.

I poked around inside the real_configure file, put some tracing on
inside so I could see how this file was really executing and it ran
through all the packages just fine, but it is blowing up on line 98986
and following lines of real_configure

This is where it is failing...

if properties=$($SAGE_BOOTSTRAP_PYTHON build/bin/sage-package properties
--format=shell $SPKGS 2>& 5) && eval $properties
then :

else $as_nop

    as_fn_error $? "Package directory missing. Re-run bootstrap."
"$LINENO" 5
fi

Can anyone tell me what is going on exactly here and why a failure would
occur?

Thanks for your help. I really would like to get sage v10.8 built.

Randall

P.S. I have git cloned the sage directory 5 times now and keep hitting
the same problem.


Dima Pasechnik

unread,
Jan 4, 2026, 6:35:32 PM (2 days ago) Jan 4
to sage-s...@googlegroups.com
What do you see after ./bootstrap is run?
Any messages?

You apparently are missing one or more required by ./bootstrap packages.

Dima Pasechnik

unread,
Jan 4, 2026, 6:41:19 PM (2 days ago) Jan 4
to sage-s...@googlegroups.com
you also need the packages listed here:

<https://github.com/sagemath/sage/blob/develop/build/pkgs/_prereq/distros/opensuse.txt>



On January 4, 2026 5:28:51 PM CST, American Citizen <website...@gmail.com> wrote:

Dima Pasechnik

unread,
Jan 4, 2026, 6:41:26 PM (2 days ago) Jan 4
to sage-s...@googlegroups.com
you certainly need the packages listed in

<https://github.com/sagemath/sage/blob/develop/build/pkgs/_bootstrap/distros/opensuse.txt>

perhaps this list is incomplete


On January 4, 2026 5:28:51 PM CST, American Citizen <website...@gmail.com> wrote:

American Citizen

unread,
Jan 4, 2026, 7:24:24 PM (2 days ago) Jan 4
to sage-s...@googlegroups.com
Yes, the pre-requisite libraries seem to be installed, but I need to
make a comment here for openSuse users.

The prerequisites install line in zipper is

% sudo zypper install binutils make m4 gawk perl python3 tar bc which
glibc-locale-base gcc gcc-c++ ca-certificates gzip findutils diffutils
patch bzip2 pkgconf zlib

There is no package in opensuse Leap 15.5 (and other versions) named
"boost-base" I am guessing that this is a euphemism for the basic
libraries, say a dozen or so???

The two pkgconf(bzip) and pkconf(zilb) lines are NOT zypper installed.
They are run separately on a shell script line

% pkgconf bzip2 zlib

I need more information about what is meant by boost-base ??? zypper2
has no idea what this is .

It would be nice to get these corrections noted on the
https://github.com/sagemath/sage/blob/develop/build/pkgs/_prereq/distros/opensuse.txt
page.

Randall

Dima Pasechnik

unread,
Jan 4, 2026, 11:08:44 PM (2 days ago) Jan 4
to sage-s...@googlegroups.com
Installing the full boost libraries will do.
(not sure how to do it on OpenSuse - I only have very limited internet right now, so I can't search the web)

Dima

Dima Pasechnik

unread,
Jan 5, 2026, 2:12:26 PM (15 hours ago) Jan 5
to sage-s...@googlegroups.com
By boost-base we meant
https://software.opensuse.org/package/boost-base
However, it seems to only be available on OpenSUSE Tumbleweed, not on Leap 15.

By looking at what's available on Leap 15, it seems that one would
need to build Boost from source by hand, as
they only provide Boost 66 (that's old, but still OK) for gcc-7 (way
too old for Sage, we gcc-9 IIRC).
But there seems to be bigger issues.
While one can install gcc-15, for some reason there is no g++-15, and
there is no gfortran.
(we don't have any active developer using OpenSUSE, I am saying all
this after looking at docs and running
in podman opensuse/leap:latest container (which is probably Leap 15.6)
- and I might be very wrong here).
Building all these by hand isn't fun, and might take days of trying and failing.

That is, either use Conda, or switch to a distro with a modern
toolchain available.

Dima
Reply all
Reply to author
Forward
0 new messages