fedora 17 and wxPython 2.9.4.0 fatal error: wx/gtk/private/win_gtk.h

There’s a patch for this, see : https://groups.google.com/d/msg/wxpython-users/e27JioMs1fs/RHWnKn3Bk5IJ

···

On 30 August 2012 04:31, wxpyjoshtron j.m.dagenhart@gmail.com wrote:

First off, thanks to anyone who takes the time to possibly help, i imagine this has a simple answer. I have only 1 question.

after installing any package name with gstreamer in it using yum,
(which i’d like a concise list of the gstreamers dependant, but that’s not the issue),

i stop with error with helpers.cpp, wx/gtk/private/win_gtk.h is not a file or directory. how do i fix this?

I found a post here that mentions that exact path, but the errors in the output differ greatly.
The solution was to copy the files to complete the build.

Where do i get this file and what parent directory does wx/gtk/private/win_gtk.h come from
if that is to be the solution?

Here is my output:


The installation of wxWidgets is finished. On certain
platforms (e.g. Linux) you’ll now have to run ldconfig
if you installed a shared library and also modify the
LD_LIBRARY_PATH (or equivalent) environment variable.

wxWidgets comes with no guarantees and doesn’t claim
to be suitable for any purpose.

Read the wxWindows Licence on licencing conditions.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DESTDIR:
PREFIX: /usr/local
wxlocation: /usr/local
wxcfg: /usr/local/bin/wx-config
wxcfgsrc: /usr/local/lib/wx/config/gtk2-unicode-2.9
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

**** /usr/bin/python -u ./setup.py build UNICODE=1 BUILD_BASE=build WX_CONFIG=“/usr/local/bin/wx-config --prefix=/usr/local”
WARNING: WXWIN not set in environment. Assuming ‘…’
Preparing CORE…

Preparing STC…
Preparing GLCANVAS…
Preparing GIZMOS…
running build
running build_py
running build
running build_py
copying wx/version.py → build/lib.linux-i686-2.7/wx
copying wx/build/build_options.py → build/lib.linux-i686-2.7/wx/build

package init file ‘wx/lib/pubsub/pubsub2/init.py’ not found (or not a regular file)
package init file ‘wx/tools/XRCed/plugins/init.py’ not found (or not a regular file)
package init file ‘wx/lib/pubsub/pubsub2/init.py’ not found (or not a regular file)

package init file ‘wx/tools/XRCed/plugins/init.py’ not found (or not a regular file)
running build_ext
building ‘core’ extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DSWIG_TYPE_TABLE=wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK_ -Iinclude -Isrc -I/usr/local/lib/wx/include/gtk2-unicode-2.9 -I/usr/local/include/wx-2.9 -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/python2.7 -c src/helpers.cpp -o build/temp.linux-i686-2.7/src/helpers.o -pthread -O3 -pthread

src/helpers.cpp:32:36: fatal error: wx/gtk/private/win_gtk.h: No such file or directory
compilation terminated.
error: command ‘gcc’ failed with exit status 1
ERROR: failed building wxPython.
[10:48:54root@itishost:/home/jmd/Downloads/wxPython-src-2.9.4.0/wxPython]$

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en