Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Alien-wxWidgets Unable to determine toolkit!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 249
Location: Berkeley, California

PostPosted: Fri Jun 01, 2007 11:39 pm    Post subject: Alien-wxWidgets Unable to determine toolkit! Reply with quote

Hello.
I am trying to install wxperl which requires Alien-wxWidgets, which fails to build with an "Unable to determine toolkit!"
=======================
I unmasked what i think I need:
-----------------------------------------
Code:
 echo '# Alien-wxWidgets' >> /etc/portage/package.keywords
  echo 'dev-perl/Alien-wxWidgets ~x86' >> /etc/portage/package.keywords
  echo 'dev-perl/Module-Pluggable ~x86' >> /etc/portage/package.keywords
  echo 'dev-perl/wxperl ~x86' >> /etc/portage/package.keywords

============================
Then I ran the install, which progresses up to Alien-wxWidgets.
--------------------------------------------------
Code:
emerge wxperl -ta
  Calculating dependencies... done!
  [ebuild  N   ] dev-perl/wxperl-0.69  USE="unicode"
  [ebuild  N   ]  dev-perl/Alien-wxWidgets-0.30
  [ebuild  N   ]   dev-perl/Module-Pluggable-3.6
  [ebuild  N   ]    dev-perl/Class-Inspector-1.16
  [ebuild  N   ]     virtual/perl-Test-Simple-0.66
  [ebuild  N   ]      perl-core/Test-Simple-0.66
  [ebuild  N   ]    virtual/perl-File-Spec-3.24
  [ebuild  N   ]     perl-core/File-Spec-3.24
  [ebuild  N   ]   x11-libs/wxGTK-2.6.3.3  USE="unicode -X -debug -doc -gnome -joystick -odbc -opengl -sdl"
  [ebuild  N   ]    dev-util/pkgconfig-0.20  USE="-hardened"
  [ebuild  N   ] dev-perl/extutils-parsexs-2.17
  [ebuild  N   ]  dev-perl/ExtUtils-CBuilder-0.18
  [ebuild  N   ]   dev-perl/module-build-0.28.05
  [ebuild  N   ]    dev-perl/Archive-Tar-1.30
  [ebuild  N   ]     dev-perl/IO-String-1.08
  [ebuild  N   ]     virtual/perl-Test-Harness-2.64
  [ebuild  N   ]     dev-perl/IO-Zlib-1.04
  [ebuild  N   ]      dev-perl/Compress-Zlib-2.001
  [ebuild  N   ]   dev-perl/IO-Compress-Zlib-2.001
  [ebuild  N   ]   dev-perl/IO-Compress-Base-2.001
  [ebuild  N   ]    virtual/perl-Scalar-List-Utils-1.18
  [ebuild  N   ]   dev-perl/Compress-Raw-Zlib-2.001
  [ebuild  N   ]   sys-libs/zlib-1.2.3-r1  USE="-build"
  [ebuild  N   ]    dev-perl/yaml-0.62
  [ebuild  N   ] perl-core/PodParser-1.35
  [ebuild  N   ] app-admin/perl-cleaner-1.04.3
  [ebuild  N   ]  app-shells/bash-3.1_p17  USE="-afs -bashlogger -nls -vanilla"
  [ebuild  N   ]   sys-libs/ncurses-5.6  USE="gpm minimal unicode -bootstrap -build -debug -doc -nocxx -trace"
  [ebuild  N   ]    sys-libs/gpm-1.20.1-r5  USE="(-selinux)"
  [ebuild  N   ] perl-core/Test-Harness-2.64
  [ebuild  N   ]  dev-lang/perl-5.8.8-r2  USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid"
  [ebuild  N   ]   sys-devel/libperl-5.8.8-r1  USE="berkdb gdbm -debug -ithreads"
  [ebuild  N   ]    sys-libs/gdbm-1.8.3-r3  USE="berkdb"
  [ebuild  N   ]    sys-libs/db-4.3.29-r2  USE="-bootstrap -doc -java -nocxx -tcl -test"
  [ebuild  N   ]     sys-devel/binutils-2.16.1-r3  USE="-multislot -multitarget -nls -test -vanilla"
  [ebuild  N   ]      sys-devel/gnuconfig-20060702
  [ebuild  N   ]      sys-devel/binutils-config-1.9-r3
  [ebuild  N   ]   sys-apps/findutils-4.3.2-r1  USE="-nls (-selinux) -static"

