LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2004, 05:39 PM   #1
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
troube installing hydrogen - need direction on resolving errors


Hello, I am trying to install hydrogen on my slackware 10.
(this is the file - hydrogen-0.8.2.tar.gz)

During ./configure I get no errors, but I get 2 warnings:

1-
Quote:
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jack' found
configure: WARNING: *** Could not find the JACK library, disabling JACK driver
2-
Quote:
checking lrdf.h usability... no
checking lrdf.h presence... no
checking for lrdf.h... no
checking for lrdf_init in -llrdf... no
configure: WARNING: *** Could not find the LRDF library
./configure ends with:
Quote:
-----------------------------------------------------------------
Hydrogen 0.8.2 configuration:
-----------------------------------------------------------------

Source code location: .
Prefix /usr/local
Images path /usr/local/share/hydrogen
Use ALSA Sequencer: yes
Debug messages: no
Jack support: no
OSS support: yes
LRDF support: no

Features list = (Alsa seq) (OSS)

-----------------------------------------------------------------
Now type make to build Hydrogen.
-----------------------------------------------------------------

So then I 'make'.

It all looks normal but at the end it says:

Quote:
AudioEngineInfoForm_UI.cpp: In constructor `
AudioEngineInfoForm_UI::AudioEngineInfoForm_UI(QWidget*, const char*,
unsigned int)':
AudioEngineInfoForm_UI.cpp:75: error: `Spacer2' undeclared (first use this
function)
AudioEngineInfoForm_UI.cpp:75: error: (Each undeclared identifier is reported
only once for each function it appears in.)
AudioEngineInfoForm_UI.cpp:80: error: `Spacer1' undeclared (first use this
function)
make[3]: *** [AudioEngineInfoForm_UI.o] Error 1
make[3]: Leaving directory `/root/installs/hydrogen-0.8.2/hydrogen_gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/installs/hydrogen-0.8.2/hydrogen_gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/installs/hydrogen-0.8.2'
make: *** [all] Error 2
So I have seen things like this before, and it works anyway, so I go and type make install:
At the end of 'make install' I get this:

Quote:
AudioEngineInfoForm_UI.cpp: In constructor `
AudioEngineInfoForm_UI::AudioEngineInfoForm_UI(QWidget*, const char*,
unsigned int)':
AudioEngineInfoForm_UI.cpp:75: error: `Spacer2' undeclared (first use this
function)
AudioEngineInfoForm_UI.cpp:75: error: (Each undeclared identifier is reported
only once for each function it appears in.)
AudioEngineInfoForm_UI.cpp:80: error: `Spacer1' undeclared (first use this
function)
make[2]: *** [AudioEngineInfoForm_UI.o] Error 1
make[2]: Leaving directory `/root/installs/hydrogen-0.8.2/hydrogen_gui'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/installs/hydrogen-0.8.2/hydrogen_gui'
make: *** [install-recursive] Error 1
So I try to type 'hydrogen' to start the program:

Quote:
bash: hydrogen: command not found
I am far from a programmer, and most of the things that scroll by during "./configure, make, make install" means nothing to me. I tried looking for hydrogen at linuxpackages.net, but its not there, so I got the source from hydrogen.sourceforge.net.

I should add, I did try to reference the LRDF error, and that package requiers raptor >= 0.9.11, which apparently I don't have, so I tried to get that.. I installed raptor-1.3.1 and raptor-devel-1.3.1. with pkgtool. Apparently that went fine. So I went back and tried installing LRDF again (liblrdf-0.3.7) and recieved similar errors doing a ./configure,make,make install as when I tried to install hydrogen (error 2 on 'make', and error 1 on 'make install'.).

At this point I am out of ideas. I understand I put a lot of info on this quesiton, but I tried to cover everything I could. Any one have a direction they could point me in??

Thanks in advance - tw.
 
Old 07-11-2004, 06:39 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Hi,
I downloaded and installed this package it was a little pain but here is the fix :

tar xzvf hydrogen-xx.tar.gz
cd hydrogen-xx

from here edit :
hydrogen_gui/AudioEngineInfoForm_UI.h

and locate these lines near the top :
Code:
...
class QLabel;
class QPushButton;
...
Then add this line :
Code:
...
class QLabel;
class QPushButton;
class QSpacerItem;
...
And near the bottom :
Code:
protected:
...
QHBoxLayout* Layout9;
QHBoxLayout* Layout9_2;
...
add these lines :
Code:
protected:
...
QHBoxLayout* Layout9;
QHBoxLayout* Layout9_2;
QSpacerItem* Spacer2;
QSpacerItem* Spacer1;
...
Do exactly the same changes for the files :
hydrogen_gui/LadspaFXSelector_UI.h
hydrogen_gui/PreferencesDialog_UI.h
 
Old 07-11-2004, 10:13 PM   #3
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551

Original Poster
Blog Entries: 4

Rep: Reputation: 31
keefaz,

what I did, or more accurately what you told me to do, I have no idea what it was....but

Awesome - I got my drums back!!!!!!!!! MANY THANKS!!!!!!!!

-tw
 
Old 07-12-2004, 04:24 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
In fact it is not very difficult (need a little experience in c/c++), when I see an error like "Each undeclared identifier is reported...", the first thing I used to do is check what file cause the error and then look at the correspondant .h file, like for this one, there were no declaration for Spacer1 and Spacer2 and no declaration for the class QSpacerItem too.

I emailed the author and put a link to this thread, maybe the fix will be added in future version of hydrogen.
 
Old 07-12-2004, 11:36 AM   #5
Gimzo
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian 3.1
Posts: 6

Rep: Reputation: 0
I was having the same problem and I followed your instructions and it worked. I will now start to look for this type of thing when compiling other software.

First rate help

Thanks a lot, keefaz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3d acceleration troube - ATI Radeon 9250 ericthehammer Ubuntu 15 08-31-2005 01:01 AM
Resolving sem_* link errors on Linux ceoping Programming 2 04-07-2005 11:32 AM
Hydrogen ReDDonEAST Linux - Software 2 09-22-2004 04:20 PM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM
Installing Advansys SCSI Adapter Model ABP-510 - Point in right direction? dukman823 Linux - Software 0 09-21-2001 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration