Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt-mt not found [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Thu Nov 30, 2006 1:21 pm    Post subject: qt-mt not found [SOLVED] Reply with quote

emerging avahi
Code:
checking for GLIB20... yes
checking for QT3... configure: error: Package requirements ( qt-mt >= 3.0.0 ) were not met:

No package 'qt-mt' 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 QT3_CFLAGS
and QT3_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/net-dns/avahi-0.6.15/work/avahi-0.6.15/config.log

!!! ERROR: net-dns/avahi-0.6.15 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  avahi-0.6.15.ebuild, line 117:   Called econf '--localstatedir=/var' '--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk' '--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-autoipd' '--disable-compat-libdns_sd' '--enable-compat-howl' '--disable-doxygen-doc' '--enable-mono' '--enable-dbus' '--enable-python' '--enable-gtk' '--enable-qt3' '--enable-qt4' '--enable-gdbm' '--enable-python-dbus' '--enable-pygtk'
  ebuild.sh, line 540:   Called die

...
Code:

emerge -pv avahi
[ebuild   R   ] net-dns/avahi-0.6.15  USE="dbus gdbm gtk* howl-compat mono python qt3* qt4* -autoipd -bookmarks -doc -mdnsresponder-compat" 0 kB


Last edited by thestick on Fri Dec 01, 2006 2:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
DocReedSolomon
Guru
Guru


Joined: 28 Aug 2006
Posts: 419

PostPosted: Thu Nov 30, 2006 1:40 pm    Post subject: Re: qt-mt not found Reply with quote

compiles fine here (using qt3 only), but i see the folllowing from your post:
thestick wrote:

Code:

emerge -pv avahi
[ebuild   R   ] net-dns/avahi-0.6.15  USE="dbus gdbm gtk* howl-compat mono python qt3* qt4* -autoipd -bookmarks -doc -mdnsresponder-compat" 0 kB

you recently added newsflags. what gives
emerge -pDv avahi?
looks like its time for an emerge -upDv --newuse world ;)

//edit: looks like you dont even have QT installed at all?
could that be?
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Thu Nov 30, 2006 7:57 pm    Post subject: Reply with quote

Code:
ts / # emerge -pvD avahi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-dns/avahi-0.6.15  USE="dbus gdbm gtk* howl-compat mono python qt3* qt4* -autoipd -bookmarks -doc -mdnsresponder-compat" 0 kB

Code:

[I] x11-libs/qt
     Available versions: 
        (3)     3.3.4-r8 3.3.6-r1 (~)3.3.6-r2 3.3.6-r3 3.3.6-r4 (~)3.3.6-r5 (~)3.3.6-r5[2]
        (4)     4.1.4-r2 (~)4.2.1 [M](~)4.2.1-r1
     Installed versions:  3.3.6-r5(3)(00:10:07 11/30/06)(-cups -debug -doc -examples -firebird gif -immqt -immqt-bc -ipv6 -mysql nas -nis -odbc opengl -pertty -postgres -risky -sqlite -xinerama)
                          4.2.1(4)(21:28:37 11/25/06)(-accessibility -cups -debug -doc -examples -firebird gif glib -input_devices_wacom jpeg -mng -mysql nas -nis -odbc opengl pch png -postgres -sqlite -xinerama zlib)
     Homepage:            http://www.trolltech.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework.

