media-video/mkvtoolnix-1.8.0 [1.7.0] USE="bzip2 flac lzo wxwindows -debug" CXX src/mmg/tab_input_format.cpp src/mmg/tab_input_format.cpp: In constructor
media-video/mkvtoolnix-1.8.0 [1.7.0] USE="bzip2 flac lzo wxwindows -debug" CXX src/mmg/tab_input_format.cpp src/mmg/tab_input_format.cpp: In constructor tab_input_format::tab_input_format(wxWindow*, tab_input*): src/mmg/tab_input_format.cpp:50: error: class wxBoxSizer has no member named AddSpacer src/mmg/tab_input_format.cpp:210: error: class wxBoxSizer has no member named AddSpacer make: *** [src/mmg/tab_input_format.o] Error 1 make: *** Waiting for unfinished jobs.... src/mmg/tab_input.cpp: In constructor tab_input::tab_input(wxWindow*): src/mmg/tab_input.cpp:114: error: class wxBoxSizer has no member named AddSpacer src/mmg/tab_input.cpp:209: error: class wxBoxSizer has no member named AddSpacer make: *** [src/mmg/tab_input.o] Error 1 !!! ERROR: media-video/mkvtoolnix-1.8.0 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile mkvtoolnix-1.8.0.ebuild, line 45: Called die emerge --info: Portage 2.1.2_rc2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(TM) XP 2800+ Gentoo Base System version 1.12.6 Last Sync: Sat, 18 Nov 2006 15:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -mmmx -msse -m3dnow -fomit-frame-pointer -fno-ident -falign-functions=64 -fweb -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /mnt/etc /usr/kde/devel/env /usr/kde/devel/share/config /usr/kde/devel/shutdown /usr/share/X11/xkb /usr/share/config /var/www/localhost /var/www/localhost/cgi-bin /var/www/localhost/htdig /var/www/localhost/htdocs/phpmyadmin" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -mmmx -msse -m3dnow -fomit-frame-pointer -fno-ident -falign-functions=64 -fweb -frename-registers -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/ebuild-exchange /usr/local/overlays/ecatmur /usr/local/overlays/fluidportage /usr/local/overlays/gentoo-de /usr/local/overlays/kpex-media /usr/local/overlays/portage-xgl /usr/local/overlays/science /usr/local/overlays/vmware /usr/local/overlays/webapps-experimental /usr/local/overlays/xwing /usr/local/overlays/zugaina /usr/local/overlays/sunrise /usr/local/overlays/wrobel /home/krueger/workspace/genkdesvn-playground /usr/local/overlays/portage /usr/local/overlays/java-migration-packages /usr/local/overlays/gentopia" SYNC="rsync://mordor.mailstation.de/gentoo-portage" USE="x86 16bit 3dnow 3dnowext 3ds S3TC X X509 Xaw3d a52 aac acl acpi aim alsa apache2 arts artswrappersuid artworkextra asf async audiofile avi bash-completion bdf berkdb bitmap-fonts bzip2 bzlib c++ cairo caps cdb cdparanoia cdr cg chroot cli client codecs compiz composite cpdflib cracklib crypt css cups curl curlwrappers dbus dga dio divx4linux djbfft dlloader dmi dri dts dvd dvdnav dvdr dvdread elibc_glibc emacs emacs-w3 encode esd ethereal exif expat extensions fam fame fastcgi fb fbcon ffmpeg fftw firefox flac fluidsynth font-server foreign-package foreign-sysvinit fortran fpx freetype gd gdbm german gif glibc-omitfp glitz glut glx gnokii gnutls gpm graphviz gs gtk gtk2 hal iconv icq idea idn ieee1394 imap imlib innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jbig jce joystick jp2 jpeg jpeg2k kde kdeenablefinal kernel_linux latex ldap leim libg++ lm_sensors lzo lzw mad matroska mbrola milter mime mjpeg mmap mmx mmxext mng modplug monkey mono motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mpi mplayer mule multi-tty mysqli ncurses network nls nptl nptlonly nsplugin ntlm nvidia offensive ogg openal opengl pam pcntl pcre pdf pdflib perl php pic pie plotutils png posix ppds pppd python quicktime readline real realmedia recode reflection samba sasl scanner sdk sdl session shared sharedmem smime sndfile snmp sockets sox speex spell spl sse ssl svg symbol_visibility sysvipc tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vcdimager vdr vdr-net video_cards_apm video_cards_nv video_cards_nvidia videos vidix vorbis win32codecs wmf wxwindows xanim xchatdccserver xcomposite xface xforms xine xinerama xml xml2 xmlrpc xorg xpm xrandr xscreensaver xsl xv xvid xvmc yv12 zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS wxGTK and libpcre have been recompiled immediately before.
Can you attach your config.log please ? This error occurs when it tries to build with wxGTK 2.4 where it should use 2.6. And what are your wxGTK versions installed ?
Created attachment 102309 [details] config.log Here's the config.log. And here are the versions: [I] x11-libs/wxGTK Available versions: (2.4) 2.4.2-r4 (2.6) 2.6.1 2.6.2-r1 (~)2.6.3.3 Installed versions: 2.4.2-r4(2.4)(01:18:21 25.03.2006)(-debug gtk2 -odbc opengl unicode -wxgtk1) 2.6.3.3(2.6)(19:04:26 18.11.2006)(X -debug -doc -gnome joystick -odbc opengl sdl unicode)
Created attachment 102310 [details, diff] wxgtk patch configure:10326: result: /usr/bin/wx-config configure:10335: checking for wxWidgets 2.4.0 or newer configure:10471: result: 2.4.2 ok it detects 2.4 what happens when using the attached patch ? it should say that it can't find any recent version of wxgtk and not build the gui. Something seems wrong with wxgtk detection but I can't figure out what
You're right: checking for wxWidgets 2.6.0 or newer... no: version 2.4.2 is too old I'll have a look at the problem again in a few hours - it's past 2 am here. :)
Created attachment 102322 [details, diff] configure-gentoo.diff Have a look at configure.in line 913 ff. and configure around line 10325. It only explicitly checks for "wx-config" which originates from 2.4 and therefor misses the needed wx-config-2.6. As mkvtoolnix depends on wxGTK-2.6 anyway, the easiest solution would be to patch configure so that it explicitly looks for wx-config-2.6. This is what the attached patch does. After applying it, everything works smoothly for me. I'll attach a patch for configure.in as well in case someone uses it. Thanks for your help!
Created attachment 102323 [details, diff] configure.in-gentoo.diff See comment #5
Thanks, I've just commited your patch to the configure script.
*** Bug 155669 has been marked as a duplicate of this bug. ***
One more update on this, Alexis, as promised: I've contacted Moritz Bunkus, mkvtoolnix' author, and we've worked out a better solution than my patch. The next version (to be released next week) will feature a configure switch to specify the correct wx-config: ./configure --with-wx-config=/full/path/to/wx-config-2.6 I've already tested this with a slightly modified ebuild and a SVN snapshot and it works just fine.
Thanks for your help, this addition is indeed better since the wxwidgets eclass sets WX_CONFIG variable to the requested value and I couldn't force mkvtoolnix configure to use it. We only have to wait for this release ;)
Version 1.8.1 has been released. See bug #156372.