Gentoo Archives: gentoo-user

From: romildo@××××××××.br
To: gentoo-user@l.g.o
Subject: [gentoo-user] pkg-config and qt4 in an ebuild
Date: Sun, 04 Dec 2005 21:25:12
Message-Id: 20051204211736.GA14379@malaquias
1 Hello.
2
3 I am writing an ebuild for bookmarkbridge
4 (bookmarkbridge.sf.net), which depends on qt-4.0.1.
5 configure (by means of pkg-config) is not findind
6 QtGui, although the file QtGui.pc is installed
7 (as /usr/lib64/qt4/QtGui.pc).
8
9 First of all, why QtGui.pc is not installed on a
10 standard location?
11
12 How is the best way of dealing whit this problem
13 in an ebuild?
14
15 Output of configure:
16
17 ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
18 checking for a BSD-compatible install... /bin/install -c
19 checking whether build environment is sane... yes
20 checking for gawk... gawk
21 checking whether make sets $(MAKE)... yes
22 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
23 checking for C++ compiler default output file name... a.out
24 checking whether the C++ compiler works... yes
25 checking whether we are cross compiling... no
26 checking for suffix of executables...
27 checking for suffix of object files... o
28 checking whether we are using the GNU C++ compiler... yes
29 checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
30 checking for style of include used by make... GNU
31 checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
32 checking for pkg-config... /usr/bin/pkg-config
33 checking for QtGui >= 4.0.1... Package QtGui was not found in the pkg-config search path. Perhaps you should add the directory containing `QtGui.pc' to the PKG_CONFIG_PATH environment variable No package 'QtGui' found
34 configure: error: Library requirements (QtGui >= 4.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
35
36 Romildo
37 --
38 gentoo-user@g.o mailing list