Re: [sage-devel] can't compile: make hangs at mpir

2017-03-06 Thread Gere Mia
Is there a way to solve this issue without downgrading SED?

On Tuesday, January 10, 2017 at 2:36:09 PM UTC-7, moritz wrote:
>
>
>
> On Tuesday, January 10, 2017 at 9:44:09 PM UTC+1, François wrote:
>>
>> Don't think so. Look at the logs at the messages about Sed during 
>> configure.
>> Sed is used to preprocess that file.
>> Gentoo report
>> https://bugs.gentoo.org/show_bug.cgi?id=604764
>> I think Bill will have to look at it upstream.
>>
>> Francois 
>>
> Great! This solved my problem: I simply installed an older version of sed 
> (4.2.2-8) and then mpir compiled! The current version 4.3-3 does not work 
> well together with the configure step of mpir. 
>
> (For the record, before that I tried removing libgmp-dev, but that didn't 
> help..)
>
>
> Thanks for all the help to both of you!  
>

-- 
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] can't compile: make hangs at mpir

2017-01-10 Thread moritz


On Tuesday, January 10, 2017 at 9:44:09 PM UTC+1, François wrote:
>
> Don't think so. Look at the logs at the messages about Sed during 
> configure.
> Sed is used to preprocess that file.
> Gentoo report
> https://bugs.gentoo.org/show_bug.cgi?id=604764
> I think Bill will have to look at it upstream.
>
> Francois 
>
Great! This solved my problem: I simply installed an older version of sed 
(4.2.2-8) and then mpir compiled! The current version 4.3-3 does not work 
well together with the configure step of mpir. 

(For the record, before that I tried removing libgmp-dev, but that didn't 
help..)


Thanks for all the help to both of you!  

-- 
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] can't compile: make hangs at mpir

2017-01-10 Thread Francois Bissey
Don't think so. Look at the logs at the messages about Sed during configure.
Sed is used to preprocess that file.
Gentoo report
https://bugs.gentoo.org/show_bug.cgi?id=604764
I think Bill will have to look at it upstream.

Francois

On 11/01/2017, at 9:23 AM, Dima Pasechnik 
> wrote:

a wild guess is that libgmp-dev is to blame. Could you try to remove it and 
retry building?

--
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.

This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

-- 
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] can't compile: make hangs at mpir

2017-01-10 Thread Dima Pasechnik
a wild guess is that libgmp-dev is to blame. Could you try to remove it and 
retry building?

-- 
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] can't compile: make hangs at mpir

2017-01-10 Thread Dima Pasechnik
please post logs/pkgs/mpir-2.7.2.log

Also, do you have gmp-dev and/or mpir-dev installed system-wide?

On Tuesday, January 10, 2017 at 9:53:48 AM UTC, moritz wrote:
>
> Was there a way to fix it? I googled for it, but didn't find the report in 
> Gentoo. 
> Is anybody else compiling sage or mpir successfully on a current 
> debian-sid distribution?
>
> On Monday, January 9, 2017 at 7:52:45 PM UTC+1, François wrote:
>>
>> I have seen a report for this in Gentoo 
>> Against 2.6.0. I think it is because of the behaviour of the latest 
>> version of Sed.
>>
>> Francois 
>>
>>

-- 
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] can't compile: make hangs at mpir

2017-01-10 Thread moritz
Was there a way to fix it? I googled for it, but didn't find the report in 
Gentoo. 
Is anybody else compiling sage or mpir successfully on a current debian-sid 
distribution?

On Monday, January 9, 2017 at 7:52:45 PM UTC+1, François wrote:
>
> I have seen a report for this in Gentoo 
> Against 2.6.0. I think it is because of the behaviour of the latest 
> version of Sed.
>
> Francois 
>
>

-- 
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] can't compile: make hangs at mpir

2017-01-09 Thread Francois Bissey
I have seen a report for this in Gentoo
Against 2.6.0. I think it is because of the behaviour of the latest version of 
Sed.

Francois

On 10/01/2017, at 1:53 AM, moritz 
> wrote:

Dear list,

  I am trying to build sage from source on a thinkpad X240 running debian sid. 
When running make, I get the following error:

[mpir-2.7.2] mpn/.libs/preinv_divrem_1.o: In function `__gmpn_preinv_divrem_1':
[mpir-2.7.2] 
/home/mo/sage/local/var/tmp/sage/build/mpir-2.7.2/src/mpn/preinv_divrem_1.c:57: 
multiple definition of `__gmpn_preinv_divrem_1'
[mpir-2.7.2] 
mpn/.libs/divrem_euclidean_qr_1.o:divrem_euclidean_qr_1.as:(.text+0x0): first 
defined here
[mpir-2.7.2] mpn/.libs/addmul_2.o: In function `__gmpn_addmul_2':
[mpir-2.7.2] addmul_2.as:(.text+0x0): multiple definition of `__gmpn_addmul_2'
[mpir-2.7.2] 
mpn/.libs/redc_2.o:/home/mo/sage/local/var/tmp/sage/build/mpir-2.7.2/src/mpn/redc_2.c:38:
 first defined here
[mpir-2.7.2] collect2: error: ld returned 1 exit status
[mpir-2.7.2] Makefile:860: recipe for target 'libmpir.la' 
failed
...
[mpir-2.7.2] Error building MPIR.


I tried to track down the problem and tried to compile MPIR independently, but 
this also fails. Bill Hart very kindly tried to help me, but without success: 
https://groups.google.com/forum/#!topic/mpir-devel/T_NRX-gSpr8

I will gladly post more log files or anything else that might be useful to 
solve this problem.

 Moritz


--
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.

This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

-- 
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.