[Thunar-dev] libexo fails to build

Jens Hagerman godhet at gmail.com
Tue Apr 11 11:48:50 CEST 2006


Hi, I am another Jens having problems building latest libexo ;)
I'm running Arch Linux. Here's the output:

Making all in python
make[2]: Entering directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
(cd .                                                   \
         && /usr/bin/pygtk-codegen-2.0
\
            --register /usr/share/pygtk/2.0/defs/pango-types.defs
\
            --register /usr/share/pygtk/2.0/defs/atk-types.defs
\
            --register /usr/share/pygtk/2.0/defs/gdk-types.defs
\
            --register /usr/share/pygtk/2.0/defs/gtk-types.defs
\
            --override exo.override                                     \
            --prefix exo exo.defs) > xgen-exo.c                         \
        && cp xgen-exo.c exo.c                                          \
        && rm -f xgen-exo.c
Warning: generating old-style constructor for exo_ellipsized_label_new
Could not write method ExoEllipsizedLabel.get_ellipsize: No ArgType for
'ExoPangoEllipsizeMode'
Could not write method ExoEllipsizedLabel.set_ellipsize: No ArgType for
'ExoPangoEllipsizeMode'
Could not write method ExoIconView.widget_to_icon_coords: No ArgType for
'gint*'
Could not write method ExoIconView.icon_to_widget_coords: No ArgType for
'gint*'
Could not write method ExoIconView.get_item_at_pos: No ArgType for
'GtkTreePath**'
Could not write method ExoIconView.get_visible_range: No ArgType for
'GtkTreePath**'
Could not write method ExoIconView.get_cursor: No ArgType for
'GtkTreePath**'
Could not write method ExoIconView.enable_model_drag_source: No ArgType for
'const-GtkTargetEntry*'
Could not write method ExoIconView.enable_model_drag_dest: No ArgType for
'const-GtkTargetEntry*'
Could not write method ExoIconView.get_drag_dest_item: No ArgType for
'GtkTreePath**'
Could not write method ExoIconView.get_dest_item_at_pos: No ArgType for
'GtkTreePath**'
Could not write method ExoIconView.get_search_equal_func: No ArgType for
'ExoIconViewSearchEqualFunc'
Could not write method ExoIconView.set_search_equal_func: No ArgType for
'ExoIconViewSearchEqualFunc'
Could not write method ExoIconView.get_search_position_func: No ArgType for
'ExoIconViewSearchPositionFunc'
Could not write method ExoIconView.set_search_position_func: No ArgType for
'ExoIconViewSearchPositionFunc'
Warning: generating old-style constructor for exo_wrap_table_new
Could not write function exo_gdk_pixbuf_colorize: No ArgType for
'const-GdkPixbuf*'
Could not write function exo_gdk_pixbuf_lucent: No ArgType for
'const-GdkPixbuf*'
Could not write function exo_gdk_pixbuf_spotlight: No ArgType for
'const-GdkPixbuf*'
Warning: Constructor for ExoEllipsizedLabel needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for ExoIconBar needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for ExoIconView needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for ExoToolbarsEditor needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for ExoToolbarsEditorDialog needs to be updated to new
API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for ExoToolbarsView needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for ExoWrapTable needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 78.57% (11/14)
***INFO*** The coverage of methods is 87.60% (106/121)
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
make  all-recursive
make[3]: Entering directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
Making all in examples
make[4]: Entering directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python/examples'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python/examples'
make[4]: Entering directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I..   -DHAVE_GNUC_VISIBILITY -DEXO_API_SUBJECT_TO_CHANGE -I..
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0-I/usr/include/cairo -I/usr/include/pango-
1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/opt/xfce4/include/xfce4 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-fno-strict-aliasing -I/usr/include/python2.4 -march=athlon-xp -O2 -pipe -O0
-g3 -Werror -Wall -MT _exo_la-exomodule.lo -MD -MP -MF ".deps/_exo_la-
exomodule.Tpo" -c -o _exo_la-exomodule.lo `test -f 'exomodule.c' || echo
'./'`exomodule.c; \
        then mv -f ".deps/_exo_la-exomodule.Tpo" ".deps/_exo_la-
exomodule.Plo"; else rm -f ".deps/_exo_la-exomodule.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_GNUC_VISIBILITY
-DEXO_API_SUBJECT_TO_CHANGE -I.. -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0-I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include -I/opt/xfce4/include/xfce4
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pygtk-2.0-I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing
-I/usr/include/python2.4 -march=athlon-xp -O2 -pipe -O0 -g3 -Werror -Wall
-MT _exo_la-exomodule.lo -MD -MP -MF .deps/_exo_la-exomodule.Tpo -c
exomodule.c  -fPIC -DPIC -o .libs/_exo_la-exomodule.o
In file included from /usr/include/python2.4/Python.h:8,
                 from /usr/include/pygtk-2.0/pygobject.h:5,
                 from pyexo.h:28,
                 from exomodule.c:27:
/usr/include/python2.4/pyconfig.h:835:1: error: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/limits.h:26,
                 from
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
                 from
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
                 from
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/gstrfuncs.h:31,
                 from /usr/include/glib-2.0/glib/gi18n-lib.h:22,
                 from ../exo/exo.h:32,
                 from pyexo.h:26,
                 from exomodule.c:27:
/usr/include/features.h:190:1: error: this is the location of the previous
definition
make[4]: *** [_exo_la-exomodule.lo] Error 1
make[4]: Leaving directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/abs/local/xfce4-svn/exo-svn/src/libexo/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/xfce4-svn/exo-svn/src/libexo'
make: *** [all] Error 2

Regards,
Jens Hagerman

On 4/11/06, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
>
> Jens Luedicke wrote:
> > Hey Benny!
>
> Hi Jens,
>
> >  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DHAVE_GNUC_VISIBILITY
> > -DEXO_API_SUBJECT_TO_CHANGE -I.. -I/usr/include/gtk-2.0
> > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> > -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -I/opt/xfce4-svn//include/xfce4
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> > -I/usr/lib/glib-2.0/include -fno-strict-aliasing
> > -I/usr/include/python2.4 -g -O2 -O0 -g3 -Werror -Wall -MT
> > _exo_la-exomodule.lo -MD -MP -MF .deps/_exo_la-exomodule.Tpo -c
> > exomodule.c  -fPIC -DPIC -o .libs/_exo_la-exomodule.o
> > In file included from /usr/include/python2.4/Python.h:8,
> >                  from /usr/include/pygtk-2.0/pygobject.h:5,
> >                  from pyexo.h:28,
> >                  from exomodule.c:27:
> > /usr/include/python2.4/pyconfig.h:835:1: "_POSIX_C_SOURCE" redefined
> > In file included from /usr/include/limits.h:26,
> >                  from
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h:122,
> >                  from
> > /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/syslimits.h:7,
> >                  from
> /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/limits.h:11,
> >                  from /usr/lib/glib-2.0/include/glibconfig.h:11,
> >                  from /usr/include/glib-2.0/glib/gtypes.h:30,
> >                  from /usr/include/glib-2.0/glib/gstrfuncs.h:31,
> >                  from /usr/include/glib-2.0/glib/gi18n-lib.h:22,
> >                  from ../exo/exo.h:32,
> >                  from pyexo.h:26,
> >                  from exomodule.c:27:
> > /usr/include/features.h:190:1: this is the location of the previous
> definition
>
> Lunars python config seems to conflict with a system header (both
> defining _POSIX_C_SOURCE). pyconfig.h is just the config file generated
> by Pythons configure, which explains why _POSIX_C_SOURCE is defined here
> (of course it's pretty lame to install this config file, but that's how
> it is).
>
> Does it work if you include pygobject.h and pygtk/pygtk.h before
> exo/exo.h in pyexo.h?
>
> > Jens Luedicke
>
> Benedikt
> _______________________________________________
> Thunar-dev mailing list
> Thunar-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060411/9982a6b7/attachment.html>


More information about the Thunar-dev mailing list