issue installing 4.04 on OpenSuse 15

Hi,

    Python 3.6.x, pip 19.x in a venv.

    I am trying to install wxPython 4.0.4 using "pip install

wxpython" I get the following error:

    checking for GST... configure: WARNING: GStreamer 1.0 not

available, falling back to 0.10

        checking for GST... configure: WARNING: GStreamer 0.10 not

available, falling back to 0.8

        configure: WARNING: wxMediaCtrl can't be built because

GStreamer not available

        configure: error: wxMediaCtrl was explicitly requested but

can’t be built.

            Fix the problems reported above or don't use

–enable-mediactrl configure option.

    First I have GStreamer 1.25 installed including the development

package. And second how do I turn off the “mediactrl” using
pip?

    Thanks in advance,

    Johnf

You can't turn off mediactrl using pip.

Which exact gstreamer packages do you have installed? As far as I can see there isn't a 1.25 - 1.15.1 is the latest.

Scott

···

On Thu, 24 Jan 2019, john fabiani` wrote:

Python 3.6.x, pip 19.x in a venv.

I am trying to install wxPython 4.0.4 using "pip install wxpython" I get the
following error:

checking for GST... configure: WARNING: GStreamer 1.0 not available, falling
back to 0.10
checking for GST... configure: WARNING: GStreamer 0.10 not available,
falling back to 0.8
configure: WARNING: wxMediaCtrl can't be built because GStreamer not
available
configure: error: wxMediaCtrl was explicitly requested but can't be
built.

    Fix the problems reported above or don't use \-\-enable\-mediactrl

configure option.

First I have GStreamer 1.25 installed including the development package.
And second how do I turn off the "mediactrl" using pip?

Sorry I miss- typed it’s 1.12.5.

I was able to get around the that issue by following Ed Leafe’s email on the list.

But now I have run into a new error.

In file included from …/…/…/…/ext/wxWidgets/include/wx/defs.h:27:0,

from …/…/…/…/ext/wxWidgets/include/wx/wx.h:14,

from …/…/…/…/wx/include/wxPython/wxpy_api.h:41,

from …/…/…/…/sip/cpp/sipAPI_core.h:19840,

from …/…/…/…/sip/cpp/sip_corewxMaximizeEvent.cpp:10:

…/…/…/…/ext/wxWidgets/include/wx/platform.h:183:10: fatal error: wx/setup.h: No such file or directory

#include “wx/setup.h”

^~~~~~~~~~~~

compilation terminated.

I have looked for the setup.h for the wxWidgets and did find one for GTK3 at the wxWidgets website (from source) but now I am not sure where it should be placed.

You know this reminds me of 10 years ago where it was very difficult to get wxPython installed. Does anybody have wxPython 4.0.4 working on OpenSuse 15.x???

Again thanks in advance,

Johnf

···

On Thu, Jan 24, 2019 at 7:10 PM Scott Talbert swt@techie.net wrote:

On Thu, 24 Jan 2019, john fabiani` wrote:

Python 3.6.x, pip 19.x in a venv.

I am trying to install wxPython 4.0.4 using “pip install wxpython” I get the

following error:

checking for GST… configure: WARNING: GStreamer 1.0 not available, falling

back to 0.10

checking for GST... configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

configure: WARNING: wxMediaCtrl can't be built because GStreamer not

available

configure: error: wxMediaCtrl was explicitly requested but can't be

built.

    Fix the problems reported above or don't use --enable-mediactrl

configure option.

First I have GStreamer 1.25 installed including the development package.

And second how do I turn off the “mediactrl” using pip?

You can’t turn off mediactrl using pip.

Which exact gstreamer packages do you have installed? As far as I can see

there isn’t a 1.25 - 1.15.1 is the latest.

Scott

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.

That file is auto-generated during the wxWidgets build, so it seems that something still went wrong with your wxWidgets build. Can you post the full build logs somewhere?

Scott

···

On Thu, 24 Jan 2019, John Fabiani wrote:

Sorry I miss- typed it's 1.12.5.

I was able to get around the that issue by following Ed Leafe's email on the
list.
But now I have run into a new error.

