On Sep 6, 5:18 pm, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote:
> On 7 Sep, 00:46, mabshoff <[EMAIL PROTECTED]> wrote:
>
> > On Sep 6, 4:30 pm, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote:
>
> > Hi Dave,
>
> Hi Micheal
>
>
>
> > > I noticed there were some Solaris fixes, so I thought I'd try and
> > > report. Basically 'matplotlib' fails to build, as one of its
> > > dependencies (numpy) is not present. Is that what was expected? This
> > > is was on my Sun Blade 2000, with Solaris 10 update 4.
>
> > > Dave
>
> > Yes, it is an issue with a broken lapack.so and ATLAS that remains
> > unfixed in 3.1.2.rc0. It boils down to deleting liblapack.so,
> > rebuilding numpy and then restarting the build.
>
> Thank you for that, although it did not get me much further. I removed
> the library, rebuilt numpy, started the build of Sage again, but the
> compiler complains about the legality of matplotlib's C++ code - see
> below.Are you aware of this issue, or is it unique to me?
>
> Dave

<SNIP>

> sage-3.1.2.alpha4/local/include/python2.5 -c src/_ttconv.cpp -o build/
> temp.solaris-2.10-sun4u-2.5/src/_ttconv.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
> prototypes -fPIC -I/usr/local/include -I. -I/export/home/drkirkby/
> sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
> sage-3.1.2.alpha4/local/include/python2.5 -c ttconv/pprdrv_tt.cpp -o
> build/temp.solaris-2.10-sun4u-2.5/ttconv/pprdrv_tt.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
> prototypes -fPIC -I/usr/local/include -I. -I/export/home/drkirkby/
> sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
> sage-3.1.2.alpha4/local/include/python2.5 -c ttconv/pprdrv_tt2.cpp -o
> build/temp.solaris-2.10-sun4u-2.5/ttconv/pprdrv_tt2.o
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> for Ada/C/ObjC but not for C++
> ttconv/pprdrv_tt2.cpp: In member function 'void
> GlyphToType3::stack(TTStreamWriter&, int)':
> ttconv/pprdrv_tt2.cpp:107: error: expected unqualified-id before '('
> token
> error: command 'gcc' failed with exit status 1
> Error building matplotlib package.

Hmm, this does not look familiar, but we used to have a gcc 4.3.1
patch that has been allegedly merged upstream. I am using gcc 4.2.4 on
Solaris at the moment and I have not hit the issue. I will likely
build gcc 4.3.2 on Solaris soon and see if I can hit the problem.

Cheers,

Michael

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to