Ticket #292 (closed defect: elsewhere)

Opened 4 years ago

Last modified 3 years ago

Problem configuring avahi 0.6.25

Reported by: pierre Owned by: lennart
Milestone: Avahi 0.6.26 Component: avahi-core
Keywords: Cc:

Description

[...] checking pkg-config is at least version 0.9.0... yes checking for GLIB20... yes checking for GOBJECT... yes checking for QT4... configure: error: Package requirements ( QtCore? >= 4.0.0 ) were not met:

No package 'QtCore?' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables QT4_CFLAGS and QT4_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

I have QT4 installed in the default location.

Change History

Changed 4 years ago by lathiat

This is likely not a bug but you need to specify details

Can you locate a QtCore?.pc file somewhere? And tell us what the directory is?

Changed 4 years ago by lennart

And are you sure you install both the compiled vesion of Qt and the development headers?

Changed 3 years ago by pierre

# find /usr -name "QtCore?*" /usr/local/Trolltech/Qt-4.5.3/lib/pkgconfig/QtCore.pc /usr/local/Trolltech/Qt-4.5.3/include/QtCore /usr/local/Trolltech/Qt-4.5.3/include/QtCore/QtCore /usr/local/Trolltech/Qt-4.5.3/include/Qt/QtCore

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to worksforme
  • milestone set to Avahi 0.6.26

Well, qt4 is in /usr/loca, you need to set that in the PKG_CONFIG_PATH then. This has nothing to do with Avahi.

Changed 3 years ago by pierre

  • status changed from closed to reopened
  • resolution worksforme deleted

Ok this is maybe more a feature request than a bug but, the emssage says :

"Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix."

But here QT4 can't be said to be in a non-standard location, because it is installed in its _default_ location Btw a lot of other programs installed in /usr/local are perfectlly detected by the configure script....

Changed 3 years ago by lennart

  • status changed from reopened to closed
  • resolution set to elsewhere

Well, that message isn't generated by us but by pkg-config. Please bring this up with pkg-config upstream. Thanks!

Note: See TracTickets for help on using tickets.