In file included from ../../../../ext/wxWidgets/include/wx/defs.h:27:0,
from ../../../../ext/wxWidgets/include/wx/wx.h:14,
from ../../../../wx/include/wxPython/wxpy_api.h:41,
from ../../../../sip/cpp/sipAPI_core.h:19840,
from
../../../../sip/cpp/sip_corewxMaximizeEvent.cpp:10:
../../../../ext/wxWidgets/include/wx/platform.h:183:10: fatal error:
wx/setup.h: No such file or directory
#include "wx/setup.h"
^~~~~~~~~~~~
compilation terminated.

I have looked for the setup.h for the wxWidgets and did find one for GTK3 at
the wxWidgets website (from source) but now I am not sure where it should be
placed.

You know this reminds me of 10 years ago where it was very difficult to get
wxPython installed. Does anybody have wxPython 4.0.4 working on OpenSuse
15.x???

Yes I can but are you
talking about the messages from the pip install or something else?

    FYI: I have created a VM (16 GB of ram, 100GB storage) using

Ubuntu 18.04 desktop and have attempted top install wxPython
4.0.4 for python3.7.

    So far it has taken way over an hour and it still hasn't

completed. Is that normal?? It does appear to be running and
has not error-ed out.

    Johnf
···

On 01/25/2019 06:18 AM, Scott Talbert
wrote:

  On

Thu, 24 Jan 2019, John Fabiani wrote:

    Sorry I miss- typed it's 1.12.5.




    I was able to get around the that issue by following Ed Leafe's

email on the

    list.


    But now I have run into a new error.




     In file included from

…/…/…/…/ext/wxWidgets/include/wx/defs.h:27:0,

                         from

…/…/…/…/ext/wxWidgets/include/wx/wx.h:14,

                         from

…/…/…/…/wx/include/wxPython/wxpy_api.h:41,

                         from

…/…/…/…/sip/cpp/sipAPI_core.h:19840,

                         from


    ../../../../sip/cpp/sip_corewxMaximizeEvent.cpp:10:


        ../../../../ext/wxWidgets/include/wx/platform.h:183:10:

fatal error:

    wx/setup.h: No such file or directory


         #include "wx/setup.h"


                  ^~~~~~~~~~~~


        compilation terminated.




    I have looked for the setup.h for the wxWidgets and did find one

for GTK3 at

    the wxWidgets website (from source) but now I am not sure where

it should be

    placed. 




    You know this reminds me of 10 years ago where it was very

difficult to get

    wxPython installed.  Does anybody have wxPython 4.0.4 working on

OpenSuse

    15.x???
  That file is auto-generated during the wxWidgets build, so it

seems that something still went wrong with your wxWidgets build.
Can you post the full build logs somewhere?

  Scott

Yes I can but are you talking about the messages from the pip install or
something else?

Yes.

FYI: I have created a VM (16 GB of ram, 100GB storage) using Ubuntu 18.04
desktop and have attempted top install wxPython 4.0.4 for python3.7.
So far it has taken way over an hour and it still hasn't completed. Is that
normal?? It does appear to be running and has not error-ed out.

How many CPU's did you give the VM? It does take a long time to build wxPython. Over an hour is not out of the question.

BTW, if you are using Ubuntu 18.04, there is a distribution package for wxPython available that you can just apt-get install: python3-wxgtk4.0. It is version 4.0.1 though.

Scott

···

On Fri, 25 Jan 2019, john fabiani` wrote:

The VM finished and I
can import wx.

    I have attached the file with then entire messages from pip

    Thanks for you help with this issue.

    Johnf

myPipLog (2.56 MB)

···

On 01/25/2019 07:11 AM, Scott Talbert
wrote:

  On

Fri, 25 Jan 2019, john fabiani` wrote:

    Yes I can but are you talking about the

messages from the pip install or

    something else?
  Yes.
    FYI: I have created a VM (16 GB of ram,

100GB storage) using Ubuntu 18.04

    desktop and have attempted top install wxPython 4.0.4 for

python3.7.

    So far it has taken way over an hour and it still hasn't

completed. Is that

    normal??  It does appear to be running and has not error-ed out.
  How many CPU's did you give the VM?  It does take a long time to

