[Slackbuilds-users] Building wxPyhon-3.0.0.0

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


   Has anyone successfully built wxPython-3.0.0.0 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 3.0.0.0 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
-DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG
-D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -Iinclude -Isrc
-I/usr/lib/wx/include/gtk2-unicode-3.0
-I/tmp/SBo/wxPython-src-3.0.0.0/include -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/tmp/SBo/wxPython-src-3.0.0.0/lib/wx/include/gtk2-unicode-release-2.8
-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-3.0.0.0/include/wx/defs.h:27:0,
                   from /tmp/SBo/wxPython-src-3.0.0.0/include/wx/wx.h:14,
                   from include/wx/wxPython/wxPython_int.h:35,
                   from src/helpers.cpp:17:
/tmp/SBo/wxPython-src-3.0.0.0/include/wx/platform.h:189:22: 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-3.0.0.0.

Rich


More information about the SlackBuilds-users mailing list