Installing wxMaxima 0.7.0a with Maxima 5.10.0 on Suse 9.1?
Subject: Installing wxMaxima 0.7.0a with Maxima 5.10.0 on Suse 9.1?
From: Alasdair McAndrew
Date: Sun, 24 Sep 2006 23:08:37 +1000
Well, Maxima 5.10.0 seems to be working fine, and I've downloaded, compiled
and installed wxWidgets (the X11 version), and downloaded and attempted to
compile wxMaxima. The ".configure" bit goes fine, and "make" starts off
fine, grinds away happily for some time compiling various .cpp files, and
then goes off into a cluster of errors, starting off with
In file included from /usr/local/include/wx-2.6/wx/memory.h:20,
from /usr/local/include/wx-2.6/wx/object.h:25,
from /usr/local/include/wx-2.6/wx/wx.h:16,
from MathCell.h:38,
from MathParser.h:25,
from MathParser.cpp:20:
/usr/local/include/wx-2.6/wx/string.h:1080: error: syntax error before `;'
token
/usr/local/include/wx-2.6/wx/string.h:1085: error: syntax error before `;'
token
/usr/local/include/wx-2.6/wx/string.h:1117: error: syntax error before `;'
token
and finishing with
/usr/local/include/wx-2.6/wx/log.h: In function `void wxLogSysError(long
int,
const wxChar*, ...)':
/usr/local/include/wx-2.6/wx/log.h:544: error: syntax error before `;' token
/usr/local/include/wx-2.6/wx/log.h:544: error: ISO C++ forbids declaration
of `
ATTRIBUTE_PRINTF_2' with no type
/usr/local/include/wx-2.6/wx/log.h:544: error: redefinition of `int
ATTRIBUTE_PRINTF_2'
/usr/local/include/wx-2.6/wx/log.h:535: error: `int ATTRIBUTE_PRINTF_2'
previously declared here
/usr/local/include/wx-2.6/wx/hashmap.h:62: confused by earlier errors,
bailing out
make[1]: *** [MathParser.o] Error 1
make[1]: Leaving directory `/usr/local/src/wxMaxima-0.7.0a/src'
make: *** [all-recursive] Error 1
Is there anything I should (or shouldn't) be doing to make this work? Or is
there a nice already-compiled wxMaxima out there for me to download?
Thanks,
Alasdair