The cmake of media-gfx/hugin-0.7.0_rc4 fails to find wxwidgets on my installation. (see below for error-message). I have installed app-admin/eselect-wxwidgets-0.8 and x11-libs/wxGTK-2.8.7.1-r1. eselect is set to "gtk2-unicode-release-2.8". Possible reason: It seems the cmake-script fails to find a "wx-config" executable. If I create a softlink to "wx-config-2.8", wxwidgets is found without a problem. So perhaps this is an error in eselect-wxwidgets which fails to create a "wx-config" on my installation. Reproducible: Always Steps to Reproduce: 1. Install hugin-0.7.0_rc4 2. 3. Actual Results: Fails to find wxwidgets Expected Results: Find wxwidgets and start compiling. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:51 (MESSAGE): Could not find REQUIRED package wxWidgets Call Stack (most recent call first): /usr/share/cmake/Modules/FindwxWidgets.cmake:765 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:97 (FIND_PACKAGE) -- Configuring done * * ERROR: media-gfx/hugin-0.7.0_rc4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2357: Called cmake-utils_src_compile * environment, line 508: Called cmake-utils_src_configureout * environment, line 526: Called die * The specific snippet of code: * cmake ${cmakeargs} "${S}" || die "Cmake failed"; * The die message: * Cmake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-gfx/hugin-0.7.0_rc4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/hugin-0.7.0_rc4/temp/environment'.
What does `eselect wxwidgets list' tell you? Please post your `emerge --info' as well.
Thanks for your response Jeroen. Here is the info you requested # eselect wxwidgets list Available wxWidgets profiles: [1] gtk2-unicode-release-2.8 * # eselect wxwidgets show Current wxWidgets profile: gtk2-unicode-release-2.8 I use paludis, so some of the output will be useless. So please don't hesitate to ask for more information on my setup. Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.7-r2, 2.6.26-gentoo-r1 x86_64) ================================================================= System uname: 2.6.26-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor BE-2350 Timestamp of tree: Unknown ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8 -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=k8 -msse3" DISTDIR="/var/cache/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" LC_ALL="de_DE.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/lib/repositories/gentoo" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I just ran `qlist eselect-wxwidgets` on a system with version 0.8, and /usr/bin/wx-config belongs to that package. This copy of wx-config is a wrapper script which calls the wx-config-$VERSION for the selected version of wxwidgets. What is the file list of your eselect-wxwidgets package? Perhaps it got corrupt and you should reinstall it.
> What is the file list of your eselect-wxwidgets package? /usr/bin/wx-config was in it, but is was not existing - no idea why. Reinstalling eselect-wxwidgets helped. That's very embarrassing, I should have tried that first. Thank you very much for your help, this bug can be rejected (I'm not sure if I should do this myself and with which resolution)
(In reply to comment #4) > > What is the file list of your eselect-wxwidgets package? > > /usr/bin/wx-config was in it, but is was not existing - no idea why. > Reinstalling eselect-wxwidgets helped. You probably simply needed to call `eselect wxwidgets list' and pick a version. > That's very embarrassing, I should have tried that first. Thank you very much > for your help, this bug can be rejected (I'm not sure if I should do this > myself and with which resolution) Oh, that's alright.
> You probably simply needed to call `eselect wxwidgets list' and pick a version. This was my first try. But didn't help. I guess it's because the file gets installed with eselect-wxwidgets and not generated by it.
(In reply to comment #5) > You probably simply needed to call `eselect wxwidgets list' and pick a version. This one hit me too; can we maybe put up a notice at the wx installation?