glib-2.28.1 on CentOS 5.5?

fgghjjkll

GBATemp MegaMan
OP
Member
Joined
Jul 7, 2008
Messages
2,043
Trophies
0
Age
28
XP
1,038
Hey. As part of a requirement for Transmission GTK+ GUI, I need to install glib (forgot which version).
I got glib-2.28.1 source code and i'm trying to compile it, but i keep on getting odd errors.
At first, My kernel-headers was out of date and i'm missing magic.h.
That was solved by copying my fedora 14's magic.h to the server (/usr/lib/linux)

Now, i get THIS error..
How do I fix this?
http://pastebin.com/Pm0gHHVx
 

fgghjjkll

GBATemp MegaMan
OP
Member
Joined
Jul 7, 2008
Messages
2,043
Trophies
0
Age
28
XP
1,038
Antoligy said:
As much as I hate to do this, I actually recommend installing the glib package for your distribution.
Code:
sudo yum install -y glib-devel
Uhmm..
The glib-devel package in the CentOS repos are out of date.
There's nothing in RPMForge or RPMFusion either.
 

Frederica Bernkastel

Well-Known Member
Member
GBAtemp Patron
Joined
Jan 31, 2008
Messages
3,169
Trophies
2
Age
29
Location
Hinamizawa
XP
999
Country
Japan
Okay, since the easy option's out, looks like you may have no choice other than to compile it from source (what you're trying to do).

Try configuring it to a local folder, which you have all the privileges to like so:
Code:
./configure --prefix=/path/to/install/dir
and then compiling as normal (might wanna `make clean` first)
Code:
make clean && make && make install
 

oblique

New Member
Newbie
Joined
May 10, 2011
Messages
1
Trophies
0
XP
1
Country
Sorry this is old - just came across an answer to the the test.mo problem (http://comments.gmane.org/gmane.comp.lib.uclibc.buildroot/27555)...it relates to an outdated gettext package (http://www.gnu.org/software/gettext/gettext.html) on the system. If I manually compile gettext and modify the env for the new LD_LIBRARY_PATH and PATH then I can build glib.

regards
Oblique
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/j-JgIxFZTKY?si=9yG57ooZm1wvSOsz