LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2005, 04:28 PM   #1
trumpetdork
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Rep: Reputation: 0
glib installation


I'm trying to install Yammi as MP3 library mangement . Yammi requires XMMS.

When I went to install XMMS, I was told I needed to have glib 1.2.2 or newer.

I went and downloaded the glib 1.2.9 file from the internet and have been trying to install it. I get as far as running the ./configre script. When I go to the next step, "make" I get the following output:

Code:
make  all-recursive
make[1]: Entering directory `/home/elford/Apps/glib-1.2.9'
Making all in .
make[2]: Entering directory `/home/elford/Apps/glib-1.2.9'
CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
creating glibconfig.h
glibconfig.h is unchanged
echo timestamp > stamp-gc-h
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall  -D_REENTRANT -c gstrfuncs.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gstrfuncs.c  -fPIC -DPIC -o .libs/gstrfuncs.lo
gstrfuncs.c: In function `g_printf_string_upper_bound':
gstrfuncs.c:870: error: syntax error before string constant
gstrfuncs.c:1037: error: syntax error before string constant
gstrfuncs.c:1080: error: syntax error before string constant
gstrfuncs.c:1111: error: syntax error before string constant
make[2]: *** [gstrfuncs.lo] Error 1
make[2]: Leaving directory `/home/elford/Apps/glib-1.2.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/elford/Apps/glib-1.2.9'
make: *** [all-recursive-am] Error 2
What am I doing wrong to get this? The files are inside a subfolder of my home directory. Could that be the problem? I'm using Fedora 3.
 
Old 04-09-2005, 06:41 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You might already have glib installed.. have you tried doing a: rpm -qa | grep glib ...to find if and what version you may have already? And if its an older version, you should try to just download the updated RPM's to install and upgrade by those means.
 
Old 04-09-2005, 07:40 PM   #3
trumpetdork
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Original Poster
Rep: Reputation: 0
XMMS dosent like my glib version

OK I did the above and saw it was already installed but it was an older version. I went and downloaded version 2.6.2 from the Web and was able to install it without any problems.

Now when I go to try and install XMMS, I run the XMMS configure script and get the folllowing
Code:
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
I just installed version 2.6.2, so why dosen't it know that it's there?
 
Old 04-09-2005, 10:52 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
glib-1.x and 2.x are two completely different things ( you can have them on the same system without conflicts. if a package requires 1.x, it will not be able to use 2.x, and vice versa. try 1.2.10 and see if that helps.)
 
Old 04-10-2005, 01:54 AM   #5
trumpetdork
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Original Poster
Rep: Reputation: 0
OK, I tried to install 1.2.10 without making any other system modifications. When I ran the make command, I got the following:

Code:
gstrfuncs.c: In function `g_printf_string_upper_bound':
gstrfuncs.c:870: error: syntax error before string constant
gstrfuncs.c:1037: error: syntax error before string constant
gstrfuncs.c:1080: error: syntax error before string constant
gstrfuncs.c:1111: error: syntax error before string constant
make[2]: *** [gstrfuncs.lo] Error 1
make[2]: Leaving directory `/home/elford/Apps/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/elford/Apps/glib-1.2.10'
make: *** [all-recursive-am] Error 2
What do I do know?
 
Old 04-10-2005, 02:14 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what distro are you on anyway? also, can you install xmms from your distro's package manager?
 
Old 04-16-2005, 10:54 PM   #7
browngb
LQ Newbie
 
Registered: Apr 2005
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
I am getting this error in Fedora Core 3 trying to install glib 1.2.10. Can anyone help me figure out what's wrong?
 
  


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
glib installation GTBlackwell Linux - Software 1 10-31-2008 02:03 AM
problem with glib installation golfavr Linux - Software 2 08-24-2005 12:18 AM
Please!!!! Help me with Glib 2.6.1 installation Lier Linux - Software 29 03-24-2005 10:23 AM
GLib installation Darksun Linux - Software 2 04-02-2004 09:10 AM
Mandrake Glib installation rolandi Linux - Newbie 2 10-23-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:08 PM.

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