Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2006 13:35:23 +0000
From:      Roman Neuhauser <neuhauser@sigpipe.cz>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   x11-toolkits/py-wxPython26-unicode build failure with python2.5
Message-ID:  <20061208133523.GH3213@dagan.sigpipe.cz>

next in thread | raw e-mail | index | archive | help
wxPython-2.6.3.3 fails to build on my FreeBSD-6.1 with Python-2.5, with

cc -DNDEBUG -O -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -O -pipe -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -DXTHREADS -DXUSE_MTSAFE_API -Iinclude -Isrc -I/usr/X11R6/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/X11R6/include/wx-2.6 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/python2.5 -c src/gtk/_core_wrap.cpp -o build-gtk2.unicode/temp.freebsd-6.1-PRERELEASE-amd64-2.5/src/gtk/_core_wrap.o -O3
src/gtk/_core_wrap.cpp: In function `void wxSizerItem_SetUserData(wxSizerItem*, PyObject*)':
src/gtk/_core_wrap.cpp:3193: error: 'class wxSizerItem' has no member named 'SetUserData'

The wxSizerItem declaration in include/wx/sizer.h includes:

#if wxABI_VERSION > 20602
    void SetUserData(wxObject* userData)
        { delete m_userData; m_userData = userData; }
#endif

but the code seems to indicate that wxABI_VERSION should be 20699 automatically
when building wxPython itself.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061208133523.GH3213>