build wxPython. Over an hour is not out of the question.

  BTW, if you are using Ubuntu 18.04, there is a distribution

package for wxPython available that you can just apt-get install:
python3-wxgtk4.0. It is version 4.0.1 though.

  Scott

To debug this further you’ll probably need to grab the source tarball and do the build steps in a workspace where that tarball was unpacked. You can get the file from PyPI.

The first step after unpacking the source is to do just the wxWidgets part of the build, with:

python build.py build_wx

The generated wx/setup.h should then be found under ./build/wxbld, probably under ./build/wxbld/lib. There has been some reports of lib vs. lib64 being used, and the wx-config script (what wxPython uses to find the correct compile flags) not outputting the correct path. If that’s the case then making a symlink from one to the other will probably fix the wxPython part of the build.

The next step is to build wxPython, with:

python build.py build_py

Followed by building the wheel if the wxPython build was successful:

python build.py bdist_wheel

If you can get it that far then you have a wheel for your machine and python that can be installed with pip in your venvs, or wherever else it’s needed.

···

Robin

On Friday, January 25, 2019 at 7:39:03 AM UTC-8, johnf wrote:

    The VM finished and I

can import wx.

    I have attached the file with then entire messages from pip



    Thanks for you help with this issue.





    Johnf


  On 01/25/2019 07:11 AM, Scott Talbert > wrote:
  On

Fri, 25 Jan 2019, john fabiani` wrote:

    Yes I can but are you talking about the

messages from the pip install or

    something else?
  Yes.
    FYI: I have created a VM (16 GB of ram,

100GB storage) using Ubuntu 18.04

    desktop and have attempted top install wxPython 4.0.4 for

python3.7.

    So far it has taken way over an hour and it still hasn't

completed. Is that

    normal??  It does appear to be running and has not error-ed out.
  How many CPU's did you give the VM?  It does take a long time to

build wxPython. Over an hour is not out of the question.

  BTW, if you are using Ubuntu 18.04, there is a distribution

package for wxPython available that you can just apt-get install:
python3-wxgtk4.0. It is version 4.0.1 though.

  Scott

Still failing below is
the display info - I don’t see any issue with the path??? But
then again I’m not sure what I’m looking at???

    linux-bymi:/u/Downloads/wxPython-4.0.4 # python3 build.py

build_py

    Will build using: "/usr/bin/python3"

    3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]

    Python's architecture is 64bit

    cfg.VERSION: 4.0.4

    Running command: build_py

    Checking for /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8...

    "/usr/bin/python3" /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8

–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
–gtk3 --python=“/usr/bin/python3” --out=build/waf/3.6/gtk3
configure build

    Setting top to                           :

/u/Downloads/wxPython-4.0.4

    Setting out to                           :

/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3

    Checking for 'gcc' (C compiler)          : /usr/bin/gcc

    Checking for 'g++' (C++ compiler)        : /usr/bin/g++

    Checking for program 'python'            : /usr/bin/python3

    Checking for python version >= 2.7.0     : 3.6.5

    python-config                            :

/usr/bin/python3-config

    Asking python-config for pyembed '--cflags --libs --ldflags'

flags : yes

    Testing pyembed

configuration : yes

    Asking python-config for pyext '--cflags --libs --ldflags'

flags : yes

    Testing pyext

configuration : yes

    Finding libs for

WX : yes

    Finding libs for

WXADV : yes

    Finding libs for

WXSTC : yes

    Finding libs for

WXHTML : yes

    Finding libs for

WXGL : yes

    Finding libs for

WXWEBVIEW : yes

    Finding libs for

WXXML : yes

    Finding libs for

WXXRC : yes

    Finding libs for

WXRICHTEXT : yes

    Finding libs for

WXMEDIA : yes

    Finding libs for

WXRIBBON : yes

    Finding libs for

WXPROPGRID : yes

    Finding libs for

WXAUI : yes

    'configure' finished successfully (2.144s)

    Waf: Entering directory

`/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3’

    [  1/869] Compiling sip/siplib/qtlib.c

    [  2/869] Compiling sip/siplib/bool.cpp

    [  3/869] Compiling sip/siplib/apiversions.c

    [  4/869] Compiling sip/siplib/objmap.c

    [  5/869] Compiling sip/siplib/voidptr.c

    [  6/869] Compiling sip/siplib/int_convertors.c

    [  7/869] Compiling sip/siplib/array.c

    [  8/869] Compiling sip/siplib/threads.c

    [  9/869] Compiling sip/siplib/descriptors.c

    [ 10/869] Compiling sip/siplib/siplib.c

    [ 11/869] Compiling sip/cpp/sip_corewxMaximizeEvent.cpp

    [ 12/869] Compiling sip/cpp/sip_corewxFileDataObject.cpp

    In file included from

