|
I have got a copy of wxPerl. But when I just installed it, the following problem came out.
g++ -s -c -I. -I/usr/lib/wx/include/gtk-2.4 -I../.. -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fpic "-I/usr/lib/perl5/5.8.0/i686-linux-thread-multi/CORE" -DWXPL_EXT -DGTK_NO_CHECK_CASTS -D__WXGTK__ Grid.c
In file included from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/ostream:45,
from /usr/include/c++/3.2.3/iostream:45,
from /usr/include/wx/ioswrap.h:18,
from /usr/include/wx/string.h:1264,
from /usr/include/wx/memory.h:20,
from /usr/include/wx/object.h:25,
from ../../cpp/helpers.h:16,
from ../../cpp/wxapi.h:65,
from Grid.c:23:
/usr/include/c++/3.2.3/bits/locale_facets.h:1631:40: Error: macro "do_open" requires 7 arguments, but only 2 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1643:34: Error: macro "do_close" requires 2 arguments, but only 1 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1650:55: Error: macro "do_open" requires 7 arguments, but only 2 given
In file included from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/ostream:45,
from /usr/include/c++/3.2.3/iostream:45,
from /usr/include/wx/ioswrap.h:18,
from /usr/include/wx/string.h:1264,
from /usr/include/wx/memory.h:20,
from /usr/include/wx/object.h:25,
from ../../cpp/helpers.h:16,
from ../../cpp/wxapi.h:65,
from Grid.c:23:
/usr/include/c++/3.2.3/bits/locale_facets.h:1650: Error: `do_open' declared as a
`virtual' field
/usr/include/c++/3.2.3/bits/locale_facets.h:1650: Error: syntax error before `const'
/usr/include/c++/3.2.3/bits/locale_facets.h:1656:23: Error: macro "do_close" requires 2 arguments, but only 1 given
/usr/include/c++/3.2.3/bits/locale_facets.h:1656: Error: variable or field `do_close'
declared void
/usr/include/c++/3.2.3/bits/locale_facets.h:1656: Error: `do_close' declared asa
`virtual' field
/usr/include/c++/3.2.3/bits/locale_facets.h:1656: Error: syntax error before `const'
In file included from /usr/include/c++/3.2.3/bits/locale_facets.h:1738,
from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/ostream:45,
from /usr/include/c++/3.2.3/iostream:45,
from /usr/include/wx/ioswrap.h:18,
from /usr/include/wx/string.h:1264,
from /usr/include/wx/memory.h:20,
from /usr/include/wx/object.h:25,
from ../../cpp/helpers.h:16,
from ../../cpp/wxapi.h:65,
from Grid.c:23:
/usr/include/c++/3.2.3/i686-pc-linux-gnu/bits/messages_members.h:65:38: Error: macro "do_open" requires 7 arguments, but only 2 given
/usr/include/c++/3.2.3/i686-pc-linux-gnu/bits/messages_members.h:82:44: Error: macro "do_open" requires 7 arguments, but only 2 given
In file included from /usr/include/c++/3.2.3/bits/locale_facets.h:1738,
from /usr/include/c++/3.2.3/bits/basic_ios.h:41,
from /usr/include/c++/3.2.3/ios:51,
from /usr/include/c++/3.2.3/ostream:45,
from /usr/include/c++/3.2.3/iostream:45,
from /usr/include/wx/ioswrap.h:18,
from /usr/include/wx/string.h:1264,
from /usr/include/wx/memory.h:20,
from /usr/include/wx/object.h:25,
from ../../cpp/helpers.h:16,
from ../../cpp/wxapi.h:65,
from Grid.c:23:
/usr/include/c++/3.2.3/i686-pc-linux-gnu/bits/messages_members.h:82: Error: syntax
error before `const'
/usr/include/c++/3.2.3/i686-pc-linux-gnu/bits/messages_members.h:82: Error: confused by earlier errors, bailing out
make[2]: *** [Grid.o] Error 1
make[2]: Leaving directory `/tmp/Wx-0.15/ext/grid'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/tmp/Wx-0.15/ext'
make: *** [subdirs] Error 2 |
|