qt-copy compilation problem on x86_64

Andras Mantia amantia at kde.org
Wed Sep 20 12:38:31 BST 2006


On Wednesday 20 September 2006 14:15, Thiago Macieira wrote:
> Andras Mantia wrote:
> >QT_LIBS_DBUS = -L/usr/lib -ldbus-1
>
> Then, I wonder how this can happen, then.
>
>         QT_LIBS_DBUS=`pkg-config --libs dbus-1`
>
> This is the only time when QT_LIBS_DBUS is called.

I have no idea. See this:
:> printenv PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig

:> pkg-config --libs dbus-1
-ldbus-1

:> ls /usr/local/lib/pkgconfig/
valgrind.pc

:> ls /usr/local/share/pkgconfig/
/bin/ls: /usr/local/share/pkgconfig/: No such file or directory

:> cat /usr/lib64/pkgconfig/dbus-1.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=${prefix}/include
system_bus_default_address=unix:path=/var/run/dbus/system_bus_socket
sysconfdir=/etc
session_bus_services_dir=/usr/share/dbus-1/services

Name: dbus
Description: Free desktop message bus
Version: 0.62
Libs: -L${libdir} -ldbus-1
Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include


It's clear, it should first find in /usr/lib64/pkgconfig/dbus-1.pc, and 
the it is said "libdir=/usr/lib64". I removed the .qmake.cache  (make 
confclean) and re-run configure for qt-copy. Same issue. 

Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060920/ee24a8fc/attachment.sig>


More information about the kde-core-devel mailing list