glib-2.28.1 on CentOS 5.5?

Discussion in 'Computer Software and Operating Systems' started by fgghjjkll, Feb 27, 2011.

Feb 27, 2011

glib-2.28.1 on CentOS 5.5? by fgghjjkll at 7:34 AM (3,180 Views / 0 Likes) 5 replies

  1. fgghjjkll
    OP

    Member fgghjjkll GBATemp MegaMan

    Joined:
    Jul 7, 2008
    Messages:
    2,038
    Country:
    Australia
    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
     
  2. Frederica Bernkastel

    Member Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Joined:
    Jan 31, 2008
    Messages:
    3,145
    Location:
    Hinamizawa
    Country:
    United Kingdom
    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
     
  3. fgghjjkll
    OP

    Member fgghjjkll GBATemp MegaMan

    Joined:
    Jul 7, 2008
    Messages:
    2,038
    Country:
    Australia
    Uhmm..
    The glib-devel package in the CentOS repos are out of date.
    There's nothing in RPMForge or RPMFusion either.
     
  4. Frederica Bernkastel

    Member Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Joined:
    Jan 31, 2008
    Messages:
    3,145
    Location:
    Hinamizawa
    Country:
    United Kingdom
    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
     
  5. oblique

    Newcomer oblique Newbie

    Joined:
    May 10, 2011
    Messages:
    1
    Country:
    United Kingdom
    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
     
  6. fgghjjkll
    OP

    Member fgghjjkll GBATemp MegaMan

    Joined:
    Jul 7, 2008
    Messages:
    2,038
    Country:
    Australia
    Don't worry about this anymore. CentOS 5.6 is released with a newer glib.
     

Share This Page