[Slackbuilds-users] Building wxPyhon-

Heinz Wiesinger pprkut at liwjatan.at
Sat May 10 16:26:11 UTC 2014

On Saturday 10 May 2014 09:11:11 Rich Shepard wrote:
>    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/usr/lib/wx/include/gtk2-unicode-3.0
> -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/tmp/SBo/wxPython-src-
> -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-


Beware that lots of stuff doesn't work with wxPython 3 yet.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20140510/2394b7f1/attachment.asc>

More information about the SlackBuilds-users mailing list