Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
Good thing you made me check. I didn't actually include gfortran into the
build environment, so its saying `checking for gfortran... no`.

On Tue, Oct 30, 2018 at 4:48 PM Dima Pasechnik  wrote:

> Well, does ./configure outputs something like
>
> .
> gcc-7.2.0 not installed (configure check)
> gdb-8.2
> gf2x-1.2.p0
> gfan-0.6.2.p0
> gfortran-7.2.0 not installed (configure check)
> ...
>
> If so it should not build gfortran (unless you have SAGE_INSTALL_GCC
> set to yes for some reason...)
>
> On Tue, Oct 30, 2018 at 4:39 PM Timo Kaufmann  wrote:
> >
> > No, but nixos doesn't follow FHS[0], so I am using linux namespaces
> (more precisely this[1]) to build sage in an environment where all the
> build dependencies are at their FHS locations. So sage is using nixos's
> gfortran, the namespaces are just so it can find it where it expects it.
> This worked before, I'm not sure if it stopped working because of a sage
> change or a gfortran update. I vaguely remembered reading something similar
> on the mailing list, so I thought I'd ask you what you think is causing
> this before spending more time debugging.
> >
> > [0] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
> > [1] https://nixos.org/nixpkgs/manual/#sec-fhs-environments
> >
> > Am Dienstag, 30. Oktober 2018 16:34:47 UTC+1 schrieb Dima Pasechnik:
> >>
> >> On Tue, Oct 30, 2018 at 4:29 PM Timo Kaufmann 
> wrote:
> >> >
> >> > Its a bit of a complicated case, but I'm not using anaconda. I'm
> using nixos and a special build environment that uses linux namespaces to
> make sure all the dependencies are in the location sage expects them. I'm
> using that to build sage-the-distribution when testing because that won't
> build natively on nixos.
> >>
> >> Hmm, do you mean to say you cannot have "native" nixos's gfortran, you
> >> must build Sage's one?
> >>
> >> >
> >> > Am Dienstag, 30. Oktober 2018 16:08:24 UTC+1 schrieb Dima Pasechnik:
> >> >>
> >> >> On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann 
> wrote:
> >> >> >
> >> >> > I just had the same issue. Why do you think "several versions of
> gfortran guts" are the issue? How does sage find gfortran / why does it get
> confused?
> >> >> >
> >> >>
> >> >> What's the OS you are using? How do you install Sage?
> >> >> I suspect it's a conflict with (Ana)conda...
> >> >>
> >> >> > --
> >> >> > 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+...@googlegroups.com.
> >> >> > To post to this group, send email to sage-...@googlegroups.com.
> >> >> > Visit this group at https://groups.google.com/group/sage-devel.
> >> >> > For more options, visit https://groups.google.com/d/optout.
> >> >
> >> > --
> >> > 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+...@googlegroups.com.
> >> > To post to this group, send email to sage-...@googlegroups.com.
> >> > Visit this group at https://groups.google.com/group/sage-devel.
> >> > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > 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 post to this group, send email to sage-devel@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/rLQLLSzHlNk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Dima Pasechnik
Well, does ./configure outputs something like

.
gcc-7.2.0 not installed (configure check)
gdb-8.2
gf2x-1.2.p0
gfan-0.6.2.p0
gfortran-7.2.0 not installed (configure check)
...

If so it should not build gfortran (unless you have SAGE_INSTALL_GCC
set to yes for some reason...)

On Tue, Oct 30, 2018 at 4:39 PM Timo Kaufmann  wrote:
>
> No, but nixos doesn't follow FHS[0], so I am using linux namespaces (more 
> precisely this[1]) to build sage in an environment where all the build 
> dependencies are at their FHS locations. So sage is using nixos's gfortran, 
> the namespaces are just so it can find it where it expects it. This worked 
> before, I'm not sure if it stopped working because of a sage change or a 
> gfortran update. I vaguely remembered reading something similar on the 
> mailing list, so I thought I'd ask you what you think is causing this before 
> spending more time debugging.
>
> [0] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
> [1] https://nixos.org/nixpkgs/manual/#sec-fhs-environments
>
> Am Dienstag, 30. Oktober 2018 16:34:47 UTC+1 schrieb Dima Pasechnik:
>>
>> On Tue, Oct 30, 2018 at 4:29 PM Timo Kaufmann  wrote:
>> >
>> > Its a bit of a complicated case, but I'm not using anaconda. I'm using 
>> > nixos and a special build environment that uses linux namespaces to make 
>> > sure all the dependencies are in the location sage expects them. I'm using 
>> > that to build sage-the-distribution when testing because that won't build 
>> > natively on nixos.
>>
>> Hmm, do you mean to say you cannot have "native" nixos's gfortran, you
>> must build Sage's one?
>>
>> >
>> > Am Dienstag, 30. Oktober 2018 16:08:24 UTC+1 schrieb Dima Pasechnik:
>> >>
>> >> On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann  wrote:
>> >> >
>> >> > I just had the same issue. Why do you think "several versions of 
>> >> > gfortran guts" are the issue? How does sage find gfortran / why does it 
>> >> > get confused?
>> >> >
>> >>
>> >> What's the OS you are using? How do you install Sage?
>> >> I suspect it's a conflict with (Ana)conda...
>> >>
>> >> > --
>> >> > 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+...@googlegroups.com.
>> >> > To post to this group, send email to sage-...@googlegroups.com.
>> >> > Visit this group at https://groups.google.com/group/sage-devel.
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >
>> > --
>> > 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+...@googlegroups.com.
>> > To post to this group, send email to sage-...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sage-devel.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
No, but nixos doesn't follow FHS[0], so I am using linux namespaces (more 
precisely this[1]) to build sage in an environment where all the build 
dependencies are at their FHS locations. So sage is using nixos's gfortran, 
the namespaces are just so it can find it where it expects it. This worked 
before, I'm not sure if it stopped working because of a sage change or a 
gfortran update. I vaguely remembered reading something similar on the 
mailing list, so I thought I'd ask you what you think is causing this 
before spending more time debugging.

