drm depedency: libqwt.so.4

openSUSE 10.3.
I try to install the product drm (Digital Radio Mondiale radio receiver).
It is available in the Packman repo. But it wants libqwt.so.4 (I think that belongs to product libqwt4), which is not in the repos.
There is libqwt5, but I do not know if this is something different, or a new vesion of libqwt4. And when it is a new version, can it be used as a replacement for libqwt4 and how to do this.

Any suggestions, this is dark area for me :frowning:

Hi
It shows you how to build the libqt4 library here;
http://drm.sourceforge.net/installationrpm.html

You could also try installing libqt5 and then making a softlink, but I
think if you follow the above it should work.

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1:29, 1 user, load average: 0.14, 0.12, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Well I looked earlier at the page you gave me and missed the bit aboute libqwt. I think because I thought that when an RPM for the product is available everything should be available as an RPM in the same (or another) repo. So I have to revert to more primitive methods anyhow.

I tried installing libqwt5 and making the symbolic link, but the application gave an error about the wrong size of a symbol.

Thanks for taking the trouble answering me. I will go and try to follow the page you gave me.

Hi
They provide the src rpm there as well, even quicker to use;


rpmbuild --rebuild <name_of_src_rpm>

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1:59, 1 user, load average: 0.34, 0.20, 0.14
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Hello Malcom,

I do not know if you ever installed drm this way. I downloaded qwt-4.2.0.tar.bz2 and run the rpmbuild --rebuild on it. It started hopefully, but ended in not being able to find tmake.

Could not find out if it is part of e repo product. After some googling I found it on Sourceforge and downloaded. Could not find any installation instructions, but there is a bin directory. I added this to my PATH. Now the rpmbuild runs until it can not find /bin/moc. Is this the Music on Console that I found via Sourceforge? Looks strange to me that this is hardcoded as being in /bin.

