On Thu, Apr 8, 2010 at 1:00 PM, Bill Hart <goodwillh...@googlemail.com> wrote:
> We may as well stick all the defines back in otherwise William is
> going to rebuild Sage 20 times with the new MPIR, once for each define
> that we have to put back.
>
> People obviously have no idea what deprecated for 15 years means.

If you wait a few hours I can let you know.   So far the only issue
was this one define.

William


>
> Bill.
>
> On 8 April 2010 20:48, Bill Hart <goodwillh...@googlemail.com> wrote:
>> They are still using features from GMP 1!!!??!?!? I thought it was a
>> recent package!
>>
>> Yeah lets stick the stupid define back in.
>>
>> Bill.
>>
>> On 8 April 2010 18:55, Jason Moxham <ja...@njkfrudils.plus.com> wrote:
>>> We removed this OLD typedef
>>>
>>> typedef __mpz_struct MP_INT;    /* gmp 1 source compatibility */
>>>
>>> We could just put it back in mpir.h
>>>
>>> On Thursday 08 April 2010 18:18:12 William Stein wrote:
>>>> Hi,
>>>>
>>>> I tried to build Sage with mpir-2.0.0, and it fails.
>>>>
>>>> Issue 1: I removed the line
>>>>
>>>> $MAKE install-gmpcompat
>>>>
>>>> from our spkg-install script, since evidently now MPIR doesn't have an
>>>> install-gmpcompat target.
>>>>
>>>> Issue 2: Givaro then fails to build against MPIR:
>>>>
>>>>  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../..
>>>> -I../../../src/kernel/memory -I../../../src/kernel/system
>>>> -I/home/wstein/build/mpir2/sage-4.3.5/local//include -fPIC
>>>> -I/home/wstein/build/mpir2/sage-4.3.5/local/include -MT
>>>> gmp++_int_div.lo -MD -MP -MF .deps/gmp++_int_div.Tpo -c
>>>> gmp++_int_div.C  -fPIC -DPIC -o .libs/gmp++_int_div.o
>>>> In file included from gmp++/gmp++.h:32,
>>>>                  from gmp++_int_gcd.C:11:
>>>> ./gmp++/gmp++_int.h:387: error: ‘MP_INT’ does not name a type
>>>> ./gmp++/gmp++_int.h:389: error: ‘Rep’ does not name a type
>>>> In file included from gmp++/gmp++.h:32,
>>>>                  from gmp++_int_compare.C:9:
>>>> ./gmp++/gmp++_int.h:387: error: ‘MP_INT’ does not name a type
>>>> ./gmp++/gmp++_int.h:389: error: ‘Rep’ does not name a type
>>>> ./gmp++/gmp++_int.h:393: error: ISO C++ forbids declaration of ‘Rep’
>>>> with no type./gmp++/gmp++_int.h:393: error: ISO C++ forbids
>>>> declaration of ‘Rep’ with no type
>>>>
>>>> ./gmp++/gmp++_int.h:393: error: expected ‘;’ before ‘*’ token
>>>> ./gmp++/gmp++_int.h:396: error: expected `;' before ‘Integer’
>>>> ./gmp++/gmp++_int.h:393: error: expected ‘;’ before ‘*’ token
>>>> ./gmp++/gmp++_int.h:396: error: expected `;' before ‘Integer’
>>>>
>>>>
>>>> --
>>>> William Stein
>>>> Associate Professor of Mathematics
>>>> University of Washington
>>>> http://wstein.org
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "mpir-devel" group.
>>> To post to this group, send email to mpir-de...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> mpir-devel+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/mpir-devel?hl=en.
>>>
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "mpir-devel" group.
> To post to this group, send email to mpir-de...@googlegroups.com.
> To unsubscribe from this group, send email to 
> mpir-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/mpir-devel?hl=en.
>
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-de...@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to