#103 ✓resolved
Havard Sorli

libplist, ver: 1.1: Build error, CentOS release 5.4 (Final)

Reported by Havard Sorli | December 26th, 2009 @ 12:39 PM

Lots of build errors.
Fails with:

/root/install/ipod/libplist-1.1/src/plist.c:789: error: expected ‘{’ at end of input make[2]: [src/CMakeFiles/plist.dir/plist.c.o] Error 1
make[1]:
[src/CMakeFiles/plist.dir/all] Error 2
make: *** [all] Error 2

Enclosed complet build output.

uname -a

Linux xxx.xxx.no 2.6.18-164.9.1.el5 #1 SMP Tue Dec 15 20:57:57 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

cat /proc/cpuinfo

vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
stepping : 2
cpu MHz : 1000.000

Comments and changes to this ticket

  • Havard Sorli

    Havard Sorli December 26th, 2009 @ 12:45 PM

    • Tag changed from 1.1 to 1
    • Assigned user set to “Jonathan Beck”
  • Havard Sorli

    Havard Sorli December 26th, 2009 @ 12:46 PM

    • Tag changed from 1 to 1.1
  • Martin S.

    Martin S. January 8th, 2010 @ 09:09 PM

    • State changed from “new” to “open”
    • Tag changed from 1.1 to glib, libplist

    This rather looks like some configuration issue with your system as you have a huge list of glib issues:

    /usr/include/glib-2.0/glib/gtypes.h:30:24: error: glibconfig.h: Ingen slik fil eller filkatalog
    

    What does this mean (det er Norsk/Svensk?)
    What are the versions of glib and gcc you have installed?

  • Havard Sorli

    Havard Sorli January 10th, 2010 @ 08:30 AM

    • Tag changed from glib, libplist to centos 5.4, glib, libplist

    Probably some difference in build enviroment. It would be nice to sort it out. (Easyer build --> more users --> more eyes -->> better code ..) :-)

    glibconfig.h: Ingen slik fil eller filkatalog is Norwegian and translates to: "No such file or
    directory"

    glibconfig.h: is not found, fore some reason.

    /usr/include/glib-2.0/glib/gtypes.h exists.

    $ rpm -qf /usr/include/glib-2.0/glib/gtypes.h glib2-devel-2.12.3-4.el5_3.1

    Line 30 in /usr/include/glib-2.0/glib/gtypes.h have a reference to "include <glibconfig.h>"

    The only file i can find is:
    /usr/lib64/glib-2.0/include/glibconfig.h

    belongs to:
    $ rpm -qf /usr/lib64/glib-2.0/include/glibconfig.h glib2-devel-2.12.3-4.el5_3.1

    $ rpm -ql glib2-devel-2.12.3-4.el5_3.1 |grep glibconfig.h /usr/lib64/glib-2.0/include/glibconfig.h

    Installed software
    $ rpm -q gcc gcc-4.1.2-46.el5_4.1

    $ gcc --version gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)

    $ rpm -qa |grep glibc compat-glibc-2.3.2-95.30
    glibc-headers-2.3.4-2.36
    glibc-2.3.4-2.36
    glibc-utils-2.3.4-2.36
    compat-glibc-headers-2.3.2-95.30
    glibc-devel-2.3.4-2.36
    glibc-common-2.3.4-2.36
    glibc-profile-2.3.4-2.36
    glibc-kernheaders-2.4-9.1.100.EL

    $ ls -la /lib/libc* |grep libc- -rwxr-xr-x 1 root root 1611564 des 8 03:17 /lib/libc-2.5.so lrwxrwxrwx 1 root root 11 des 27 13:45 /lib/libc.so.6 -> libc-2.5.so

    $ rpm -qf /lib/libc-2.5.so glibc-2.5-42.el5_4.2

    $ rpm -qf /lib/libc.so.6 glibc-2.5-42.el5_4.2

    $ ls -lah /lib64/libc* |grep libc- -rwxr-xr-x 1 root root 1,7M des 3 13:03 /lib64/libc-2.5.so lrwxrwxrwx 1 root root 11 des 27 13:43 /lib64/libc.so.6 -> libc-2.5.so

    $ rpm -qf /lib64/libc-2.5.so glibc-2.5-42.el5_4.2

    $ rpm -qf /lib64/libc.so.6 glibc-2.5-42.el5_4.2

    Is there a way to "connect" the compile to the lib64 version og libc ?

  • Jonathan Beck

    Jonathan Beck January 14th, 2010 @ 05:50 PM

    This migth be due to the FindGLIB2 cmake module that messes up the pathes.

    Can you try with the following version : http://www.opensync.org/export/3842/branches/3rd-party-cmake-module...

    simply replace the file in cmake/modules.

    I known on windows I have to manually set GLIB2_MAIN_INCLUDE_DIR to make it compile.

  • Jonathan Beck

    Jonathan Beck March 3rd, 2010 @ 05:38 PM

    • State changed from “open” to “resolved”

    I am closing this ticket since there was no update. Feel free to reopen if issue still occurs.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Attachments

Pages