Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]: Problem with pkg-config
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
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Tue Mar 05, 2013 5:27 pm    Post subject: [SOLVED]: Problem with pkg-config Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Tue Mar 05, 2013 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 8:01 pm    Post subject: Reply with quote

Code:
emerge slocate

_________________
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
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Tue Mar 05, 2013 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 8:11 pm    Post subject: Reply with quote

Slocate was replaced by mlocate, i apologize. See:
Gossamer thread archives
_________________
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
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Tue Mar 05, 2013 8:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Tue Mar 05, 2013 9:28 pm    Post subject: Reply with quote

Nope.
Re-emerging didn't help.

Any other idea?

Thank you.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 10:36 pm    Post subject: Reply with quote

Code:
emerge -Cv qt-meta

This should grab the set that contains the entire Qt Toolkit

After it unmerges, re-emerge it with:
Code:
emerge -av qt-meta

_________________
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
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Wed Mar 06, 2013 3:37 am    Post subject: Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Mar 06, 2013 11:04 am    Post subject: Reply with quote

:roll: It's 'QtGui', not 'Qt-Gui'.
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