LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   glib installation (https://www.linuxquestions.org/questions/linux-software-2/glib-installation-311493/)

trumpetdork 04-09-2005 04:28 PM

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.

trickykid 04-09-2005 06:41 PM

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.

trumpetdork 04-09-2005 07:40 PM

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?

__J 04-09-2005 10:52 PM

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.)

trumpetdork 04-10-2005 01:54 AM

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?

__J 04-10-2005 02:14 AM

what distro are you on anyway? also, can you install xmms from your distro's package manager?

browngb 04-16-2005 10:54 PM

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?


All times are GMT -5. The time now is 04:58 AM.