Package Details: wxpython2.8 2.8.12.1-4

Git Clone URL: https://aur.archlinux.org/wxpython2.8.git (read-only, click to copy)
Package Base: wxpython2.8
Description: A wxWidgets GUI toolkit for Python
Upstream URL: http://www.wxpython.org
Licenses: custom:wxWindows
Submitter: tdy
Maintainer: GhostApple
Last Packager: GhostApple
Votes: 21
Popularity: 0.000001
First Submitted: 2017-02-06 20:22 (UTC)
Last Updated: 2022-06-02 19:04 (UTC)

Latest Comments

1 2 Next › Last »

bkb commented on 2022-07-17 11:17 (UTC)

All these wx things are basically broken. Some needs a newer version, some needs the old one. A long chain of dependency made it impossible to even switch from old to new or new to old, without uninstalling nearly the OS

GhostApple commented on 2022-06-02 19:09 (UTC)

I just exported CFLAGS and CXXFLAGS in the prepare section. It compiles now.

halimbo commented on 2022-06-02 14:14 (UTC) (edited on 2022-06-02 14:20 (UTC) by halimbo)

Like @dreieck wrote. after i put the following in the "prepare" Section of THE PKGBUILD it compiled. export CFLAGS= -Wno-error export CXXFLAGS= -Wno-error lines 34-35 https://pastebin.com/L4JXvDFh

dreieck commented on 2022-05-26 20:57 (UTC)

The "cc1plus: some warnings being treated as errors" problem can be tackled by appending -Wno-error to $CFLAGS and/or $CXXFLAGS.

But I get the problem that wx/wx.h cannot be found:

In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:10: fatal error: wx/wx.h: No such file or directory
   19 | #include <wx/wx.h>
      |          ^~~~~~~~~
compilation terminated.

Regards!

AlexBocken commented on 2022-05-04 16:02 (UTC)

I'm getting the same error as @LeGreen on my machine. Does the make process require a certain gcc version to function properly?

On another machine I got the error that @damian101 got... No idea what's different between the machines tho

LeGreen commented on 2021-12-07 20:41 (UTC)

compile breaks for unknown reason. provided are the last few lines output from pacman

In file included from /usr/include/wx-2.8/wx/wx.h:15,
                 from include/wx/wxPython/wxPython_int.h:19,
                 from src/gtk/_core_wrap.cpp:2713:
/usr/include/wx-2.8/wx/utils.h:578:37: note: declared here
  578 |     WXDLLEXPORT wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
      |                                     ^~~~~~~~~~~~~~~~~~~~
/usr/include/wx-2.8/wx/defs.h:513:29: note: in definition of macro ‘wxDEPRECATED’
  513 |     #define wxDEPRECATED(x) x __attribute__ ((deprecated))
      |                             ^
cc1plus: some warnings being treated as errors
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().
    Aborting...

maybe someone knows more about it. I need it as a dependency to mmass.

hrsbhflt commented on 2021-11-08 17:22 (UTC)

Installing wxgtk2.8 first and then running pikaur -S wxpython2.8 results in the same error.

Also tried with yay and pamac, no dice either.

What to do?

GhostApple commented on 2020-12-29 14:51 (UTC) (edited on 2020-12-29 14:54 (UTC) by GhostApple)

Please compile & install wxgtk2.8(https://aur.archlinux.org/packages/wxgtk2.8/) first. You can also use pikaur(https://aur.archlinux.org/packages/pikaur/) to resolve dependencies.

pikaur -S wxpython2.8

I just test and it works fine.

damian101 commented on 2020-12-29 13:37 (UTC) (edited on 2020-12-29 13:55 (UTC) by damian101)

In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:10: fatal error: wx/wx.h: No such file or directory
   19 | #include <wx/wx.h>
      |          ^~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: wxpython2.8

GhostApple commented on 2020-07-19 12:56 (UTC)

Did you install wxgtk2.8(https://aur.archlinux.org/packages/wxgtk2.8/) as a dependency?