[0] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
[1] https://nixos.org/nixpkgs/manual/#sec-fhs-environments

Am Dienstag, 30. Oktober 2018 16:34:47 UTC+1 schrieb Dima Pasechnik:
>
> On Tue, Oct 30, 2018 at 4:29 PM Timo Kaufmann  > wrote: 
> > 
> > Its a bit of a complicated case, but I'm not using anaconda. I'm using 
> nixos and a special build environment that uses linux namespaces to make 
> sure all the dependencies are in the location sage expects them. I'm using 
> that to build sage-the-distribution when testing because that won't build 
> natively on nixos. 
>
> Hmm, do you mean to say you cannot have "native" nixos's gfortran, you 
> must build Sage's one? 
>
> > 
> > Am Dienstag, 30. Oktober 2018 16:08:24 UTC+1 schrieb Dima Pasechnik: 
> >> 
> >> On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann  
> wrote: 
> >> > 
> >> > I just had the same issue. Why do you think "several versions of 
> gfortran guts" are the issue? How does sage find gfortran / why does it get 
> confused? 
> >> > 
> >> 
> >> What's the OS you are using? How do you install Sage? 
> >> I suspect it's a conflict with (Ana)conda... 
> >> 
> >> > -- 
> >> > 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+...@googlegroups.com. 
> >> > To post to this group, send email to sage-...@googlegroups.com. 
> >> > Visit this group at https://groups.google.com/group/sage-devel. 
> >> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > 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+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Dima Pasechnik
On Tue, Oct 30, 2018 at 4:29 PM Timo Kaufmann  wrote:
>
> Its a bit of a complicated case, but I'm not using anaconda. I'm using nixos 
> and a special build environment that uses linux namespaces to make sure all 
> the dependencies are in the location sage expects them. I'm using that to 
> build sage-the-distribution when testing because that won't build natively on 
> nixos.

Hmm, do you mean to say you cannot have "native" nixos's gfortran, you
must build Sage's one?

>
> Am Dienstag, 30. Oktober 2018 16:08:24 UTC+1 schrieb Dima Pasechnik:
>>
>> On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann  wrote:
>> >
>> > I just had the same issue. Why do you think "several versions of gfortran 
>> > guts" are the issue? How does sage find gfortran / why does it get 
>> > confused?
>> >
>>
>> What's the OS you are using? How do you install Sage?
>> I suspect it's a conflict with (Ana)conda...
>>
>> > --
>> > 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+...@googlegroups.com.
>> > To post to this group, send email to sage-...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sage-devel.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
Its a bit of a complicated case, but I'm not using anaconda. I'm using 
nixos and a special build environment that uses linux namespaces to make 
sure all the dependencies are in the location sage expects them. I'm using 
that to build sage-the-distribution when testing because that won't build 
natively on nixos.

Am Dienstag, 30. Oktober 2018 16:08:24 UTC+1 schrieb Dima Pasechnik:
>
> On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann  > wrote: 
> > 
> > I just had the same issue. Why do you think "several versions of 
> gfortran guts" are the issue? How does sage find gfortran / why does it get 
> confused? 
> > 
>
> What's the OS you are using? How do you install Sage? 
> I suspect it's a conflict with (Ana)conda... 
>
> > -- 
> > 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+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Dima Pasechnik
On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann  wrote:
>
> I just had the same issue. Why do you think "several versions of gfortran 
> guts" are the issue? How does sage find gfortran / why does it get confused?
>

What's the OS you are using? How do you install Sage?
I suspect it's a conflict with (Ana)conda...

> --
> 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 post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
I just had the same issue. Why do you think "several versions of gfortran 
guts" are the issue? How does sage find gfortran / why does it get confused?

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.