=================================
The install failed with the following last words:
-----------------------------------------------------------
Code:
 >>> Emerging (37 of 38) dev-perl/Alien-wxWidgets-0.30 to /
  emergelog(): [Errno 2] No such file or directory: '/var/log/emerge.log'
  emergelog(): [Errno 2] No such file or directory: '/var/log/emerge.log'
  emergelog(): [Errno 2] No such file or directory: '/var/log/emerge.log'
   * Alien-wxWidgets-0.30.tar.gz RMD160 ;-) ...                                 [ ok ]
   * Alien-wxWidgets-0.30.tar.gz SHA1 ;-) ...                                   [ ok ]
   * Alien-wxWidgets-0.30.tar.gz SHA256 ;-) ...                                 [ ok ]
   * Alien-wxWidgets-0.30.tar.gz size ;-) ...                                   [ ok ]
   * checking ebuild checksums ;-) ...                                     [ ok ]
   * checking auxfile checksums ;-) ...                                    [ ok ]
   * checking miscfile checksums ;-) ...                                   [ ok ]
   * checking Alien-wxWidgets-0.30.tar.gz ;-) ...                                [ ok ]
  >>> Unpacking source...
  >>> Unpacking Alien-wxWidgets-0.30.tar.gz to /var/tmp/portage/Alien-wxWidgets-0.30/work
  >>> Source unpacked.
  >>> Compiling source in /var/tmp/portage/Alien-wxWidgets-0.30/work/Alien-wxWidgets-0.30 ...
  Creating custom builder _build/lib/My/Build/new_from_context_is_broken.pm in _build/lib/My/Build
  Checking whether your kit is complete...
  Looks good

  Checking prerequisites...
  Looks good

  Do you want to build wxWidgets? [no] Creating new 'Build' script for 'Alien-wxWidgets' version '0.30'
  lib/Alien/wxWidgets/Utility.pm -> blib/lib/Alien/wxWidgets/Utility.pm
  lib/Alien/wxWidgets.pm -> blib/lib/Alien/wxWidgets.pm
  Manifying blib/lib/Alien/wxWidgets/Utility.pm -> blib/libdoc/Alien::wxWidgets::Utility.3pm
  Manifying blib/lib/Alien/wxWidgets.pm -> blib/libdoc/Alien::wxWidgets.3pm
  Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 95.

  !!! ERROR: dev-perl/Alien-wxWidgets-0.30 failed.
  Call stack:
    ebuild.sh, line 1546:   Called dyn_compile
    ebuild.sh, line 937:   Called src_compile
    ebuild.sh, line 1255:   Called perl-module_src_compile
    perl-module.eclass, line 140:   Called die

  !!! compilation failed
  !!! If you need support, post the topmost build error, and the call stack if relevant.
Code:

