Build error on Xubuntu

Hi,
I decided to attempt building wxPython 3.0 on Xubuntu 14 64-bit, but I am receiving a BuildError. Here’s a snippet from the end of the error:
/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/bld/bk-deps g++ -c -o coredll_gtk_combobox.o -I./.pch/wxprec_coredll -D__WXGTK__ -DWXBUILDING -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/bld/src/tiff/libtiff -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/src/tiff/libtiff -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/src/regex -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -D_FILE_OFFSET_BITS=64 -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/bld/lib/wx/include/gtk3-unicode-3.0 -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -DWX_PRECOMP -pthread -O2 -fno-strict-aliasing -pthread -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -fvisibility=hidden -fvisibility-inlines-hidden /home/mdriscoll/Downloads/wxPython-src-3.0.0.0/src/gtk/combobox.cpp
make: *** [coredll_gtk_toplevel.o] Error 1
make: *** Waiting for unfinished jobs…
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File “build-wxpython.py”, line 378, in
wxbuild.main(wxscript, build_options)
File “/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 478, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), “Error building”)
File “/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError
raise builder.BuildError(msg)
BuildError
I’m not sure what happened, but it appears it doesn’t like something with coredll_gtk_toplevel.o. Does anyone know how to get past this issue?

Thanks,
Miike

Hi Mike:

The error message surely should be before that, if you cannot locate it you can try build using only one job (see defJobs variable and jobs option in build-wxpython.py)

BTW, wxWidgets 3.0 is included in the official ubuntu repository for 14.04, you could install the package libwxgtk3.0-dev and then just compile wxPython (“python setup.py build” inside wxPython folder)

For more info and a check install method to build the package, see:

https://groups.google.com/d/msg/gui2py/EZq4_zFV_t8/BObm5nsqBZ0J

If you can, let me know it that works for you so I can make some documentation about it.

Regards

···

Mariano Reingart
http://www.sistemasagiles.com.ar

http://reingart.blogspot.com

On Wed, Jun 11, 2014 at 11:40 AM, Mike Driscoll kyosohma@gmail.com wrote:

Hi,
I decided to attempt building wxPython 3.0 on Xubuntu 14 64-bit, but I am receiving a BuildError. Here’s a snippet from the end of the error:
/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/bld/bk-deps g++ -c -o coredll_gtk_combobox.o -I./.pch/wxprec_coredll -D__WXGTK__ -DWXBUILDING -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/bld/src/tiff/libtiff -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/src/tiff/libtiff -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/src/regex -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -D_FILE_OFFSET_BITS=64 -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/bld/lib/wx/include/gtk3-unicode-3.0 -I/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -DWX_PRECOMP -pthread -O2 -fno-strict-aliasing -pthread -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -fvisibility=hidden -fvisibility-inlines-hidden /home/mdriscoll/Downloads/wxPython-src-3.0.0.0/src/gtk/combobox.cpp
make: *** [coredll_gtk_toplevel.o] Error 1
make: *** Waiting for unfinished jobs…
Error building
ERROR: failed building wxWidgets
Traceback (most recent call last):
File “build-wxpython.py”, line 378, in
wxbuild.main(wxscript, build_options)
File “/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 478, in main
exitIfError(wxBuilder.build(dir=buildDir, options=args), “Error building”)
File “/home/mdriscoll/Downloads/wxPython-src-3.0.0.0/build/tools/build-wxwidgets.py”, line 80, in exitIfError
raise builder.BuildError(msg)
BuildError
I’m not sure what happened, but it appears it doesn’t like something with coredll_gtk_toplevel.o. Does anyone know how to get past this issue?

Thanks,
Miike

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.