From: Dr. D. K. <dav...@on...> - 2010-06-11 20:55:32
|
The latest stable (0.99.3) matplotlib builds ok on Solaris 10 03/05 on SPARC. However, your latest trunc release has some useful fixes, so it was downloaded by a fellow Sage devloper. However, when I try to build this version on a Sun Blade 1000 running Solaris 10 03/05, it presents a problem: /usr/include/stdlib.h:144: error: declaration of C function 'void swab(const char*, char*, ssize_t)' conflicts with /usr/include/unistd.h:480: error: previous declaration 'void swab(const void*, void*, ssize_t)' here error: command 'gcc' failed with exit status 1 Error building matplotlib package. There are two declarations of 'swab' in the Solaris header files, and what one you get depends on the compilation mode. The reasons are explained in the Solaris header files. The issue is traced at http://trac.sagemath.org/sage_trac/ticket/9202 where you will see the full error message and attachments of the header files. For this, gcc 4.4.4 was used. Dave |