glib-2.28.1 on CentOS 5.5?

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

  1. fgghjjkll
    OP

    fgghjjkll GBATemp MegaMan

    Member
    GBAtemp Patron
    fgghjjkll is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,041
    42
    Jul 7, 2008
    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

    Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Member
    3,150
    758
    Jan 31, 2008
    Hinamizawa
    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

    fgghjjkll GBATemp MegaMan

    Member
    GBAtemp Patron
    fgghjjkll is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,041
    42
    Jul 7, 2008
    Uhmm..
    The glib-devel package in the CentOS repos are out of date.
    There's nothing in RPMForge or RPMFusion either.
     
  4. Frederica Bernkastel

    Frederica Bernkastel WebPerf and PWA advocate; @antoligy on Twitter

    Member
    3,150
    758
    Jan 31, 2008
    Hinamizawa
    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

    oblique Newbie

    Newcomer
    1
    0
    May 10, 2011
    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

    fgghjjkll GBATemp MegaMan

    Member
    GBAtemp Patron
    fgghjjkll is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,041
    42
    Jul 7, 2008
    Don't worry about this anymore. CentOS 5.6 is released with a newer glib.