Unfortunately, the recipe generated the same error.
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../src -I../../src/4ti2 -D_4ti2_INT64_ -I./..
-D__STDC_LIMIT_MACROS -DNDEBUG -Wall -std=c++0x -MT
lib4ti2int64_la-VectorArrayAPI.lo -MD -MP -MF
.deps/lib4ti2int64_la-VectorArrayAPI.Tpo -c -o
lib4ti2int64_la-VectorArrayAPI.lo `test -f 'VectorArrayAPI.cpp' || echo
'./'`VectorArrayAPI.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src/4ti2
-D_4ti2_INT64_ -I./.. -D__STDC_LIMIT_MACROS -DNDEBUG -Wall -std=c++0x -MT
lib4ti2int64_la-VectorArrayAPI.lo -MD -MP -MF
.deps/lib4ti2int64_la-VectorArrayAPI.Tpo -c VectorArrayAPI.cpp -o
lib4ti2int64_la-VectorArrayAPI.o
In file included from VectorArrayAPI.cpp:26:0:
../../src/groebner/VectorArrayAPI.h: In instantiation of 'static void
_4ti2_::VectorArrayAPI::convert(const T1&, T2&) [with T1 =
__gmp_expr<__mpz_struct [1], __mpz_struct [1]>; T2 = long long int]':
VectorArrayAPI.cpp:99:30: required from here
../../src/groebner/VectorArrayAPI.h:67:8: error: cannot convert 'const
__gmp_expr<__mpz_struct [1], __mpz_struct [1]>' to 'long long int' in
assignment
v2 = v1;
^
make[3]: *** [lib4ti2int64_la-VectorArrayAPI.lo] Error 1
make[3]: Leaving directory `/tmp/4ti2-1.6/src/groebner'
On Sunday, January 12, 2014 12:45:49 PM UTC-5, William wrote:
>
> On Sun, Jan 12, 2014 at 8:36 AM, rickhg12hs <[email protected]<javascript:>>
> wrote:
> > Trying to install 4ti2 package generates an error. How can this be
> fixed?
> >
>
> Here's my recipe (for SageMathCloud) for building 4ti2:
>
> # 4ti2 into sage: until the optional spkg gets fixed:
>
>
> ./sage -sh
> cd /tmp; wget http://www.4ti2.de/version_1.6/4ti2-1.6.tar.gz &&
> tar xf 4ti2-1.6.tar.gz && cd 4ti2-1.6 ; ./configure
> --prefix=/usr/local/sage/current/local/; time make -j16
> make install # this *must* be a separate step!!
> rm -rf /tmp/4ti2*
>
>
>
> > [from log file]
> > ...
> > ****************************************************
> > Host system:
> > Linux steelers.net 3.12.6-200.fc19.i686.PAE #1 SMP Mon Dec 23 16:58:40
> UTC
> > 2013
> > i686 i686 i386 GNU/Linux
> > ****************************************************
> > ---
> > In file included from VectorArrayAPI.cpp:26:0:
> > ../../src/groebner/VectorArrayAPI.h: In instantiation of 'static void
> > _4ti2_::VectorArrayAPI::convert(const T1&, T2&) [with T1 =
> > __gmp_expr<__mpz_struct [1], __mpz_struct [1]>; T2 = long long int]':
> > VectorArrayAPI.cpp:99:30: required from here
> > ../../src/groebner/VectorArrayAPI.h:67:8: error: cannot convert 'const
> > __gmp_expr<__mpz_struct [1], __mpz_struct [1]>' to 'long long int' in
> > assignment
> > v2 = v1;
> > ^
> > make[2]: *** [lib4ti2int64_la-VectorArrayAPI.lo] Error 1
> >
> > --
> > 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 [email protected] <javascript:>.
> > To post to this group, send email to
> > [email protected]<javascript:>.
>
> > Visit this group at http://groups.google.com/group/sage-support.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> William Stein
> Professor of Mathematics
> University of Washington
> http://wstein.org
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.