i`m no noob , i tried my best fixing deps and shit. this is a bug . if any of you had it and know how to fix it ... please post


Last edited by thestick on Thu Nov 30, 2006 9:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
DocReedSolomon
Guru
Guru


Joined: 28 Aug 2006
Posts: 419

PostPosted: Thu Nov 30, 2006 8:26 pm    Post subject: Reply with quote

your post is unreadable, please fix that first. its pretty hard to read.
do you have QT installed? yes/no?
do you need QT at all? yes/no?
answer those.

if you dont need QT emerge avahi without that flags.
and - no, this is not a bug.

anyway:

a) get your USEflags in order (make.conf)
b) re-emerge world (--newuse)
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Thu Nov 30, 2006 9:21 pm    Post subject: Reply with quote

i use kde(actually only X and kicker and kdesktop and kwin and a small script to login)
i have qt installed
i use qt
emerge -NpvD world tells me that
kdnsd-avahi needs to be installed
this requires avahi with qt3 use flag enabled
wich fails..
i tried recompiling avahi lots of time
i even recompilet qt3 a few times
Back to top
View user's profile Send private message
DocReedSolomon
Guru
Guru


Joined: 28 Aug 2006
Posts: 419

PostPosted: Fri Dec 01, 2006 1:58 pm    Post subject: Reply with quote

oh, so you didnt need "avahi" in the first place at all sofar?
what application is pulling this dependency in?
and what is "kdnsd-avahi"? i dont find this one in portage at all 8O

post the output of "emerge -upDv --newuse world" please.
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Fri Dec 01, 2006 2:05 pm    Post subject: Reply with quote

my bad
it is `kdnssd-avahi`
solved my problem adding
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig" to make.conf
Back to top
View user's profile Send private message
DocReedSolomon
Guru
Guru


Joined: 28 Aug 2006
Posts: 419

PostPosted: Fri Dec 01, 2006 3:16 pm    Post subject: Reply with quote

thestick wrote:

solved my problem adding
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig" to make.conf

no, that should have never been the case in the 1st place to add this one manually.
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Fri Dec 01, 2006 6:28 pm    Post subject: Reply with quote

yes .. i know , but it works
Back to top
View user's profile Send private message
krisse
Guru
Guru


Joined: 15 Mar 2005
Posts: 325
Location: Sweden

PostPosted: Mon May 19, 2008 11:35 am    Post subject: Reply with quote

thestick wrote:
yes .. i know , but it works
This is actually still a problem. And the same solution still works.

QT installed and reinstalled.
Code:
~ $ eix -I x11-libs/qt
[I] x11-libs/qt
     Available versions: 
        (3)     3.3.8-r4
        (4)     4.3.3 ~4.3.4-r1 [M]~4.4.0
        {+accessibility +qt3support cups dbus debug doc examples firebird gif glib immqt immqt-bc input_devices_wacom ipv6 jpeg mng mysql nas nis odbc opengl pch png postgres qt3support sqlite sqlite3 ssl tiff xinerama zlib}
     Installed versions:  3.3.8-r4(3)(18.55.52 2008-05-15)(cups gif ipv6 mysql opengl -debug -doc -examples -firebird -immqt -immqt-bc -nas -nis -odbc -postgres -sqlite -xinerama)
                          4.3.3(4)(20.47.00 2008-05-15)(dbus gif jpeg opengl png ssl zlib -+accessibility -+qt3support -cups -debug -doc -examples -firebird -glib -input_devices_wacom -mng -mysql -nas -nis -odbc -pch -postgres -sqlite -sqlite3 -tiff -xinerama)
     Homepage:            http://www.trolltech.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework.


Version of avahi to be installed
Code:
~ $ paludis -ip avahi
Building target list...
Building dependency list...

These packages will be installed:

* net-dns/avahi::gentoo [R 0.6.22-r1] <target>
    Reasons: net-print/cups-1.3.7-r1:0::installed
    -autoipd -bookmarks dbus -doc gdbm gtk -howl-compat ipv6 mdnsresponder-compat mono python qt3* qt4* -test kernel: (linux)

Total: 1 package (1 rebuild)


Error mesage
Code:
configure: error: Package requirements ( qt-mt >= 3.0.0 ) were not met:

No package 'qt-mt' 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 QT3_CFLAGS
and QT3_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! ERROR in net-dns/avahi-0.6.22-r1:
!!! In econf at line 1812
!!! econf failed

!!! Call stack:
!!!    * econf (/var/tmp/paludis/net-dns-avahi-0.6.22-r1/temp/loadsaveenv:1812)
!!!    * src_compile (/var/tmp/paludis/net-dns-avahi-0.6.22-r1/temp/loadsaveenv:3975)
!!!    * ebuild_f_compile (/usr/libexec/paludis/1/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:460)
!!!    * main (/usr/libexec/paludis/ebuild.bash:479)

iefunc: making ebuild PID 22902 exit with error
die trap: exiting with error.


Solution: insert into /etc/paludis/bashrc (or proper portage place) :
Code:
export PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
Conf. & build of avahi successful.

More problems (caused be the "solution" above?):

Package kdnssd-avahi-0.1.2 gets pulled in as dependency, fails with the following:
Code:
checking for  avahi-qt3 >= 0.4 ... Package qt-mt was not found in the pkg-config search pa
th. Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH envi
ronment variable Package 'qt-mt', required by 'avahi-qt3', not found

Install error:
  * In program /usr/bin/paludis (--log-level warning --dl-upgrade always --show-reasons su
mmary --dl-reinstall if-use-changed --dl-downgrade warning --with-unused-dependencies) -i1
 kdnssd-avahi:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'kde-misc/kdnssd-avahi-0.1.2:0::gentoo':
  * Install error: Install failed for 'kde-misc/kdnssd-avahi-0.1.2:0::gentoo'


Solution: same as above, PKG_CONFIG_PATH set and package was configured & installed without problems.


EDIT: Filed as bug 222803
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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