[aur-general] Please help create package lib32-gobject-introspection

rafael ff1 rafael.f.f1 at gmail.com
Tue Feb 8 14:57:13 EST 2011


Hi all,

I'm trying to build gobject-introspection for lib32 version for my Arch64,
but it is failing in the "configure" command saying that Python headers were
not found. This 32 bit library package seems to be dependecy (not sure,
though) for some lib32 packages (afaik "at-spi", "gconf", "polkit",
"gstreamer0.10").

Can someone please help as I really don't know how to solve this issue?

Thanks!

( Sorry for the size of the email. I thought it would be good to add some
log messages and didn't know if attachment is allowed. PLEASE remove some
lines when reply!)

*** My "configure" command in the PKGBUILD

  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static \
      PYTHON='python2' CC='gcc -m32'

*** See part of the output of it below:

(...)
checking for python2 version... 2.7
checking for python2 platform... linux2
checking for python2 script directory...
${prefix}/lib/python2.7/site-packages
checking for python2 extension module directory...
${exec_prefix}/lib/python2.7/site-packages
checking for headers required to compile python extensions... not found
configure: error: Python headers not found
    Aborting...


*** Part of the "config.log" :

(...)
configure:13341: checking for headers required to compile python extensions
configure:13356: gcc -m32 -E  -I/usr/include/python2.7 conftest.c
In file included from /usr/include/python2.7/Python.h:8:0,
                 from conftest.c:45:
/usr/include/python2.7/pyconfig.h:989:0: warning: "SIZEOF_LONG" redefined
conftest.c:31:0: note: this is the location of the previous definition
In file included from /usr/include/python2.7/Python.h:58:0,
                 from conftest.c:45:
/usr/include/python2.7/pyport.h:849:2: error: #error "LONG_BIT definition
appears wrong for platform (bad gcc/glibc config?)."
configure:13356: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gobject-introspection"
| #define PACKAGE_TARNAME "gobject-introspection"
| #define PACKAGE_VERSION "0.9.12"
| #define PACKAGE_STRING "gobject-introspection 0.9.12"
| #define PACKAGE_BUGREPORT "
http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=introspection
"
| #define PACKAGE_URL ""
| #define PACKAGE "gobject-introspection"
| #define VERSION "0.9.12"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define YYTEXT_POINTER 1
| #define HAVE_LIBDL 1
| #define SHLIB_SUFFIX "so"
| #define GOBJECT_INTROSPECTION_LIBDIR "/usr/lib32"
| #define GIR_SUFFIX "gir-1.0"
| #define GIR_DIR "/usr/share/gir-1.0"
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define STDC_HEADERS 1
| #define HAVE_FCNTL_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMCHR 1
| #define HAVE_STRCHR 1
| #define HAVE_STRSPN 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_STRTOULL 1
| #define HAVE_BACKTRACE 1
| #define HAVE_BACKTRACE_SYMBOLS 1
| /* end confdefs.h.  */
| #include <Python.h>
configure:13361: result: not found
configure:13363: error: Python headers not found
(...)


More information about the aur-general mailing list