…/…/…/…/ext/wxWidgets/include/wx/defs.h:27:0,

                     from

…/…/…/…/ext/wxWidgets/include/wx/wx.h:14,

                     from

…/…/…/…/wx/include/wxPython/wxpy_api.h:41,

                     from ../../../../sip/cpp/sipAPI_core.h:19840,

                     from

…/…/…/…/sip/cpp/sip_corewxMaximizeEvent.cpp:10:

    ../../../../ext/wxWidgets/include/wx/platform.h:183:10: fatal

error: wx/setup.h: No such file or directory

     #include "wx/setup.h"

              ^~~~~~~~~~~~

    compilation terminated.

    In file included from

…/…/…/…/ext/wxWidgets/include/wx/defs.h:27:0,

                     from

…/…/…/…/ext/wxWidgets/include/wx/wx.h:14,

                     from

…/…/…/…/wx/include/wxPython/wxpy_api.h:41,

                     from ../../../../sip/cpp/sipAPI_core.h:19840,

                     from

…/…/…/…/sip/cpp/sip_corewxFileDataObject.cpp:10:

    ../../../../ext/wxWidgets/include/wx/platform.h:183:10: fatal

error: wx/setup.h: No such file or directory

     #include "wx/setup.h"

              ^~~~~~~~~~~~

    compilation terminated.

    Waf: Leaving directory

`/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3’

    Build failed

     -> task in '_core' failed with exit status 1 (run with -v to

display more information)

     -> task in '_core' failed with exit status 1 (run with -v to

display more information)

    Command '"/usr/bin/python3"

/u/Downloads/wxPython-4.0.4/bin/waf-2.0.8
–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
–gtk3 --python=“/usr/bin/python3” --out=build/waf/3.6/gtk3
configure build ’ failed with exit code 1.

    Finished command: build_py (0m6.284s)
···

On 01/25/2019 08:19 AM, Robin Dunn
wrote:

    To debug this further you'll probably need to grab

the source tarball and do the build steps in a workspace where
that tarball was unpacked. You can get the file from PyPI.

      The first step after unpacking the source is to do just the

wxWidgets part of the build, with:

            python build.py

build_wx

The generated wx/setup.h
should then be found under ./build/wxbld, probably under ./build/wxbld/lib .
There has been some reports of lib vs. lib64 being used, and
the wx-config script (what wxPython uses to find the correct
compile flags) not outputting the correct path. If that’s the
case then making a symlink from one to the other will probably
fix the wxPython part of the build.

The next step is to build wxPython, with:

            python build.py

build_py

      Followed by building the wheel if the wxPython build was

successful:

            python build.py

bdist_wheel

      If you can get it that far then you have a wheel for your

machine and python that can be installed with pip in your
venvs, or wherever else it’s needed.

Robin

      On Friday, January 25, 2019 at 7:39:03 AM UTC-8, johnf wrote:
              The VM finished and I can

import wx.

              I have attached the file with then entire messages

from pip

              Thanks for you help with this issue.





              Johnf

On 01/25/2019 07:11 AM, Scott Talbert wrote:

            On Fri, 25 Jan 2019, john fabiani`

wrote:

              Yes I can but are you talking

about the messages from the pip install or

              something else?
            Yes.
              FYI: I have created a VM (16 GB

of ram, 100GB storage) using Ubuntu 18.04

              desktop and have attempted top install wxPython 4.0.4

