how to compile pygtk in python2.7?

contro opinion contropinion at gmail.com
Sun Jul 8 12:54:32 CEST 2012


    2.make
    the output is :
    Could not write method GdkFont.text_width_wc: No ArgType for
const-GdkWChar*
    Could not write method GdkFont.char_width_wc: No ArgType for GdkWChar
    Could not write method GdkFont.text_extents_wc: No ArgType for
const-GdkWChar*
    Could not write method GdkFont.string_extents: No ArgType for gint*
    Could not write method GdkFont.get_xfont: No ArgType for gpointer
    Could not write method GdkFont.x11_font_get_xdisplay: No ArgType for
Display*
    Could not write method GdkCursor.get_xdisplay: No ArgType for Display*
    Could not write method GdkCursor.get_xcursor: No ArgType for Cursor
    Could not write method GdkRegion.spans_intersect_foreach: No ArgType
for GdkSpan*
    Could not write method GdkRegion.rect_equal: No ArgType for
const-GdkRectangle*
    Warning: generating old-style constructor for:gdk_colormap_new
    Could not write method GdkColormap.alloc_colors: No ArgType for
gboolean*
    Could not write method GdkColormap.get_xdisplay: No ArgType for Display*
    Could not write method GdkColormap.get_xcolormap: No ArgType for
Colormap
    Warning: generating old-style constructor for:gdk_display_open
    Could not write method GdkDisplay.add_client_message_filter: No ArgType
for GdkFilterFunc
    Could not write method GdkDisplay.set_pointer_hooks: No ArgType for
const-GdkDisplayPointerHooks*
    Could not write method GdkDisplay.get_xdisplay: No ArgType for Display*
    Could not write method GdkDisplay.set_cursor_theme: No ArgType for
const-gint
    Could not write method GdkDrawable.set_data: No ArgType for gpointer
    Could not write method GdkDrawable.get_data: No ArgType for gpointer
    Could not write method GdkDrawable.draw_text_wc: No ArgType for
const-GdkWChar*
    Could not write method GdkDrawable.get_xdisplay: No ArgType for Display*
    Could not write method GdkDrawable.get_xid: No ArgType for XID
    Could not write virtual accessor method GdkDrawable.create_gc: No
ArgType for GdkGCValues*
    Could not write virtual accessor method GdkDrawable.draw_polygon: No
ArgType for GdkPoint*
    Could not write virtual accessor method GdkDrawable.draw_text_wc: No
ArgType for const-GdkWChar*
    Could not write virtual accessor method GdkDrawable.draw_points: No
ArgType for GdkPoint*
    Could not write virtual accessor method GdkDrawable.draw_segments: No
ArgType for GdkSegment*
    Could not write virtual accessor method GdkDrawable.draw_lines: No
ArgType for GdkPoint*
    Could not write virtual accessor method GdkDrawable.get_size: No
ArgType for gint*
    Could not write virtual accessor method
GdkDrawable.get_composite_drawable: No ArgType for gint*
    Could not write virtual accessor method GdkDrawable.draw_trapezoids: No
ArgType for GdkTrapezoid*
    Could not write virtual accessor method GdkDrawable.ref_cairo_surface:
No ArgType for cairo_surface_t*
    Could not write virtual proxy GdkDrawable.create_gc: No ArgType for
GdkGCValues*
    Could not write virtual proxy GdkDrawable.draw_polygon: No ArgType for
GdkPoint*
    Could not write virtual proxy GdkDrawable.draw_text_wc: No ArgType for
const-GdkWChar*
    Could not write virtual proxy GdkDrawable.draw_points: No ArgType for
GdkPoint*
    Could not write virtual proxy GdkDrawable.draw_segments: No ArgType for
GdkSegment*
    Could not write virtual proxy GdkDrawable.draw_lines: No ArgType for
GdkPoint*
    Could not write virtual proxy GdkDrawable.get_size: cannot use int*
parameter with direction 'None'
    Could not write virtual proxy GdkDrawable.get_composite_drawable:
cannot use int* parameter with direction 'None'
    Could not write virtual proxy GdkDrawable.draw_trapezoids: No ArgType
