View previous topic :: View next topic |
Author |
Message |
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Tue Mar 05, 2013 5:27 pm Post subject: [SOLVED]: Problem with pkg-config |
|
|
Hi, ALL,
Code: |
IgorReinCloud igor # pkg-config Qt-Gui --cflags
Package Qt-Gui was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt-Gui.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt-Gui' found
IgorReinCloud igor # emerge -pv qt-gui
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/qt-gui-4.8.4-r1:4 USE="accessibility dbus exceptions gif glib mng pch qt3support tiff xv (-aqua) -c++0x -cups -debug -egl -gtkstyle -nas -nis -trace -xinerama" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
|
How do I fix it? Apparently emerge didn't update this information...
Thank you.
Last edited by ONEEYEMAN on Wed Mar 06, 2013 5:15 pm; edited 1 time in total |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Tue Mar 05, 2013 7:43 pm Post subject: |
|
|
Code: | env-update && source /etc/profile
pkg-config Qt-Gui --cflags |
If that doesn't work:
Code: | locate Qt-Gui.pc
export PKG_CONFIG_PATH=<insert path of output from locate here>:$PKG_CONFIG_PATH |
_________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Tue Mar 05, 2013 7:47 pm Post subject: |
|
|
eyoung100 wrote: |
Code: | env-update && source /etc/profile
pkg-config Qt-Gui --cflags
|
If that doesn't work:
|
No it didn't.
eyoung100 wrote: |
Code: |
locate Qt-Gui.pc
export PKG_CONFIG_PATH=<insert path of output from locate here>:$PKG_CONFIG_PATH
|
|
What I need to install for "locate"?
Thank you. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Tue Mar 05, 2013 8:05 pm Post subject: |
|
|
Sorry, what?
Code: |
IgorReinCloud swt # emerge -pv slocate
These are the packages that would be merged, in order:
Calculating dependencies... done!
emerge: there are no ebuilds to satisfy "slocate".
emerge: searching for similar names...
emerge: Maybe you meant any of these: sys-apps/mlocate, net-misc/socat, dev-tex/slatex?
|
Thank you. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Tue Mar 05, 2013 8:29 pm Post subject: |
|
|
Apparently there is something wrong with QT installation.
Code: |
IgorReinCloud swt # locate Qt-Gui.pc
IgorReinCloud swt #
|
Will try to reinstall qt-gui..
Thank you. |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Tue Mar 05, 2013 9:28 pm Post subject: |
|
|
Nope.
Re-emerging didn't help.
Any other idea?
Thank you. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Wed Mar 06, 2013 3:37 am Post subject: |
|
|
Code: |
>>> Installing (9 of 9) x11-libs/qt-meta-4.8
* checking 0 files for package collisions
>>> Merging x11-libs/qt-meta-4.8 to /
* Please note that this meta package is only provided for convenience.
* No packages should depend directly on this meta package, but on the
* specific split Qt packages needed.
>>> x11-libs/qt-meta-4.8 merged.
>>> Regenerating /etc/ld.so.cache...
>>> Recording x11-libs/qt-meta in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 4 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
IgorReinCloud igor # pkg-config Qt-Gui --cflags
Package Qt-Gui was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt-Gui.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt-Gui' found
|
That didn't help, unfortunately.
Any other idea?
Thank you. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Mar 06, 2013 11:04 am Post subject: |
|
|
It's 'QtGui', not 'Qt-Gui'. |
|
Back to top |
|
|
|