Re: [sage-support] Sage Build Failed

2023-03-20 Thread dimpase
On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>  I am trying to build sage using WSL, but it failed while 
> installing suitesparse. Please help me with this. I am attaching a log file 
> for reference.
> 
> Host system:
> Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 
> 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> 
> C compiler: clang
> C compiler version:
> Ubuntu clang version 14.0.0-1ubuntu1
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
> Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> 
> Package 'suitesparse' is currently not installed
> No legacy uninstaller found for 'suitesparse'; nothing to do
...

> /usr/bin/ld: cannot find -lomp: No such file or directory

looks like you need to install an extra package here.
Try doing

   sudo apt install libomp-dev

and then run

   make 

again. You've probably run into this, as we don't test clang on Linux,
as far as I know.

HTH
Dima

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.


Re: [sage-support] Sage Build Failed

2023-03-20 Thread Atharva Deore
Thanks, Dima! The issue is resolved now.

On Mon, Mar 20, 2023 at 3:48 PM  wrote:

> On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
> >  I am trying to build sage using WSL, but it failed while
> > installing suitesparse. Please help me with this. I am attaching a log
> file
> > for reference.
> >
> > Host system:
> > Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2
> 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> > 
> > C compiler: clang
> > C compiler version:
> > Ubuntu clang version 14.0.0-1ubuntu1
> > Target: x86_64-pc-linux-gnu
> > Thread model: posix
> > InstalledDir: /usr/bin
> > Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> > Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
> > Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> > Candidate multilib: .;@m64
> > Selected multilib: .;@m64
> > 
> > Package 'suitesparse' is currently not installed
> > No legacy uninstaller found for 'suitesparse'; nothing to do
> ...
>
> > /usr/bin/ld: cannot find -lomp: No such file or directory
>
> looks like you need to install an extra package here.
> Try doing
>
>sudo apt install libomp-dev
>
> and then run
>
>make
>
> again. You've probably run into this, as we don't test clang on Linux,
> as far as I know.
>
> HTH
> Dima
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAMf_%2BMvi6DCUhow75mwW%2BrXm5M_6Sf3WxRopctSZUjVaBXWR1g%40mail.gmail.com.


Re: [sage-support] Sage Build Failed

2023-03-20 Thread Henri Girard
Good I compiled in wsl2 with lunar (ubuntu+1) I had no problem curious 
to know why,



Le 20/03/2023 à 12:54, Atharva Deore a écrit :

Thanks, Dima! The issue is resolved now.

On Mon, Mar 20, 2023 at 3:48 PM  wrote:

On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>  I am trying to build sage using WSL, but it failed while
> installing suitesparse. Please help me with this. I am attaching
a log file
> for reference.
>
> Host system:
> Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1 SMP
Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> 
> C compiler: clang
> C compiler version:
> Ubuntu clang version 14.0.0-1ubuntu1
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/9
> Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> 
> Package 'suitesparse' is currently not installed
> No legacy uninstaller found for 'suitesparse'; nothing to do
...

> /usr/bin/ld: cannot find -lomp: No such file or directory

looks like you need to install an extra package here.
Try doing

   sudo apt install libomp-dev

and then run

   make

again. You've probably run into this, as we don't test clang on Linux,
as far as I know.

HTH
Dima

-- 
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+unsubscr...@googlegroups.com
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAMf_%2BMvi6DCUhow75mwW%2BrXm5M_6Sf3WxRopctSZUjVaBXWR1g%40mail.gmail.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4778efd5-c7e9-77e9-7b46-4a9cd3eba72b%40gmail.com.


Re: [sage-support] Sage Build Failed

2023-03-20 Thread Dima Pasechnik
On Mon, 20 Mar 2023, 14:39 Henri Girard,  wrote:

> Good I compiled in wsl2 with lunar (ubuntu+1) I had no problem curious to
> know why,
>
>
you probably used gcc as C/C++ compiler - the problem comes up with clang
used instead.


> Le 20/03/2023 à 12:54, Atharva Deore a écrit :
>
> Thanks, Dima! The issue is resolved now.
>
> On Mon, Mar 20, 2023 at 3:48 PM  wrote:
>
>> On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>> >  I am trying to build sage using WSL, but it failed while
>> > installing suitesparse. Please help me with this. I am attaching a log
>> file
>> > for reference.
>> >
>> > Host system:
>> > Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr
>> 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>> > 
>> > C compiler: clang
>> > C compiler version:
>> > Ubuntu clang version 14.0.0-1ubuntu1
>> > Target: x86_64-pc-linux-gnu
>> > Thread model: posix
>> > InstalledDir: /usr/bin
>> > Found candidate GCC installation:
>> /usr/bin/../lib/gcc/x86_64-linux-gnu/11
>> > Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
>> > Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
>> > Candidate multilib: .;@m64
>> > Selected multilib: .;@m64
>> > 
>> > Package 'suitesparse' is currently not installed
>> > No legacy uninstaller found for 'suitesparse'; nothing to do
>> ...
>>
>> > /usr/bin/ld: cannot find -lomp: No such file or directory
>>
>> looks like you need to install an extra package here.
>> Try doing
>>
>>sudo apt install libomp-dev
>>
>> and then run
>>
>>make
>>
>> again. You've probably run into this, as we don't test clang on Linux,
>> as far as I know.
>>
>> HTH
>> Dima
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAMf_%2BMvi6DCUhow75mwW%2BrXm5M_6Sf3WxRopctSZUjVaBXWR1g%40mail.gmail.com
> 
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/4778efd5-c7e9-77e9-7b46-4a9cd3eba72b%40gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3%3D8uwU%2BgSNq2K_vDJMpBOnBV8h%3DKHQ2F5_NrL7M5L1Bw%40mail.gmail.com.


Re: [sage-support] Sage Build Failed

2023-03-20 Thread Henri Girard
Thanks ! Yes it is true I use what wsl installed, to be true except the 
name I don't know about clang.


Best

Henri

Le 20/03/2023 à 15:50, Dima Pasechnik a écrit :



On Mon, 20 Mar 2023, 14:39 Henri Girard,  wrote:

Good I compiled in wsl2 with lunar (ubuntu+1) I had no problem
curious to know why,


you probably used gcc as C/C++ compiler - the problem comes up with 
clang used instead.



Le 20/03/2023 à 12:54, Atharva Deore a écrit :

Thanks, Dima! The issue is resolved now.

On Mon, Mar 20, 2023 at 3:48 PM  wrote:

On Mon, Mar 20, 2023 at 12:33:20AM -0700, Atharva Deore wrote:
>  I am trying to build sage using WSL, but it failed while
> installing suitesparse. Please help me with this. I am
attaching a log file
> for reference.
>
> Host system:
> Linux DESKTOP-LO8OV26 5.10.16.3-microsoft-standard-WSL2 #1
SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> 
> C compiler: clang
> C compiler version:
> Ubuntu clang version 14.0.0-1ubuntu1
> Target: x86_64-pc-linux-gnu
> Thread model: posix
> InstalledDir: /usr/bin
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/9
> Selected GCC installation:
/usr/bin/../lib/gcc/x86_64-linux-gnu/11
> Candidate multilib: .;@m64
> Selected multilib: .;@m64
> 
> Package 'suitesparse' is currently not installed
> No legacy uninstaller found for 'suitesparse'; nothing to do
...

> /usr/bin/ld: cannot find -lomp: No such file or directory

looks like you need to install an extra package here.
Try doing

   sudo apt install libomp-dev

and then run

   make

again. You've probably run into this, as we don't test clang
on Linux,
as far as I know.

HTH
Dima

-- 
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+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/ZBgy7AGipsZuYGpl%40hilbert.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/CAMf_%2BMvi6DCUhow75mwW%2BrXm5M_6Sf3WxRopctSZUjVaBXWR1g%40mail.gmail.com

.
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/sage-support/4778efd5-c7e9-77e9-7b46-4a9cd3eba72b%40gmail.com

.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3%3D8uwU%2BgSNq2K_vDJMpBOnBV8h%3DKHQ2F5_NrL7M5L1Bw%40mail.gmail.com 
.


--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/798bcad5-931f-62cf-3729-51360d42cdef%40gmail.com.