for python3.7.

              So far it has taken way over an hour and it still

hasn’t completed. Is that

              normal??  It does appear to be running and has not

error-ed out.

            How many CPU's did you give the VM?  It does take a long

time to build wxPython. Over an hour is not out of the
question.

            BTW, if you are using Ubuntu 18.04, there is a

distribution package for wxPython available that you can
just apt-get install: python3-wxgtk4.0. It is version
4.0.1 though.

            Scott

  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](https://groups.google.com/d/optout).

Did you search for a wx/setup.h under build/wxbld? Where is it located?

Try adding --verbose to the build_py line so we can see the full command line passed to the compiler.

···

On Friday, January 25, 2019 at 9:09:05 AM UTC-8, johnf wrote:

    Still failing below is

the display info - I don’t see any issue with the path??? But
then again I’m not sure what I’m looking at???

Robin

The location of setup:

    ./wxbld/gtk3/lib/wx/include/gtk3-unicode-3.0/wx/setup.h

    Using "--vervose" (I it looked small so I added here)

    linux-bymi:/u/Downloads/wxPython-4.0.4 # python3 build.py

build_py “–verbose”

    Will build using: "/usr/bin/python3"

    3.6.5 (default, Mar 31 2018, 19:45:04) [GCC]

    Python's architecture is 64bit

    cfg.VERSION: 4.0.4

    Running command: build_py

    Checking for /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8...

    "/usr/bin/python3" /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8

–verbose
–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
–verbose --gtk3 --python=“/usr/bin/python3”
–out=build/waf/3.6/gtk3 configure build

    Setting top to                           :

/u/Downloads/wxPython-4.0.4

    Setting out to                           :

/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3

    Checking for 'gcc' (C compiler)          : 15:32:41 runner

[‘/usr/bin/gcc’, ‘-dM’, ‘-E’, ‘-’]

    /usr/bin/gcc

    Checking for 'g++' (C++ compiler)        : 15:32:41 runner

[‘/usr/bin/g++’, ‘-dM’, ‘-E’, ‘-’]

    /usr/bin/g++

    Checking for program 'python'            : /usr/bin/python3

    15:32:41 runner ['/usr/bin/python3', '-c', 'import

imp;print(imp.get_tag())']

    15:32:41 runner ['/usr/bin/python3', '-c', 'import sys\nfor x in

sys.version_info: print(str(x))']

    15:32:42 runner ['/usr/bin/python3', '-c', "from

distutils.sysconfig import get_config_var,
get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0,
prefix=‘/usr/local’) or ‘’))"]

    15:32:42 runner ['/usr/bin/python3', '-c', "from

distutils.sysconfig import get_config_var,
get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1,
standard_lib=0, prefix=‘/usr/local’) or ‘’))"]

    Checking for python version >= 2.7.0     : 3.6.5

    15:32:42 runner ['/usr/bin/python3', '-c', "from

distutils.sysconfig import get_config_var,
get_python_lib\n\nprint(repr(get_config_var(‘prefix’) or
‘’))\nprint(repr(get_config_var(‘SO’) or
‘’))\nprint(repr(get_config_var(‘LDFLAGS’) or
‘’))\nprint(repr(get_config_var(‘LIBDIR’) or
‘’))\nprint(repr(get_config_var(‘LIBPL’) or
‘’))\nprint(repr(get_config_var(‘INCLUDEPY’) or
‘’))\nprint(repr(get_config_var(‘Py_ENABLE_SHARED’) or
‘’))\nprint(repr(get_config_var(‘MACOSX_DEPLOYMENT_TARGET’) or
‘’))\nprint(repr(get_config_var(‘LDSHARED’) or
‘’))\nprint(repr(get_config_var(‘CFLAGS’) or
‘’))\nprint(repr(get_config_var(‘LDVERSION’) or ‘’))"]

    python-config                            :

/usr/bin/python3-config

    Asking python-config for pyembed '--cflags --libs --ldflags'

flags : 15:32:42 runner [‘/usr/bin/python3-config’, ‘–cflags’,
‘–libs’, ‘–ldflags’]

    yes

    Testing pyembed

configuration : 15:32:42
runner [‘/usr/bin/g++’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fwrapv’,
‘-I/usr/include/python3.6m’,
‘-DPYTHONDIR=“/usr/local/lib/python3.6/site-packages”’,
‘-DPYTHONARCHDIR=“/usr/local/lib64/python3.6/site-packages”’,
‘-D_FORTIFY_SOURCE=2’, ‘-DNDEBUG’, ‘-D_FORTIFY_SOURCE=2’,
‘-DOPENSSL_LOAD_CONF’, ‘…/test.cpp’, ‘-c’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_7330cf47e488f2bd95d86242ad7cdd55/testbuild/test.cpp.1.o’]

    15:32:42 runner ['/usr/bin/g++', '-Xlinker', '-export-dynamic',

‘test.cpp.1.o’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_7330cf47e488f2bd95d86242ad7cdd55/testbuild/testprog’,
‘-Wl,-Bstatic’, ‘-Wl,-Bdynamic’, ‘-L/usr/lib64’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’]

    yes

    Asking python-config for pyext '--cflags --libs --ldflags'

flags : 15:32:42 runner [‘/usr/bin/python3-config’,
‘–cflags’, ‘–libs’, ‘–ldflags’]

    yes

    Testing pyext

configuration : 15:32:42
runner [‘/usr/bin/g++’, ‘-fPIC’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fmessage-length=0’,
‘-grecord-gcc-switches’, ‘-O2’, ‘-fstack-protector-strong’,
‘-funwind-tables’, ‘-fasynchronous-unwind-tables’,
‘-fstack-clash-protection’, ‘-g’, ‘-fwrapv’,
‘-I/usr/include/python3.6m’,
‘-DPYTHONDIR=“/usr/local/lib/python3.6/site-packages”’,
‘-DPYTHONARCHDIR=“/usr/local/lib64/python3.6/site-packages”’,
‘-DHAVE_PYEMBED=1’, ‘-D_FORTIFY_SOURCE=2’, ‘-DNDEBUG’,
‘-D_FORTIFY_SOURCE=2’, ‘-DOPENSSL_LOAD_CONF’, ‘…/test.cpp’,
‘-c’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_27e968fdb500a789bc96cc76d71fd670/testbuild/test.cpp.1.o’]

    15:32:42 runner ['/usr/bin/g++', '-shared', '-Xlinker',

‘-export-dynamic’, ‘test.cpp.1.o’,
‘-o/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3/.conf_check_27e968fdb500a789bc96cc76d71fd670/testbuild/testprog.cpython-36m-x86_64-linux-gnu.so’,
‘-Wl,-Bstatic’, ‘-Wl,-Bdynamic’, ‘-L/usr/lib64’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’, ‘-lpython3.6m’,
‘-lpthread’, ‘-ldl’, ‘-lutil’, ‘-lm’]

    yes

    Finding libs for

WX : 15:32:42
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXADV : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘adv,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXSTC : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘stc,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXHTML : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘html,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXGL : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘gl,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXWEBVIEW : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘webview,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXXML : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘xml,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXXRC : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘xrc,xml,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXRICHTEXT : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘richtext,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXMEDIA : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘media,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXRIBBON : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘ribbon,core,net’, ‘–no-rpath’]

    yes

    Finding libs for

