Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212605 - gtk2-perl : MakeMaker FATAL: prerequisites not found (Glib not installed)
Summary: gtk2-perl : MakeMaker FATAL: prerequisites not found (Glib not installed)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 18:47 UTC by Mathieu Goutfreind
Modified: 2008-03-07 18:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Goutfreind 2008-03-07 18:47:19 UTC
When trying to emerge gtk2-perl it blocks with this error :
* Using ExtUtils::MakeMaker
Can't locate Glib.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at (eval 12) line 1.
BEGIN failed--compilation aborted at (eval 12) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found (Glib not installed)

               Please install these modules first and rerun 'perl Makefile.PL'.
 * 
 * ERROR: dev-perl/gtk2-perl-1.145 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2313:  Called perl-module_src_compile
 *             environment, line 2047:  Called perl-module_src_prep
 *             environment, line 2100:  Called die
 * The specific snippet of code:
 *               echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none' PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 * 
 * 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/dev-perl/gtk2-perl-1.145/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/gtk2-perl-1.145/temp/environment'.
 * 

 * Messages for package dev-perl/gtk2-perl-1.145:

 * 
 * ERROR: dev-perl/gtk2-perl-1.145 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2313:  Called perl-module_src_compile
 *             environment, line 2047:  Called perl-module_src_prep
 *             environment, line 2100:  Called die
 * The specific snippet of code:
 *               echo "$pm_echovar" | perl Makefile.PL ${myconf} INSTALLMAN3DIR='none' PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)";
 *  The die message:
 *   Unable to build! (are you using USE="build"?)
 * 
 * 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/dev-perl/gtk2-perl-1.145/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/gtk2-perl-1.145/temp/environment'.
 * 

Glib is correctly installed I think :
emerge -s dev-libs/glib

*  dev-libs/glib
      Latest version available: 2.14.6
      Latest version installed: 2.14.6
      Size of files: 3,326 kB
      Homepage:      http://www.gtk.org/
      Description:   The GLib library of C routines
      License:       LGPL-2


Reproducible: Always

Steps to Reproduce:
1. emerge glib (glib version 2.14.6 will be build)
2. emerge gtk2-perl
3. watch the result

Actual Results:  
It tells me that glib is not installed but in fact it is or though I thought

Expected Results:  
It should compile without an error

 emerge --info
Portage 2.1.4.4 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4, 2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Timestamp of tree: Fri, 07 Mar 2008 08:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j2"
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="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi additions alsa apm arts avahi berkdb bitmap-fonts bogofilter bzip2 cairo clamav cli cracklib crypt cups curl daemon dbus dia disk-partition dri dts dv dvd dvdr dvdread eds emboss encode esd extrafilters ffmpeg firefox flac foomaticdb fortran freetype gcj gdbm gif gimp gimpprint glitz gnome gnutls gpm gstreamer gtk gtk2 hal iconv imap imlib isdnlog java jpeg jpeg2k lame libwww mad mbox midi mikmod mmx motif mp3 mpeg mplayer mudflap mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls no-seamonkey nsplugin nvidia ogg opengl openmp pam pcre perl png pop ppds pppd python quicktime readline reflection samba sdl session snmp speex spell spl srt sse sse2 ssl subtitles svg symlink tcpd tga threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wma wmf x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mathieu Goutfreind 2008-03-07 18:55:05 UTC
I've updated the following packages and now it works well.
But Portage should do this itself.

 dev-perl/glib-perl
      Latest version available: 1.144
      Latest version installed: 1.141
      Size of files: 236 kB
      Homepage:      http://gtk2-perl.sf.net/
      Description:   Glib - Perl wrappers for the GLib utility and Object libraries
      License:       GPL-2

dev-perl/Cairo
      Latest version available: 1.04.1
      Latest version installed: 1.02.2
      Size of files: 45 kB
      Homepage:      http://search.cpan.org/~tsch
      Description:   Perl interface to the cairo library
      License:       LGPL-2.1