Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hydrogen emerge fails (it says I need thread support in Qt)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
boY
n00b
n00b


Joined: 06 Jan 2003
Posts: 22

PostPosted: Fri Jun 20, 2003 7:18 am    Post subject: Hydrogen emerge fails (it says I need thread support in Qt) Reply with quote

When trying to emerge hydrogen-0.8.0, I receive the following error message while in the configure portion of the build:

Code:
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0.1) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

!!! ERROR: media-sound/hydrogen-0.8.0 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed


Then part of the config.log:

Code:
configure:11693: checking for Qt
configure: 11761: /usr/qt/3/include/qstyle.h
taking that
tried NO
configure:11870: rm -rf SunWS_cache; g++ -o conftest -O2 -march=pentium3 -Os -pipe -fno-exceptions
 -fno-check-new -I/usr/qt/3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/us
r/qt/3/lib -L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -l
ICE  -lresolv -lpthread 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libGL.so.1
, needed by /usr/qt/3/lib/libqt-mt.so, not found (try using -rpath or -rpath-link)
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glXQueryServerString'
/usr/qt/3/lib/libqt-mt.so: undefined reference to `glColor3ub'


It recommends I try using -rpath or -rpath-link, but how?
Any help is appreciated,

boY
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Sat Jun 21, 2003 12:01 am    Post subject: Reply with quote

The way I read it is that libqt-mt is installed but it is referencing libGL
and thats where the linker fails. Just to give you hope I have
hydrogen installed and its really turning out to be a nice program.
Back to top
View user's profile Send private message
zypher
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 416
Location: Cologne, ger.

PostPosted: Sat Jun 21, 2003 12:16 pm    Post subject: Reply with quote

I dunno anything about qt, but do you have "-opengl" in your use-flags?
Maybe you should recompile qt with opengl support (just a guess).
(Maybe I should have checked that in my ebuild, sorry.)
Hydrogen is working nicely here.
_________________
linux user 65882
Back to top
View user's profile Send private message
boY
n00b
n00b


Joined: 06 Jan 2003
Posts: 22

PostPosted: Sat Jun 21, 2003 9:41 pm    Post subject: Reply with quote

I managed to get the ebuild functioning. I have played around with a bunch of stuff in the past while, and it took recompiling qt to get it to work. But it does work now.

Thanks for the advice.

However midi does not work for me, and am still looking to figure out how to get that working. But that can go in a different thread if needed.
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Sun Jun 22, 2003 5:00 am    Post subject: Reply with quote

I'm not sure midi is fully functional yet. The sure answer would be to check
the hydrogen-devel lists archives.
Back to top
View user's profile Send private message
jw3525
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2003
Posts: 114
Location: Moscow, ID

PostPosted: Thu Oct 02, 2003 8:25 am    Post subject: Reply with quote

So,
How did you fix that original problem on this thread???
Back to top
View user's profile Send private message
sly514
n00b
n00b


Joined: 03 Sep 2003
Posts: 54
Location: mtl

PostPosted: Sun Nov 02, 2003 5:32 pm    Post subject: Reply with quote

Please,

someone tell us how to compile this program.

I tried emerging, then compiling the fresh source from cvs manually.
libhydrogen compiles fine.
But why would my build require a earlier version of Qt(3.0.1) when i try compiling hydrogen?

I uninstalled Qt, hoping to reinstall the right version.
I could not find a proper ebuild.
Compiling the source for qt program is pretty tedious.

I am sure there is an easy solution for this.

Thx,

S
Back to top
View user's profile Send private message
sly514
n00b
n00b


Joined: 03 Sep 2003
Posts: 54
Location: mtl

PostPosted: Tue Nov 04, 2003 6:48 pm    Post subject: Reply with quote

I finally got it.

libhydrogen and hydrogen had to be configured with



Code:
./configure --with-qt-dir="your qt DIR" --with-qt-includes="your qt includes DIR" --with-qt-libraries="Your qt libraries DIR"


I am filled with joy, as I've been trying to compile this program for awhile.
I now realize that flags are very important.

My question now is where do I specify the configure flags when emerging?
In make.conf?

S
Back to top
View user's profile Send private message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Tue Nov 04, 2003 7:31 pm    Post subject: Reply with quote

Yes, that is where you specify global USE flags.

Also, you could have done emerge water and emerge -C carbon twice. ^_^
_________________
old outdated sig
Back to top
View user's profile Send private message
sly514
n00b
n00b


Joined: 03 Sep 2003
Posts: 54
Location: mtl

PostPosted: Thu Nov 06, 2003 10:44 pm    Post subject: Reply with quote

gee thanks.

perhaps you could also tell me how to get to sesame street.

I get really confused of what to and not to put in the USE part of make.conf.

Anything that usually goes after ./configure I guess.

What about" --" or " - " or nothing at all

Emerge sometimes works for me, but if it doesn't,

I just compile everything by hand.

To get back on the subject of Hydrogen, I cannot get it to work with JACK.

It says that certain methods have not yet been implemented.

I also tried with jacklaunch under oss, with no success.

S
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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