WXPROPGRID : 15:32:43
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘propgrid,core’, ‘–no-rpath’]

    yes

    Finding libs for

WXAUI : 15:32:44
runner
[‘/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config’,
‘–cxxflags’, ‘–libs’, ‘aui,core’, ‘–no-rpath’]

    yes

    'configure' finished successfully (2.363s)

    Waf: Entering directory

`/u/Downloads/wxPython-4.0.4/build/waf/3.6/gtk3’

    Traceback (most recent call last):

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 118, in waf_entry_point

        run_commands()

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 178, in run_commands

        ctx=run_command(cmd_name)

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 169, in run_command

        ctx.execute()

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Scripting.py”,
line 366, in execute

        return execute_method(self)

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Build.py”,
line 93, in execute

        self.execute_build()

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Build.py”,
line 96, in execute_build

        self.recurse([self.run_dir])

      File

“/u/Downloads/wxPython-4.0.4/bin/.waf3-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Context.py”,
line 126, in recurse

        user_function(self)

      File "/u/Downloads/wxPython-4.0.4/wscript", line 570, in build

        makeETGRule(bld, 'etg/_core.py',       '_core',      'WX')

      File "/u/Downloads/wxPython-4.0.4/wscript", line 664, in

makeETGRule

        source=getEtgSipCppFiles(etg) + rc,

      File "/u/Downloads/wxPython-4.0.4/buildtools/config.py", line

645, in getEtgSipCppFiles

        return _getSbfValue(etg, 'sources')

      File "/u/Downloads/wxPython-4.0.4/buildtools/config.py", line

638, in _getSbfValue

        for line in open(sbf):

    FileNotFoundError: [Errno 2] No such file or directory:

‘sip/cpp/_core.sbf’

    Command '"/usr/bin/python3"

/u/Downloads/wxPython-4.0.4/bin/waf-2.0.8 --verbose
–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
–verbose --gtk3 --python=“/usr/bin/python3”
–out=build/waf/3.6/gtk3 configure build ’ failed with exit code
2.

    Finished command: build_py (0m3.28s)
···

On 01/25/2019 11:25 AM, Robin Dunn
wrote:

    On Friday, January 25, 2019 at 9:09:05 AM UTC-8, johnf wrote:
            Still failing below is the

display info - I don’t see any issue with the path???
But then again I’m not sure what I’m looking at???

      Did you search for a `wx/setup.h` under build/wxbld? Where

is it located?

      Try adding --verbose to the build_py line so we can see the

full command line passed to the compiler.

Robin

  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](https://groups.google.com/d/optout).

Did you do something to clean up the workspace? I’ve just verified that that file is present in the source tarball. It is a generated file though, and not checked in to git, so if you downloaded an archive from github instead of using the source archive from PyPI then that would be another explanation why it is missing.

···

On Friday, January 25, 2019 at 3:35:08 PM UTC-8, johnf wrote:

    FileNotFoundError: [Errno 2] No such file or directory:

‘sip/cpp/_core.sbf’

    Command '"/usr/bin/python3"

/u/Downloads/wxPython-4.0.4/ bin/waf-2.0.8 --verbose
–wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/ gtk3/wx-config
–verbose --gtk3 --python=“/usr/bin/python3”
–out=build/waf/3.6/gtk3 configure build ’ failed with exit code
2.

    Finished command: build_py (0m3.28s)

Robin

I created an OpenSUSE Leap 15 VM on AWS. I think I got the build to work, I'll provide the details when it finishes (it's a bit slow due to using the free instance type, t2.micro).

Scott

···

On Sat, 26 Jan 2019, Robin Dunn wrote:

On Friday, January 25, 2019 at 3:35:08 PM UTC-8, johnf wrote:
      FileNotFoundError: [Errno 2] No such file or directory:
      'sip/cpp/_core.sbf'
      Command '"/usr/bin/python3"
      /u/Downloads/wxPython-4.0.4/bin/waf-2.0.8 --verbose
      --wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/gtk3/wx-config
      --verbose --gtk3 --python="/usr/bin/python3"
      --out=build/waf/3.6/gtk3 configure build ' failed with exit code
      2.
      Finished command: build_py (0m3.28s)

Did you do something to clean up the workspace? I've just verified that that
file is present in the source tarball. It is a generated file though, and
not checked in to git, so if you downloaded an archive from github instead
of using the source archive from PyPI then that would be another explanation
why it is missing.

I used pypi.org source
dated Jan 6, 2019 wxPython-4.0.4.tar.gz.

    I do not understand the ref "Did you do so9mething to clean up

the workspace".

    I downloaded the file, used arc to un-zip, then ran the

commands, in that folder.

    But I see that someone is attempting to compile it on AWS.  I

hope he can provide the wheel.

    Johnf
···

On 01/26/2019 12:58 PM, Robin Dunn
wrote:

    On Friday, January 25, 2019 at 3:35:08 PM UTC-8, johnf wrote:
            FileNotFoundError: [Errno 2] No

such file or directory: ‘sip/cpp/_core.sbf’

            Command '"/usr/bin/python3" /u/Downloads/wxPython-4.0.4/                bin/waf-2.0.8

–verbose --wx_config=/u/Downloads/wxPython-4.0.4/build/wxbld/ gtk3/wx-config
–verbose --gtk3 --python=“/usr/bin/python3”
–out=build/waf/3.6/gtk3 configure build ’ failed with
exit code 2.

            Finished command: build_py (0m3.28s)
      Did you do something to clean up the workspace? I've just

verified that that file is present in the source tarball. It
is a generated file though, and not checked in to git, so if
you downloaded an archive from github instead of using the
source archive from PyPI then that would be another
explanation why it is missing.

Robin

  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](https://groups.google.com/d/optout).

I installed these packages on openSUSE Leap 15.0 x86-64 and after that I was able to do "pip install wxPython" in a venv and it installed fine.

gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

Sorry, I didn't build a wheel.
Scott

···

On Sat, 26 Jan 2019, john fabiani` wrote:

