View previous topic :: View next topic |
Author |
Message |
boY n00b
Joined: 06 Jan 2003 Posts: 22
|
Posted: Fri Jun 20, 2003 7:18 am Post subject: Hydrogen emerge fails (it says I need thread support in Qt) |
|
|
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 |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Sat Jun 21, 2003 12:01 am Post subject: |
|
|
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 |
|
|
zypher Retired Dev
Joined: 10 Jun 2002 Posts: 416 Location: Cologne, ger.
|
Posted: Sat Jun 21, 2003 12:16 pm Post subject: |
|
|
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 |
|
|
boY n00b
Joined: 06 Jan 2003 Posts: 22
|
Posted: Sat Jun 21, 2003 9:41 pm Post subject: |
|
|
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 |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Sun Jun 22, 2003 5:00 am Post subject: |
|
|
I'm not sure midi is fully functional yet. The sure answer would be to check
the hydrogen-devel lists archives. |
|
Back to top |
|
|
jw3525 Tux's lil' helper
Joined: 17 Apr 2003 Posts: 114 Location: Moscow, ID
|
Posted: Thu Oct 02, 2003 8:25 am Post subject: |
|
|
So,
How did you fix that original problem on this thread??? |
|
Back to top |
|
|
sly514 n00b
Joined: 03 Sep 2003 Posts: 54 Location: mtl
|
Posted: Sun Nov 02, 2003 5:32 pm Post subject: |
|
|
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 |
|
|
sly514 n00b
Joined: 03 Sep 2003 Posts: 54 Location: mtl
|
Posted: Tue Nov 04, 2003 6:48 pm Post subject: |
|
|
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 |
|
|
Stu L Tissimus Veteran
Joined: 08 Jun 2003 Posts: 1339 Location: NJ, 5 minutes from NYC
|
Posted: Tue Nov 04, 2003 7:31 pm Post subject: |
|
|
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 |
|
|
sly514 n00b
Joined: 03 Sep 2003 Posts: 54 Location: mtl
|
Posted: Thu Nov 06, 2003 10:44 pm Post subject: |
|
|
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 |
|
|
|