Also - Sage built fine with gcc 4.5.1 on my Linux installation (SuSE
11.4)

-drl

On Feb 28, 8:37 pm, deSitter <antimatter3...@gmail.com> wrote:
> Sun Enterprise 420R, gcc 4.6.2, Sun linker, LD_LIBRARY_PATH=/usr/local/
> lib, Sun Studio 12 installed.
>
> There is a problem with inclusion of <complex.h> somewhere in the
> cvxopt-1.1.3 package. Error:
>
> gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
> prototypes -fPIC -I/root/Documents/sage-4.8/local/include -I/root/
> Documents/sage-4.8/local/include/python2.6 -c C/base.c -o build/
> temp.solaris-2.10-sun4u-2.6/C/base.o
> C/base.c: In function 'convert_znum':
> C/base.c:157:33: error: '_Imaginary_I' undeclared (first use in this
> function)
> C/base.c:157:33: note: each undeclared identifier is reported only
> once for each function it appears in
> error: command 'gcc' failed with exit status 1
> Error building/installing cvxopt
>
> Simply including complex.h in base.c would probably work, but that's
> not a real solution. My guess is a problem with gcc. Any ideas? Thanks
> in advance.
>
> -drl

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to