You are not logged in.
i am trying to install Democracy player from aurbuild, but it keep telling me this:
Package 'qt-mt', required by 'avahi-qt3', not found
Where do i get qt-mt?
also.. The compile tells me this:
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
Can anyone tell me what it means by this?
Offline
qt-mt.pc is provided by qt. So you need to install qt.
Also you do need to have pkgconfig installed.
Offline
Thanks! The problem is that i understood that qt-mt.pc is provided by qt. So i have allerady installed it.
pkgconfig was also installed and up to date.
Any other sulution?
Offline
ic, the setup script used by democracy is quite stupid. It uses pkg-config --list-all, which errors because the qt part of avahi depends on qt, which is not needed when not using kde...
Anyway, installing qt does not solve this because pkg-config --list-all looks in /usr/lib/pkgconfig, whereas the qt-mt.pc file is installed somewhere in /opt/kde/.
What you need to do is install qt, make a symlink to qt-mt.pc in /usr/lib/pkgconfig, install democracy, remove qt again if you want.
Most obvious, tell the developers of democracy to make a better installer
Offline
I tried democracy yesterday, after installing QT and "source /etc/profile" it compiled fine.
I'm unsure why it needs QT to compile though, as it uses GTK2 and after removing QT it still works.
Offline
good point I did need to do a source profile :oops:
I'm unsure why it needs QT to compile though, as it uses GTK2 and after removing QT it still works.
because it uses 'pkg-config --list-all' which errors due to avahi if qt is not installed
Offline
Thanks.. But it still doesnt work..
How do i make a symlink? I tried "source /etc/profile" but it didnt help..
Anyone?
Offline
maybe logging out an back in works ?
others,
symlinking is done using the command 'ln'
see the man page for details.
in this case, as root:
ln -s /opt/qt/lib/pkgconfig/qt-mt.pc /usr/lib/pkgconfig/qt-mt.pc
Offline
Symlinking these files is not useful, most of our PKGBUILDs have a check like this on top of the build() function:
[ -z "${QTDIR}" ] && . /etc/profile.d/qt.sh
Putting this in the PKGBUILD inside build() makes sure the QT profile is always sourced. Ideally, these things should be placed in .install files too.
Offline