I used pypi.org source dated Jan 6, 2019 wxPython-4.0.4.tar.gz.

I do not understand the ref "Did you do so9mething to clean up the
workspace".

I downloaded the file, used arc to un-zip, then ran the commands, in that
folder.

But I see that someone is attempting to compile it on AWS. I hope he can
provide the wheel.

I couldn't find libtiff-devel libjpeg-devel on my install disk or from the OpenSuse website (they did have a file but not for 15.x). What version of OpenSuse did you install???

Johnf

···

On 01/26/2019 05:23 PM, Scott Talbert wrote:

On Sat, 26 Jan 2019, john fabiani` wrote:

I used pypi.org source dated Jan 6, 2019 wxPython-4.0.4.tar.gz.

I do not understand the ref "Did you do so9mething to clean up the
workspace".

I downloaded the file, used arc to un-zip, then ran the commands, in that
folder.

But I see that someone is attempting to compile it on AWS. I hope he can
provide the wheel.

I installed these packages on openSUSE Leap 15.0 x86-64 and after that I was able to do "pip install wxPython" in a venv and it installed fine.

gcc-c++ make gtk3-devel webkit2gtk3-devel gstreamer-plugins-base-devel libtiff-devel libjpeg-devel libpng-devel SDL2-devel libSM-devel python3-devel zlib-devel libexpat-devel glu-devel

Sorry, I didn't build a wheel.
Scott

OpenSUSE Leap 15.

···

On Sat, 26 Jan 2019, john fabiani` wrote:

