Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

pkg-config not found.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

pkg-config not found.

  • Quote

Post by E001754 » Fri Sep 19, 2014 7:52 pm

Hello,

After having left my Gentoo for more than a year, I'm trying to upgrade it. No use to say that portage wants to upgrade hundreds of packets and makes errors.
However, I get the following error message on upgrading the glib that I can't solve :

Code: Select all

Package:    dev-perl/glib-perl-1.301.0
Repository: gentoo
Maintainer: perl@gentoo.org
USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking Glib-1.301.tar.gz to /var/tmp/portage/dev-perl/glib-perl-1.301.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/glib-perl-1.301.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/glib-perl-1.301.0/work/Glib-1.301 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/glib-perl-1.301.0/work/Glib-1.301 ...
 Using ExtUtils::MakeMaker
 perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/glib-perl-1.301.0/image/
Can't locate ExtUtils/PkgConfig.pm in @INC (you may need to install the ExtUtils::PkgConfig module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.18.2/x86_64-linux /usr/local/lib64/perl5/5.18.2 /usr/lib64/perl5/vendor_perl/5.18.2/x86_64-linux /usr/lib64/perl5/vendor_perl/5.18.2 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.18.2/x86_64-linux /usr/lib64/perl5/5.18.2 .) at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found.
    ExtUtils::PkgConfig not installed

Please install these modules first and rerun 'perl Makefile.PL'.
 ERROR: dev-perl/glib-perl-1.301.0 failed (configure phase):
   Unable to build!
 
 Call stack:
     ebuild.sh, line   93:  Called src_configure
   environment, line 2382:  Called perl-module_src_configure
   environment, line 1990:  Called perl-module_src_prep
   environment, line 2062:  Called die
 The specific snippet of code:
               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
 
 If you need support, post the output of `emerge --info '=dev-perl/glib-perl-1.301.0'`,
 the complete build log and the output of `emerge -pqv '=dev-perl/glib-perl-1.301.0'`.
 The complete build log is located at '/var/tmp/portage/dev-perl/glib-perl-1.301.0/temp/build.log'.
 The ebuild environment file is located at '/var/tmp/portage/dev-perl/glib-perl-1.301.0/temp/environment'.
 Working directory: '/var/tmp/portage/dev-perl/glib-perl-1.301.0/work/Glib-1.301'
 S: '/var/tmp/portage/dev-perl/glib-perl-1.301.0/work/Glib-1.301'

I did tried to reninstall the package "PkgConfig", but nothing changes.
As I have understood the glib being a dependency of PkgConfig, maybe is there some circular dependency not solved, but the fact is that I'm stuck.

Thanks for any help provided.
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Sep 19, 2014 11:37 pm

If your system is out of date, the first thing you should do is remove outdated non-essential packages. This allows Portage more flexibility in choosing what order to use to install components and can avoid some errors by ensuring that recent prerequisites get reinstalled in the right order.
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Sat Sep 20, 2014 7:08 am

Code: Select all

emerge -1O extutils-pkgconfig
Maybe you upgraded perl and did not successfully run percleaner --all?
Top
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

  • Quote

Post by E001754 » Sat Sep 20, 2014 8:43 pm

Nothing worked.
Anyway, I did resume the world update with the very usefull "skipfirst" option.
It has resumed and keeps compiling. 431 packages remaining.
:)

Thanks all for your help.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic