LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-02-2004, 06:29 PM   #1
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Rep: Reputation: 30
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
 
Old 12-02-2004, 07:24 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 12-03-2004, 06:39 AM   #3
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Original Poster
Rep: Reputation: 30
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.
 
Old 12-03-2004, 06:59 AM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 12-03-2004, 07:11 AM   #5
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Original Poster
Rep: Reputation: 30
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?
 
Old 12-03-2004, 08:52 AM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 12-04-2004, 07:52 PM   #7
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problems compiling amarok chrisyc SUSE / openSUSE 10 12-21-2005 01:01 PM
amarok questions/problems awhiteknight1999 Linux - Software 7 08-19-2005 03:36 PM
amarok sound problems alaios Linux - Software 0 06-13-2005 01:02 AM
Arts...Amarok...so many problems. RoaCh Of DisCor Linux - Newbie 2 05-29-2005 02:58 AM
problems with amaroK Turok Linux - Software 1 05-17-2005 08:02 AM

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

All times are GMT -5. The time now is 11:58 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