Compiling Hydrogen, QT error

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
alcy
Posts: 143
Joined: Sun 04 May 2008, 18:24

Compiling Hydrogen, QT error

#1 Post by alcy »

Hi everyone.

I was trying to compile Hydrogen on Dingo(I know the package is already available , but just for learning sake), but I get the following error :

Code: Select all

--- Checking for QT Libs ----------------------------------------
checking whether QTDIR environment variable is set... no
 * Searching for Qt library
   |-> searching QT in /usr/share/qt *** Not found ***
   |-> searching QT in /usr/share/qt3 *** Not found ***
   |-> searching QT in /usr/lib/qt3 *** Not found ***
   |-> searching QT in /usr/lib/qt-3.1 *** Not found ***
checking for qmake... no
Am I supposed to build the qt3 framework apart from the existing available qt4 framework? Or it has got something with the existing PATH (which DOES include /opt/qt4/bin) or maybe the QTDIR environment variable (whose value I don't know how to set) ?
How do I go about this ? Any suggestions , please ?

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#2 Post by Wolf Pup »

you need qt:

qt-3.3.8.pet
md5sum
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

alcy
Posts: 143
Joined: Sun 04 May 2008, 18:24

#3 Post by alcy »

Thanks WolfPup, but I am still getting the following error :

Code: Select all

--- Checking for QT Libs ----------------------------------------
checking whether QTDIR environment variable is set... /usr/lib/qt
 * Searching for Qt library
   |-> searching QT in /usr/lib/qt *** Not found ***
checking for qmake... no
Any workaround for this ? Probably build qt3 from scratch ? I am not sure really, appreciate any help.

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#4 Post by John Doe »

As I recall, the latest Hydrogen SVN is ported for QT4.

Dingo has Qt4, no qt3 and it's under /opt/qt4 not under /usr.

you might need to export the qtdir var to the term building it.

Code: Select all

export QTDIR=/opt/qt4
keep trying, you'll get it going :)

alcy
Posts: 143
Joined: Sun 04 May 2008, 18:24

#5 Post by alcy »

^^Thanks a lot John. Although the export command managed to solve the problem somewhat(it found the qmake and related files)...but still I get the error

Code: Select all

WARNING: Qt library not found. Maybe QTDIR isn't properly set.
I wonder what's wrong. Also, Hydrogen with qt4 is not done yet. They have even removed the source from their official site (I am not sure if they had it earlier !). http://www.hydrogen-music.org/?p=download

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#6 Post by muggins »

alcy,

I think you need to do as JohnDoe advised, export QTDIR=/opt/qt4, plus install qt4-4.3.2.pet, then see how you go.

Edit: Which one of these are you trying to compile:
Unstable branch - QT4

svn co http://hydrogen-music.org/svn/trunk hydrogen

Stable branch - QT3

svn co http://hydrogen-music.org/svn/tags/0.9.3
If it's the qt3 v0.9.3, then NathanF has it already compiled here.

alcy
Posts: 143
Joined: Sun 04 May 2008, 18:24

#7 Post by alcy »

^^Thank you muggins.
I am trying to compile the qt3 version only as the qt4/unstable version source is simply not available ! I know the qt3 version has been compiled before, just trying it myself :P .

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#8 Post by ttuuxxx »

alcy wrote:^^Thank you muggins.
I am trying to compile the qt3 version only as the qt4/unstable version source is simply not available ! I know the qt3 version has been compiled before, just trying it myself :P .
also The extra QT4.pet package is missing some qt parts, I figured that out when I made my devx_400.PET package, So I had to go around and figure out which version of QT4 we were using and then I compiled it, so it would match. So keep that in mind, plug for some reason I think the qt.svg is faulty also. ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#9 Post by muggins »

alcy,

when you say that the qt4 sources aren't available, did you also try downloading via subversion? And for compiling using qt-3.3.8, which pupversion are you using? If you're trying to compile with qt-3.3.8 on pup4, then you would probably also need to download the qt-3.3.8 include files, and run either export QTDIR=/usr/lib/qt-3.3.8, or export QTDIR=/usr/lib/qt

alcy
Posts: 143
Joined: Sun 04 May 2008, 18:24

#10 Post by alcy »

Thanks again , muggins.

First of all, I was not aware of downloading through Subversion ( Or Subversion itself either :oops: , that's why I kept on posting that the source was not available :oops: )...but anyway, I downloaded hydrogen 0.9.4 through subversion(should I post a .pet for Subversion and the APR libraries ?) and also installed the qt4-4.3.2.pet (thanks for the link !) along with

Code: Select all

export QTDIR=/opt/qt4
...so then ./configure could happen. But after the make and make install , no files appear in the directory, that is no installation takes place. Here's the output for make and make install :

Code: Select all

cd plugins/ && /opt/qt4/bin/qmake plugins.pro -unix prefix=/usr/local -o Makefile
cd plugins/ && make -f Makefile 
make[1]: Entering directory `/root/hydrogen/plugins'
cd wasp/ && /opt/qt4/bin/qmake wasp.pro -unix prefix=/usr/local -o Makefile
cd wasp/ && make -f Makefile 
make[2]: Entering directory `/root/hydrogen/plugins/wasp'
cd wasp_booster/ && /opt/qt4/bin/qmake wasp_booster.pro -unix prefix=/usr/local -o Makefile
cd wasp_booster/ && make -f Makefile 
make[3]: Entering directory `/root/hydrogen/plugins/wasp/wasp_booster'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/root/hydrogen/plugins/wasp/wasp_booster'
cd wasp_noisifier/ && /opt/qt4/bin/qmake wasp_noisifier.pro -unix prefix=/usr/local -o Makefile
cd wasp_noisifier/ && make -f Makefile 
make[3]: Entering directory `/root/hydrogen/plugins/wasp/wasp_noisifier'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/root/hydrogen/plugins/wasp/wasp_noisifier'
cd wasp_xshaper/ && /opt/qt4/bin/qmake wasp_xshaper.pro -unix prefix=/usr/local -o Makefile
cd wasp_xshaper/ && make -f Makefile 
make[3]: Entering directory `/root/hydrogen/plugins/wasp/wasp_xshaper'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/root/hydrogen/plugins/wasp/wasp_xshaper'
make[2]: Leaving directory `/root/hydrogen/plugins/wasp'
make[1]: Leaving directory `/root/hydrogen/plugins'
cd libs/ && /opt/qt4/bin/qmake libs.pro -unix prefix=/usr/local -o Makefile
cd libs/ && make -f Makefile 
make[1]: Entering directory `/root/hydrogen/libs'
cd hydrogen/ && /opt/qt4/bin/qmake hydrogen.pro -unix prefix=/usr/local -o Makefile
cd hydrogen/ && make -f Makefile 
make[2]: Entering directory `/root/hydrogen/libs/hydrogen'
g++ -c -include objs/hydrogen -pipe -I/usr/include/lash-1.0 -O2 -g -Wall -fPIC -D_REENTRANT -Wall -W -DALSA_SUPPORT -DJACK_SUPPORT -DLASH_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DLRDF_SUPPORT -DOSS_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt4/mkspecs/linux-g++ -I. -I/opt/qt4/include/QtCore -I/opt/qt4/include/QtCore -I/opt/qt4/include/QtGui -I/opt/qt4/include/QtGui -I/opt/qt4/include -I../.. -Iinclude -I. -I. -o objs/alsa_midi_driver.o src/IO/alsa_midi_driver.cpp
make[2]: Leaving directory `/root/hydrogen/libs/hydrogen'
make[1]: Leaving directory `/root/hydrogen/libs'
cd plugins/ && make -f Makefile install
make[1]: Entering directory `/root/hydrogen/plugins'
cd wasp/ && make -f Makefile install
make[2]: Entering directory `/root/hydrogen/plugins/wasp'
cd wasp_booster/ && make -f Makefile install
make[3]: Entering directory `/root/hydrogen/plugins/wasp/wasp_booster'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/hydrogen/plugins/wasp/wasp_booster'
cd wasp_noisifier/ && make -f Makefile install
make[3]: Entering directory `/root/hydrogen/plugins/wasp/wasp_noisifier'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/hydrogen/plugins/wasp/wasp_noisifier'
cd wasp_xshaper/ && make -f Makefile install
make[3]: Entering directory `/root/hydrogen/plugins/wasp/wasp_xshaper'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/root/hydrogen/plugins/wasp/wasp_xshaper'
make[2]: Leaving directory `/root/hydrogen/plugins/wasp'
make[1]: Leaving directory `/root/hydrogen/plugins'
cd libs/ && make -f Makefile install
make[1]: Entering directory `/root/hydrogen/libs'
cd hydrogen/ && make -f Makefile install
make[2]: Entering directory `/root/hydrogen/libs/hydrogen'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/hydrogen/libs/hydrogen'
make[1]: Leaving directory `/root/hydrogen/libs'
cd extra/ && /opt/qt4/bin/qmake extra.pro -unix prefix=/usr/local -o Makefile
cd extra/ && make -f Makefile install
make[1]: Entering directory `/root/hydrogen/extra'
cd hydrogenPlayer/ && /opt/qt4/bin/qmake hydrogenPlayer.pro -unix prefix=/usr/local -o Makefile
cd hydrogenPlayer/ && make -f Makefile install
make[2]: Entering directory `/root/hydrogen/extra/hydrogenPlayer'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/hydrogen/extra/hydrogenPlayer'
cd hydrogenSynth/ && /opt/qt4/bin/qmake hydrogenSynth.pro -unix prefix=/usr/local -o Makefile
cd hydrogenSynth/ && make -f Makefile install
make[2]: Entering directory `/root/hydrogen/extra/hydrogenSynth'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/root/hydrogen/extra/hydrogenSynth'
make[1]: Leaving directory `/root/hydrogen/extra'
cd gui/ && /opt/qt4/bin/qmake gui.pro -unix prefix=/usr/local -o Makefile
cd gui/ && make -f Makefile install
make[1]: Entering directory `/root/hydrogen/gui'
make[1]: Leaving directory `/root/hydrogen/gui'
As you can see, it says

Code: Select all

Nothing to be done for `first'
and

Code: Select all

Nothing to be done for `install'
.

Now, I hope or guess that this is an issue with Hydrogen 0.9.4 rather than the qt4 framework, right ?

alcy
Posts: 143
Joined: Sun 04 May 2008, 18:24

#11 Post by alcy »

Well, well. The qt-3.3.8.pet wouldn't work well with some missing files...so I tried compiling qt-3.3.8b from scratch...now there's a new problem...there is a missing component

Code: Select all

lXi
in the

Code: Select all

ld
file provided by the development environment obtained from installing devx_400.sfs. Anyone aware of this ? :oops:

Post Reply