===============================
I looked in Any_wx_config.pm around line 95, which is where the error is produced.
--------------------------------------------------------
Code:
sub awx_configure {
    My::Build::Any_wx_config::_init( $_[0] );
    my $self = shift;
    my %config = $self->SUPER::awx_configure;
    my $cf = $self->wx_config( 'cxxflags' );
    $config{prefix} = $self->wx_config( 'prefix' );
    $cf =~ m/__WX(x11|msw|motif|gtk|mac)__/i or
      die "Unable to determine toolkit!";

==============================
Is there some variable I need to set in make.conf or /etc/conf.d?

Thank you.

============================
some info about this chrooted livecd image
---------------------------------------------------
emerge --info
Code:

    Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, unavailable, 2.6.18-gentoo-r6 i686)
    =================================================================
    System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) III CPU - S    1266MHz
    Gentoo Base System version 1.12.5
    Last Sync: Tue, 17 Apr 2007 01:30:01 +0000
    app-admin/eselect-compiler: [Not Present]
    dev-java/java-config: [Not Present]
    dev-lang/python:    [Not Present]
    dev-python/pycrypto: [Not Present]
    dev-util/ccache:    [Not Present]
    dev-util/confcache:  [Not Present]
    sys-apps/sandbox:    [Not Present]
    sys-devel/autoconf:  [Not Present]
    sys-devel/automake:  [Not Present]
    sys-devel/binutils:  2.16.1-r3
    sys-devel/gcc-config: [Not Present]
    sys-devel/libtool:   [Not Present]
    virtual/os-headers:  [Not Present]
    ACCEPT_KEYWORDS="x86"
    AUTOCLEAN="yes"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/X11/xkb"
    CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
    CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="distlocks metadata-transfer sandbox sfperms strict"
    GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
    LINGUAS=""
    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"
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb cli cracklib crypt dri elibc_glibc fortran gdbm gpm iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ livecd midi minimal ncurses nptl nptlonly pam pcre perl pppd python readline reflection session spl ssl tcpd unicode userland_GNU userlocals video_cards_i810 video_cards_vesa xorg zlib"
    Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 249
Location: Berkeley, California

PostPosted: Mon Jun 04, 2007 6:50 pm    Post subject: Reply with quote

I'm still stabbing at this problem.
Since the error says I'm missing some toolkit, I tried to install more packages:
Code:
emerge --update --deep --newuse -ta glib-perl gtk2-perl
emerge wxperl


Same error:
Code:
>>> Emerging (1 of 2) dev-perl/Alien-wxWidgets-0.30 to /
 * Alien-wxWidgets-0.30.tar.gz RMD160 ;-) ...                                                                                    [ ok ]
 * Alien-wxWidgets-0.30.tar.gz SHA1 ;-) ...                                                                                      [ ok ]
 * Alien-wxWidgets-0.30.tar.gz SHA256 ;-) ...                                                                                    [ ok ]
 * Alien-wxWidgets-0.30.tar.gz size ;-) ...                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                             [ ok ]
 * checking auxfile checksums ;-) ...                                                                                            [ ok ]
 * checking miscfile checksums ;-) ...                                                                                           [ ok ]
 * checking Alien-wxWidgets-0.30.tar.gz ;-) ...                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking Alien-wxWidgets-0.30.tar.gz to /var/tmp/portage/Alien-wxWidgets-0.30/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/Alien-wxWidgets-0.30/work/Alien-wxWidgets-0.30 ...
Creating custom builder _build/lib/My/Build/new_from_context_is_broken.pm in _build/lib/My/Build
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Do you want to build wxWidgets? [no] Creating new 'Build' script for 'Alien-wxWidgets' version '0.30'
lib/Alien/wxWidgets/Utility.pm -> blib/lib/Alien/wxWidgets/Utility.pm
lib/Alien/wxWidgets.pm -> blib/lib/Alien/wxWidgets.pm
Manifying blib/lib/Alien/wxWidgets/Utility.pm -> blib/libdoc/Alien::wxWidgets::Utility.3pm
Manifying blib/lib/Alien/wxWidgets.pm -> blib/libdoc/Alien::wxWidgets.3pm
Unable to determine toolkit! at inc/My/Build/Any_wx_config.pm line 95.

!!! ERROR: dev-perl/Alien-wxWidgets-0.30 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called perl-module_src_compile
  perl-module.eclass, line 140:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


What does this line mean?
Code:
Creating custom builder _build/lib/My/Build/new_from_context_is_broken.pm in _build/lib/My/Build


I have wxperl working on my laptop, but I've also got 500 items in my world file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum