glib-2.28.1 on CentOS 5.5?

  • Thread starter Thread starter fgghjjkll
  • Start date Start date
  • Views Views 4,494
  • Replies Replies 5

fgghjjkll

GBATemp MegaMan
Member
Joined
Jul 7, 2008
Messages
2,043
Reaction score
52
Trophies
2
Age
30
XP
1,098
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
 
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.
 
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
 
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