In short it seems that I am being lured deeper and deeper into the primitive old days of generating and installing by doing everything by hand >:(. Or am I too pessimistic?

Hi
Hmmmm, looks that way. I donā€™t have a 10.3 machineā€¦ I could build a
VM are you using 32 or 64 bit?
moc is here;
http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_10.3/

I use http://rpm.pbone.net/ and Search for
searching and like to build any I find from the source rpmsā€¦

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2:40, 1 user, load average: 0.07, 0.06, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

I just found that moc via webpin.

I also must admit that I do not know much about drm. I try to lure a friend of mine into Linux (openSUSE of course), and drm belongs to his hobby. It is a rather small system we are using now and installing using YaST is a real pain. As moc is about sound, the first thing I now will do is making it ā€˜sound readyā€™ by doing what ā€˜restricted formatsā€™ asks us to do :slight_smile:

Then I will add moc and see what happens. May take some time before I am back with a report.

BTW I still can not find that ā€˜source RPMā€™. I can find source RPMs for the other products that must be there, but these where already installed by YaST as dependencies. And doing rpmbuild on those RPMs only add to the bewildering number of products that are missing!

And, before I forget, it is a ā€œGenuineIntel Pentium II (Deschutes) with speed 331.710 MHz and cache size 512 KBā€ and thus 32bit.

Regards,

Hi
The qt one is here;
http://drm.sourceforge.net/download/qwt-4.2.0-1.src.rpm
drm one is here;
http://packman.links2linux.org/downloadsource/43981/drm-1.6.25-1.src.rpm

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 3:26, 1 user, load average: 0.09, 0.14, 0.11
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thanks, it is now knacking around loading codecs and libxine etc.
After that I will use your links. But the end of the day is coming here. So you here from me tomorrow.

Until then many thanks lol!

The building of libqwt4 stucks on **tmake **not found. I found it somewhere, it did not install propperly, but I found the program and added its place to the PATH. Now the building runs further until it can not find /bin/moc. Now such an absolute path seems strange to me. I tried to find something about moc and found Music on Console, but that was not the right product.

Further investigation let me install qt4-devel. It delivers /usr/bin/moc. After makeing a symbolic link fron /bin/moc the building runs even further!

Until it comes with a bunch errors like:

g++: src/obj/qwt_autposcl.o: No such file or directory

This all seems to be far away from ā€˜One Click Installā€™ :frowning:

Hi
So are you building from the source or the source rpm?

I just built from the source rpm here no issues (11 though).

Question are you sure itā€™s tmake and not qmake. Do you have qt3 and
qt3-devel installed?

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 20:38, 2 users, load average: 0.02, 0.17, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Yes, it is tmake.

I just installed qt3-devel, no difference.

I think i will leave DRM for the moment. This friend has another system which is more powerfull, so the installing by YaST does not take an eternity. But I still have a wifi problem there :frowning: .

When 11.1 is released and the forums show that it is stable enough, I will change this small system to 11.1 because installing is much, much faster there. We do have some work for this small system in the meantime, he also asked for ome small programs for other purposes, that can be put on it more easily (though not as RPMs, more a case of expanding a tarball).

Thanks again for the help offered.

Hi
I wonā€™t be beatenā€¦LOL

OK the problem is in fact having tmake!! Get rid of setting that path.

The application uses qmake, Iā€™m assuming initially you didnā€™t have qt3
and qt3-devel installed, hence the errors? Also moc is part of qt
development.

Open a clean console, and run;


rpmbuild --rebuild qwt-4.2.0-1.src.rpm

and you should be good to go.

Else I have 10.3 i586 rpms here if you want them.

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1 day 3:31, 4 users, load average: 0.11, 0.08, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Well, you cheered me up a little bit. I am not so much frustrated by trying to solve this as by trying to solve this on such a slow system. We hope to add a second small disk, so we can at least put swap activity and file access activity on different drives.

In the meantime I did what you suggested. I removed the link from /bin/moc to /usr/bin/moc. BTW /usr/bin/moc was IIRC installed allready when I installed libqt4-devel. Maybe it installed again with qt3-devel.

Then I run the rpmbuild, but this time as root. This was not discussed by us, maybe because you thought I would understand that I should run this as root, while I thought is was just building, not installing. This time it run :slight_smile:

At the end I saw that it said that two RPMs were stored in /usr/src/packages/RPMS/i586/, namely qwt-4.2.0-1.i586.rpm and the devel one.
I first tried to install these by going to them with Konqueror and then clicking on Install using YaST, to no avail. I then did a rpm -i ā€¦

Then the moment of truth. I started the drm program (that is where all this was done for). This time no complaints about libqwt.so.4 not found lol!

But a new error:

drm: symbol lookup error: drm: undefined sysmbol NeAACDecInitDRM

Which is something completely different rotfl!

Thanks for helping me through my depression. In the end we got libqwt.so.4 installed.

Hi
You need to install the faad-drm-devel rpm from packman 10.3 and update
faad from there and recompile/install.

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2 days 2:39, 2 users, load average: 0.24, 0.21, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thanks for the advise. I will try this later. I will be off until monday. But I will report back.

Well, I found a bit of time just before I realy go away until the end of sunday and installed faad2-drm-devel. It installed also some others packages (almost running out of space now).

I quote from you: ā€œand update faad from thereā€. This seems to be a piece of cake for you. Can you tell me how swallow a piece of cake :X
I have no idea what to run or do to updayr faad from the faad2-drm-devel.

Hi
I meant to say if your faad wasnā€™t from there to install it from
there as well. Then rebuild your source or src rpm (or install the drm
one from packman) and you shouldnā€™t get the error.

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2 days 20:10, 2 users, load average: 1.39, 1.32, 1.20
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Hello Malcolm,

I still owe you a reaction.

I reinstalled from Packman when available there. I now have:

meet:~ # rpm -qa --qf '%{NAME}	from %{VENDOR}
'|grep -e faad -e drm
faad2-drm       from http://packman.links2linux.de
libfaad0        from (none)
drm     from http://packman.links2linux.de
faad2-drm-devel from http://packman.links2linux.de
libdrm  from SUSE LINUX Products GmbH, Nuernberg, Germany
meet:~ #

To no avail.

Hi Henk
Not the reaction I expected :frowning:

Here is the output from mine, maybe libfaad0 is the issue as itā€™s from
ā€˜noneā€™?


rpm -qa --qf '%{NAME}	from %{VENDOR}
'|grep -e faad -e drm

libdrm	from SUSE LINUX Products GmbH, Nuernberg, Germany
libfaad0	from packman.links2linux.de
faad2	from packman.links2linux.de
libdrm-devel	from SUSE LINUX Products GmbH, Nuernberg, Germany
drm	from http://packman.links2linux.de
faad2-drm-devel from packman.links2linux.de
libfaad-devel	from packman.links2linux.de
faad2-drm	from packman.links2linux.de

ā€“
Cheers Malcolm Ā°ĀæĀ° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2 days 8:40, 2 users, load average: 0.16, 0.19, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82