for GdkTrapezoid*
    Could not write virtual proxy GdkDrawable.ref_cairo_surface: No ArgType
for cairo_surface_t*
    Could not write method GdkWindow.selection_property_get: No ArgType for
guchar**
    Could not write method GdkWindow.remove_filter: No ArgType for
GdkFilterFunc
    Could not write method GdkWindow.invalidate_maybe_recurse: No ArgType
for gboolean (*child_func)(GdkWindow *, gpointer)
    Could not write method GdkWindow.get_internal_paint_info: No ArgType
for GdkDrawable**
    Could not write method GdkWindow.get_root_coords: No ArgType for gint*
    Warning: generating old-style constructor for:gdk_pango_renderer_new
    Warning: generating old-style constructor for:gdk_pixmap_new
    Could not write method GdkGC.get_values: No ArgType for GdkGCValues*
    Could not write method GdkGC.get_xdisplay: No ArgType for Display*
    Could not write method GdkGC.get_xgc: No ArgType for GC
    Could not write virtual accessor method GdkGC.get_values: No ArgType
for GdkGCValues*
    Could not write virtual accessor method GdkGC.set_values: No ArgType
for GdkGCValues*
    Could not write virtual accessor method GdkGC.set_dashes: No ArgType
for gint8[]
    Could not write virtual proxy GdkGC.get_values: No ArgType for
GdkGCValues*
    Could not write virtual proxy GdkGC.set_values: No ArgType for
GdkGCValues*
    Could not write virtual proxy GdkGC.set_dashes: No ArgType for gint8[]
    Warning: generating old-style constructor for:gdk_image_new
    Could not write method GdkImage.get_xdisplay: No ArgType for Display*
    Could not write method GdkImage.get_ximage: No ArgType for XImage*
    Could not write method GdkKeymap.add_virtual_modifiers: No ArgType for
GdkModifierType*
    Could not write method GdkKeymap.map_virtual_modifiers: No ArgType for
GdkModifierType*
    Warning: generating old-style constructor for:gdk_pixbuf_new
    Could not write method GdkPixbuf.render_pixmap_and_mask_for_colormap:
No ArgType for GdkPixmap**
    Could not write method GdkPixbuf.savev: No ArgType for char**
    Could not write method GdkPixbuf.save_to_callbackv: No ArgType for
GdkPixbufSaveFunc
    Could not write method GdkPixbuf.save_to_buffer: varargs functions not
supported
    Could not write method GdkPixbuf.save_to_bufferv: No ArgType for gchar**
    Warning: generating old-style constructor
for:gdk_pixbuf_animation_new_from_file
    Warning: generating old-style constructor for:gdk_pixbuf_simple_anim_new
    Could not write method GdkScreen.get_xscreen: No ArgType for Screen*
    Could not write method GdkScreen.lookup_visual: No ArgType for VisualID
    Could not write method GdkScreen.get_window_stack: No ArgType for GList*
    Warning: generating old-style constructor
for:gdk_visual_get_best_with_both
    Could not write method GdkVisual.get_xvisual: No ArgType for Visual*
    Could not write function parse_args: No ArgType for gint*
    Could not write function init: No ArgType for gint*
    Could not write function init_check: No ArgType for gint*
    Could not write function input_add_full: No ArgType for GdkInputFunction
    Could not write function input_add: No ArgType for GdkInputFunction
    Could not write function wcstombs: No ArgType for const-GdkWChar*
    Could not write function mbstowcs: No ArgType for GdkWChar*
    Could not write function threads_set_lock_functions: No ArgType for
GCallback
    Could not write function colors_alloc: No ArgType for gulong*
    Could not write function colors_free: No ArgType for gulong*
    Could not write function drag_get_protocol: No ArgType for
GdkDragProtocol*
    Could not write function drag_get_protocol_for_display: No ArgType for
GdkDragProtocol*
    Could not write function draw_trapezoids: No ArgType for GdkTrapezoid*
    Could not write function add_client_message_filter: No ArgType for
GdkFilterFunc
    Could not write function setting_get: No ArgType for GValue*
    Could not write function image_new_bitmap: No ArgType for gpointer
    Could not write function pango_layout_line_get_clip_region: No ArgType
for gint*
    Could not write function pango_layout_get_clip_region: No ArgType for
gint*
    Could not write function text_property_to_text_list: No ArgType for
gchar***
    Could not write function text_property_to_utf8_list: No ArgType for
gchar***
    Could not write function utf8_to_compound_text: No ArgType for GdkAtom*
    Could not write function string_to_compound_text: No ArgType for
GdkAtom*
    Could not write function text_property_to_text_list_for_display: No
ArgType for gchar***
    Could not write function text_property_to_utf8_list_for_display: No
ArgType for gchar***
    Could not write function string_to_compound_text_for_display: No
ArgType for GdkAtom*
    Could not write function utf8_to_compound_text_for_display: No ArgType
for GdkAtom*
    Could not write function free_text_list: No ArgType for gchar**
    Could not write function rgb_cmap_new: No ArgType for guint32*
    Could not write function window_constrain_size: No ArgType for
GdkGeometry*
    Could not write function set_pointer_hooks: No ArgType for
const-GdkPointerHooks*
    Could not write function pixbuf_error_quark: No ArgType for GQuark
    Could not write function region_polygon: No ArgType for GdkPoint*
    Could not write function x11_get_default_root_xwindow: No ArgType for
Window
    Could not write function x11_get_default_xdisplay: No ArgType for
Display*
    Could not write function gdkx_visual_get: No ArgType for VisualID
    Could not write function gdkx_colormap_get: No ArgType for Colormap
    Could not write function xid_table_lookup_for_display: No ArgType for
XID
    Could not write function xid_table_lookup: No ArgType for XID
    Could not write function x11_lookup_xdisplay: No ArgType for Display*
    Could not write function x11_atom_to_xatom_for_display: No ArgType for
Atom
    Could not write function x11_xatom_to_atom_for_display: No ArgType for
Atom
    Could not write function x11_get_xatom_by_name_for_display: No ArgType
for Atom
    Could not write function x11_get_xatom_name_for_display: No ArgType for
Atom
    Could not write function x11_atom_to_xatom: No ArgType for Atom
    Could not write function x11_xatom_to_atom: No ArgType for Atom
    Could not write function x11_get_xatom_by_name: No ArgType for Atom
    Could not write function x11_get_xatom_name: No ArgType for Atom
    Could not write function x11_display_broadcast_startup_message: varargs
functions not supported
    Could not write function threads_add_idle_full: No ArgType for
GSourceFunc
    Could not write function threads_add_idle: No ArgType for GSourceFunc
    Could not write function threads_add_timeout_full: No ArgType for
GSourceFunc
    Could not write function threads_add_timeout: No ArgType for GSourceFunc
    Could not write function x11_screen_get_monitor_output: No ArgType for
XID
    Warning: Constructor for GdkColormap needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkDisplay needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkWindow needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkPangoRenderer needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkPixmap needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkGC needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkImage needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkPixbuf needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkPixbufAnimation needs to be updated to new
API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkPixbufLoader needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkPixbufSimpleAnim needs to be updated to new
API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkScreen needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    Warning: Constructor for GdkVisual needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    ***INFO*** The coverage of global functions is 73.76% (149/202)
    ***INFO*** The coverage of methods is 90.27% (399/442)
    ***INFO*** The coverage of virtual proxies is 69.77% (30/43)
    ***INFO*** The coverage of virtual accessors is 69.77% (30/43)
    ***INFO*** There are no declared interface proxies.
    In file included from
/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1718,
                     from
/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                     from
/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15,
                     from ./gdk.override:49:

/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2:
warning: #warning "Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
    Warning: Constructor for GladeXML needs to be updated to new API
             See
http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
    ***INFO*** The coverage of global functions is 100.00% (7/7)
    ***INFO*** The coverage of methods is 100.00% (5/5)
    ***INFO*** There are no declared virtual proxies.
    ***INFO*** There are no declared virtual accessors.
    ***INFO*** There are no declared interface proxies.
    echo  $?                    #  the  output is 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120708/e5d305be/attachment.html>


More information about the Python-list mailing list