Given the number of people who have problems installing Sage because their system is missing openssl, should we check for that in the prereq script, so that the error is caught as soon as possible, and so that we can write a good error message? (Note that I'm not volunteering to do this, because I don't really know how...)
On Thursday, August 2, 2012 8:46:47 PM UTC-5, John H Palmieri wrote:
> Given the number of people who have problems installing Sage because their > system is missing openssl, should we check for that in the prereq script, > so that the error is caught as soon as possible, and so that we can write a > good error message? (Note that I'm not volunteering to do this, because I > don't really know how...)
If you are going to add this, maybe you can also add dpkg-architecture on Ubuntu. This prerequisite (to figure out multiarch) one took me a while to figure out, and it wasn't installed on the Ubuntu box that I played with.
Just today I was also thinking about adding a script in front of the whole build process that will suggest a few required/suggested distribution packages to install before running the compilation and abort if they are not found. You could skip over that test by setting SAGE_PORT if you know what you are doing. Any thoughts on that?
On Thursday, August 2, 2012 9:46:47 PM UTC-4, John H Palmieri wrote:
> Given the number of people who have problems installing Sage because their > system is missing openssl, should we check for that in the prereq script, > so that the error is caught as soon as possible, and so that we can write a > good error message? (Note that I'm not volunteering to do this, because I > don't really know how...)
On Thursday, August 2, 2012, Volker Braun <vbraun.n...@gmail.com> wrote:
> If you are going to add this, maybe you can also add dpkg-architecture on
Ubuntu. This prerequisite (to figure out multiarch) one took me a while to
figure out, and it wasn't installed on the Ubuntu box that I played with.
> Just today I was also thinking about adding a script in front of the
whole build process that will suggest a few required/suggested distribution
packages to install before running the compilation and abort if they are
not found. You could skip over that test by setting SAGE_PORT if you know
what you are doing. Any thoughts on that?
I'm +1 to this.
> On Thursday, August 2, 2012 9:46:47 PM UTC-4, John H Palmieri wrote:
>> Given the number of people who have problems installing Sage because
their system is missing openssl, should we check for that in the prereq
script, so that the error is caught as soon as possible, and so that we can
write a good error message? (Note that I'm not volunteering to do this,
because I don't really know how...)
>> --
>> John
> --
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> If you are going to add this, maybe you can also add dpkg-architecture
> on Ubuntu. This prerequisite (to figure out multiarch) one took me a
> while to figure out, and it wasn't installed on the Ubuntu box that I
> played with.
And how are you going to find out whether you're on a system which has
multi-arch? That's non-trivial by itself.
> Given the number of people who have problems installing Sage because
> their system is missing openssl, should we check for that in the prereq
> script, so that the error is caught as soon as possible, and so that we
> can write a good error message? (Note that I'm not volunteering to do
> this, because I don't really know how...)
If the system has dpkg, then it should also have dpkg-architecture. Or you have to set SAGE_PORT and skip the prerequisite checks if you feel adventurous.
I've updated the ticket with a new version to that effect.
On Friday, August 3, 2012 2:05:17 AM UTC-4, Jeroen Demeyer wrote:
> On 2012-08-03 04:16, Volker Braun wrote: > > If you are going to add this, maybe you can also add dpkg-architecture > > on Ubuntu. This prerequisite (to figure out multiarch) one took me a > > while to figure out, and it wasn't installed on the Ubuntu box that I > > played with. > And how are you going to find out whether you're on a system which has > multi-arch? That's non-trivial by itself.
> If the system has dpkg, then it should also have dpkg-architecture. Or you
> have to set SAGE_PORT and skip the prerequisite checks if you feel
> adventurous.
> I've updated the ticket with a new version to that effect.
> On Friday, August 3, 2012 2:05:17 AM UTC-4, Jeroen Demeyer wrote:
>> On 2012-08-03 04:16, Volker Braun wrote:
>> > If you are going to add this, maybe you can also add dpkg-architecture
>> > on Ubuntu. This prerequisite (to figure out multiarch) one took me a
>> > while to figure out, and it wasn't installed on the Ubuntu box that I
>> > played with.
>> And how are you going to find out whether you're on a system which has
>> multi-arch? That's non-trivial by itself.
> --
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org
This is precisely my point, for some reason dpkg-architecture is not installed by default, while dpkg is of course installed by default. So prereq should check that it is. AFAIR Python will silently compile to a very reduced featurese because it can't find multiarch libraries, which is why this is particularly tricky to debug.