[Slackbuilds-users] Building wxPyhon-

Rich Shepard rshepard at appl-ecosys.com
Sat May 10 16:11:11 UTC 2014

   Has anyone successfully built wxPython- using the current script?

   I get errors when I try and haven't figured out how to modify the script
to work with this new version. It fails here:

make: *** contrib/src/gizmos: No such file or directory.  Stop.

    In the source tree there is no contrib/ subdirectory. I've
modified the SlackBuild script to comment out references to those files:

#Additional stuff from contrib
#make -C contrib/src/gizmos
#make -C contrib/src/ogl
#make -C contrib/src/stc

make install DESTDIR=$PKG
#make -C contrib/src/gizmos install DESTDIR=$PKG
#make -C contrib/src/ogl install DESTDIR=$PKG
#make -C contrib/src/stc install DESTDIR=$PKG

gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -DSWIG_TYPE_TABLE=_wxPython_table
-I/tmp/SBo/wxPython-src- -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/libpng14
-I/usr/include/libdrm -I/usr/include/harfbuzz
-I/usr/include/python2.7 -c src/helpers.cpp -o
- build/temp.linux-i686-2.7/src/helpers.o -pthread -O3 -pthread
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++ [enabled by default]
In file included from /tmp/SBo/wxPython-src-,
                   from /tmp/SBo/wxPython-src-,
                   from include/wx/wxPython/wxPython_int.h:35,
                   from src/helpers.cpp:17:
/tmp/SBo/wxPython-src- fatal error:
wx/setup.h: No such file or directory
   #include "wx/setup.h"
compilation terminated.
error: command 'gcc' failed with exit status 1

    Please advise me how to adjust the script so I can successfully build and
install wxPython-


More information about the SlackBuilds-users mailing list