just found out that plucker has it's ebuild now, so checked it out; it failes to compile already with the first file (see additional info for the complete log): checkbox_message_dialog.h:82: error: invalid type `const char[2]' for default argument to `const wxString&' Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS=~x86 emerge plucker Actual Results: failes to compile Expected Results: compile the compile gives: =========SNIP============ make[1]: Entering directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser' cd python ; make make[2]: Entering directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser/python' all done make[2]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser/python' make[1]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser' cd tools ; make pluck_comics make[1]: Entering directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools' cd pluck-comics ; make make[2]: Entering directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools/pluck-comics' all done make[2]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools/pluck-comics' make[1]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools' make[1]: Entering directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/plucker_desktop' g++ -O2 -mcpu=pentium4 -funroll-loops -pipe `wx-config --cflags` -c -o checkbox_message_dialog.o checkbox_message_dialog.cpp In file included from checkbox_message_dialog.cpp:64: checkbox_message_dialog.h:82: error: invalid type `const char[2]' for default argument to `const wxString&' make[1]: *** [checkbox_message_dialog.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/plucker_desktop' make: *** [plucker-desktop] Error 2 !!! ERROR: app-pda/plucker-1.8-r1 failed. !!! Function src_compile, Line 57, Exitcode 2 !!! emake failed =========SNIP============ emerge info: =========SNIP============ Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1-bigbrother-7) ================================================================= System uname: 2.6.5-gentoo-r1-bigbrother-7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apm arts avi berkdb cdr crypt cups doc dvd dvdr encode esd ethereal foomaticdb gdbm gif gpm gtk gtk2 icq imagemagick imap imlib ipv6 jabber java jpeg kde ldap libg++ libwww mad maildir matroska mikmod mmx motif mozilla mpeg msn ncurses nls nocardbus offensive oggvorbis opengl pam pda pdflib perl png python qt quicktime readline samba sasl sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xinerama xml2 xmms xv yahoo zlib" =========SNIP============
what version of wxGTK do you have?
the latest stable: # emerge -p wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r1
can I help with anything more?
I'm getting the same error trying to compile this. I have wxGTK version 2.4.2-r2 installed.
-r2 didn't work for me; however I didn't have any problems with wxGTK 2.4.2-r3.
I just tried with wxGTK-2.4.2-r3 and it still fails for me with the same error message: In file included from checkbox_message_dialog.cpp:64: checkbox_message_dialog.h:82: error: invalid type `const char[2]' for default argument to `const wxString&' Were you perhaps using wxGTK-2.5.1-r1?
Same problem here with wxGTK-2.4.2-r2
Just re-emerge wxGTK without "unicode"-flag. It work for me. I hope for you too.
okay... and if I would like unicode support in my wxGTK?
Created attachment 56051 [details, diff] non-unicode.diff This patch to plucker-1.8-r1.ebuild will force the ebuild to use the ansi (non-unicode) version, so no re-emerging of wxGTK is necessary.
This is now fixed in plucker-1.8-r1 I used Rob's need-wxwidgets fix, plus a sed to the Makefiles to call $(WX_CONFIG) instead of wx-config http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-pda/plucker/plucker-1.8-r1.ebuild?r1=1.7&r2=1.8