I couldn't find libtiff-devel libjpeg-devel on my install disk or from the OpenSuse website (they did have a file but not for 15.x). What version of OpenSuse did you install???

I have OpenSuse 15.0.
The latest is 15.1. My only thought I have is AWS is using
the latest versioin. I will install 15.1 and make another
attempt. That said, it is still true that the files do not
exist on the OpenSuse website (only for version 42.x) so it may
not work.

    But I will try soon.

    Thanks for the help.

    Johnf
···

On 01/26/2019 06:04 PM, Scott Talbert
wrote:

  On

Sat, 26 Jan 2019, john fabiani` wrote:

    I couldn't find libtiff-devel

libjpeg-devel on my install disk or from the OpenSuse website
(they did have a file but not for 15.x). What version of
OpenSuse did you install???

  OpenSUSE Leap 15.

Can you not install upates using zypper?

···

On Sun, 27 Jan 2019, john fabiani` wrote:

I have OpenSuse 15.0. The latest is 15.1. My only thought I have is AWS
is using the latest versioin. I will install 15.1 and make another
attempt. That said, it is still true that the files do not exist on the
OpenSuse website (only for version 42.x) so it may not work.

But I will try soon.

No I can’t install
15.1using zypper due to one of the updates causing my Icore9 and
Nivida card to crash. However, I can install from scratch.

    I have been aware of the issue for months and was going to wait

for 15.2 or what ever came after 15.1. That will be coming
soon.

    Johnf
···

On 01/28/2019 06:03 AM, Scott Talbert
wrote:

  Can you not install upates using zypper?