LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Problems compiling amarok (https://www.linuxquestions.org/questions/mandriva-30/problems-compiling-amarok-261919/)

ernesto_cgf 12-02-2004 06:29 PM

Problems compiling amarok
 
Before I post my problem, I have Mandrake 10.0 Official Download Edition, with it's original kernel 2.6.3-7mdk.

I downloaded amarok-1.2-beta1 from rpm.pbone.net, and I also downloaded various packages of gstreamer-0.8, namely

Code:


gstreamer-plugins-0.8.4-2mdk
gstreamer-mpeg-0.8.4-2mdk
gstreamer-tools-0.8.4-0.1mdk
libgstreamer-plugins0.8-0.8.4-2mdk
gstreamer-audio-formats-0.8.4-2mdk
libgstreamer0.8-0.8.4-0.1mdk
gstreamer-vorbis-0.8.4-2mdk

This is the output of the command

Code:


rpm -qa | grep gstreamer

They all installed with no problems. Mandrake 10.0 original comes with gstreamer 0.6 something, but amarok requires gstreamer >= 0.8.1

Then when trying to compile the amarok-1.2-beta1 source code, when I run

Code:


./configure --prefix=`kde-config --prefix`

as I read in the INSTALL file, this script cannot find a gstreamer >= 0.8.1 in my system. It says something about pkg-config, textually:

Code:

...
...
checking for pkg-config... /usr/bin/pkg-config
checking for gstreamer-0.8 >= 0.8.1... Package gstreamer-0.8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.8.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.8' found
checking for gstreamer-plugins-0.8 >= 0.8.1... Package gstreamer-plugins-0.8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-plugins-0.8.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-plugins-0.8' found
...
...

I updated my locate database using updatedb and after that, I couldn't find any file with .pc extension, containing the string gstreamer in its name. What's wrong? I don't know what to do, I know I have gstreamer but ./configure cannot find it to link it with amarok. And I want gstreamer, aRts is no good.

Thanks in advance

reddazz 12-02-2004 07:24 PM

instead of using third party rpm repositories and get a bunch of dependencies, why don't you use urpmi and get packages from Mandrake mirrors. Urpmi automatically resolves dependencies. You can get more information from the easyurpmi webpage.

ernesto_cgf 12-03-2004 06:39 AM

Quote:

Originally posted by reddazz
instead of using third party rpm repositories and get a bunch of dependencies, why don't you use urpmi and get packages from Mandrake mirrors. Urpmi automatically resolves dependencies. You can get more information from the easyurpmi webpage.
But is the problem about the rpms? I mean, they installed cleanly, with no problems at all. The problem is compiling amarok.

I'm not saying your sugestion is not a solution, I'm trying it already, but I thought the problem was in the configuration of pkg-config or the ./configure script.

opjose 12-03-2004 06:59 AM

You are effectively breaking dependancies right and left.

Image that you are trying to install a Windows 95 application which overwrites system files in Win2K...

using URPMI keeps your machine "consistent" and avoides such nightmares.

ernesto_cgf 12-03-2004 07:11 AM

Ok, I'm into it now.

Should I uninstall first the gstreamer rpms I downloaded? I suppose so.

Should I re-install then the ones in the mandrake cd (gstreamer 0.6) before attempting to update with urpmi?

opjose 12-03-2004 08:52 AM

You should uninstall existing RPM's just to keep things consistent, along with any tarballs you've also installed.

e.g.

rpm -e `rpm -qa | grep gstream`

Then set up your urpmi sources as per : http://www.zebulon.org.uk/urpmi_en.html

And finally


urpmi gstream

There is no need to first revert to the CD's though. URPMI will install the latest version available for the particular distro.

ernesto_cgf 12-04-2004 07:52 PM

Thanks, it all works now and I will never have to download third party rpms. This urpmi update system is just great.

The only problem is that mandrake 10.0 does not have gstreamer 8 or amarok yet, but that's another problem. I guess I'll have to download 10.1 anyway, cause I want amarok badly.


All times are GMT -5. The time now is 01:11 PM.