LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2004, 12:01 AM   #1
Jimbab
LQ Newbie
 
Registered: Aug 2004
Location: Tennessee
Distribution: Mandrake 10.0, Slackware 10.0
Posts: 9

Rep: Reputation: 0
Mandrake 10.0 -> Sinek Install (GTK)


I am attempting to install Sinek Media Player in Mandrake 10.0. When I perform ./configure, I get the following:

checking for gtk+-2.0 >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

I installed gtk+-1.2.9.tar.gz and the install went as it should. When I again ran ./configure for Sinek, I got the same error is last time. Where can I find my PKG_CONFIG_PATH environment variable, and when I do, what modifications do I make to it?



Thanks for any help .
 
Old 09-04-2004, 07:36 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
checking for gtk+-2.0 >= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
The program is looking for gtk+-2.0.0 or greater.
Quote:
I installed gtk+-1.2.9.tar.gz and the install went as it should. When I again ran ./configure for Sinek, I got the same error is last time. Where can I find my PKG_CONFIG_PATH environment variable, and when I do, what modifications do I make to it?
You have installed gtk+-1.2.9, that is ver 1.2.9 not 2.0.0.

Although, it seems pretty weird that MDK10 hasn't installed gtk+-2. Try looking on the install CD's for development and libs stuff you might have missed.

Baldrick

Last edited by Baldrick65; 09-04-2004 at 07:38 AM.
 
Old 09-04-2004, 12:37 PM   #3
Jimbab
LQ Newbie
 
Registered: Aug 2004
Location: Tennessee
Distribution: Mandrake 10.0, Slackware 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
LOL that is embarassing. You were right, it was on one of my Mandrake disks (disk two in /mnt/cdrom/Mandrake/RPMS2 in case anyone else has the same problem). Now that I have GTK+-2 installed, however, I get this when I try to "make":

In file included from ../include/common.h:33,
from main.c:11:
../include/sinek.h:32: error: parse error before "config_values_t"
../include/sinek.h:32: warning: no semicolon at end of struct or union
../include/sinek.h:33: warning: type defaults to `int' in declaration of `vd'
../include/sinek.h:33: warning: data definition has no type or storage class
../include/sinek.h:34: error: parse error before '*' token
../include/sinek.h:34: warning: type defaults to `int' in declaration of `ad'
../include/sinek.h:34: warning: data definition has no type or storage class
../include/sinek.h:37: error: parse error before '}' token
../include/sinek.h:37: warning: type defaults to `int' in declaration of `sinek_type'
../include/sinek.h:37: warning: data definition has no type or storage class
../include/sinek.h:41: error: parse error before '*' token
../include/sinek.h:41: warning: type defaults to `int' in declaration of `sinek_new'
../include/sinek.h:41: warning: data definition has no type or storage class
../include/sinek.h:42: error: parse error before '*' token
../include/sinek.h:45: error: parse error before '*' token
../include/sinek.h:46: error: parse error before '*' token
../include/sinek.h:49: error: parse error before '*' token
../include/sinek.h:52: error: parse error before '*' token
../include/sinek.h:53: error: parse error before '*' token
../include/sinek.h:54: error: parse error before '*' token
../include/sinek.h:55: error: parse error before '*' token
In file included from main.c:11:
../include/common.h:177: error: parse error before '*' token
../include/common.h:177: warning: type defaults to `int' in declaration of `media'
../include/common.h:177: warning: data definition has no type or storage class
main.c:14: error: parse error before '*' token
main.c:14: warning: type defaults to `int' in declaration of `media'
main.c:14: warning: data definition has no type or storage class
main.c: In function `main':
main.c:47: warning: implicit declaration of function `xine_set_locale'
main.c:73: warning: implicit declaration of function `xine_register_event_listener'
main.c: In function `second_update':
main.c:114: warning: passing arg 1 of `xine_get_status' from incompatible pointer type
main.c:114: error: `XINE_PLAY' undeclared (first use in this function)
main.c:114: error: (Each undeclared identifier is reported only once
main.c:114: error: for each function it appears in.)
main.c:118: warning: implicit declaration of function `xine_get_current_time'
main.c:118: warning: implicit declaration of function `xine_get_stream_length'
main.c: In function `event_listener':
main.c:131: error: `XINE_EVENT_PLAYBACK_FINISHED' undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/mnt/win_c/downloads/sinek/sinek-0.7/src'
make: *** [all-recursive] Error 1

Also, when I try to install Sinek by RPM, I get:

Some package requested cannot be installed:
sinek-0.7-5mdk.i586 (due to unsatisfied xine-lib-compat-plugins)
do you agree ?

Given that, I've attempted to install xine-lib-compat-plugins-0.9.13-11mdk.i586.rpm, and get a very large block of error messages as a return. Here's one:

file /usr/lib/xine/plugins/xineplug_decode_spucc.so from install of xine-lib-compat-plugins-0.9.13-11mdk conflicts with file from package xine-libs-0.9.13-fr2

I have also installed xine-libs-0.9.13-fr2.i386.rpm, which worked fine. Am I going to have to uninstall xine-libs-0.9.13-fr2.i386.rpm to be able to install Xine-Lib-Compat-Plugins, and if so, how do I go about that?
 
Old 09-05-2004, 05:26 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
As far as I can tell, all versions have to match. So If you are trying to install xine-lib-compat-plugins-0.9.13-11mdk, then you will need xine-libs-0.9.13-11mdk not xine-libs-0.9.13-fr2. There are probably others which will need to be changed as well.

To uninstall an rpm, just use the command
Code:
rpm -e <packagename>
man rpm for more info.

Baldrick
 
  


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
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 01:51 PM
Can I install GTK-1.x.x although GTK-2.x.x has already been install in Fedora3 ? Vincenttalk Linux - Software 4 04-13-2005 11:32 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 01:46 AM
GTK+ and rpm install and compile issues Mandrake 10.0 keflavich Linux - Newbie 3 08-27-2004 07:39 PM
GTK, GTK+ and MPlayer won't install ? ivan@elfak Linux - Newbie 4 02-29-2004 08:19 PM


All times are GMT -5. The time now is 12:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration