Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 14:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Compiling Hydrogen, QT error
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Mon 16 Jun 2008, 12:35    Post subject:  Compiling Hydrogen, QT error  

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:
--- 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 ?
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Mon 16 Jun 2008, 15:40    Post subject:  

you need qt:

qt-3.3.8.pet
md5sum

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Tue 17 Jun 2008, 00:46    Post subject:  

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

Code:
--- 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.
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Tue 17 Jun 2008, 00:59    Post subject:  

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:
export QTDIR=/opt/qt4


keep trying, you'll get it going Smile
Back to top
View user's profile Send private message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Tue 17 Jun 2008, 01:59    Post subject:  

^^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:
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
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Tue 17 Jun 2008, 02:36    Post subject:  

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:

Quote:
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.
Back to top
View user's profile Send private message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Tue 17 Jun 2008, 04:20    Post subject:  

^^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 Razz .
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 17 Jun 2008, 04:27    Post subject:  

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 Razz .


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 Smile

Back to top
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Tue 17 Jun 2008, 05:27    Post subject:  

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
Back to top
View user's profile Send private message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Tue 17 Jun 2008, 08:41    Post subject:  

Thanks again , muggins.

First of all, I was not aware of downloading through Subversion ( Or Subversion itself either Embarassed , that's why I kept on posting that the source was not available Embarassed )...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:
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:
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:
Nothing to be done for `first'
and
Code:
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 ?
Back to top
View user's profile Send private message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Tue 17 Jun 2008, 16:51    Post subject:  

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:
lXi
in the
Code:
ld
file provided by the development environment obtained from installing devx_400.sfs. Anyone aware of this ? Embarassed
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0960s ][ Queries: 11 (0.0119s) ][ GZIP on ]