Re: Building wxPython-4.0.4 on Mint 19.1 64 bit
Robin Dunn <[email protected]> Wed, 20 Mar 2019 13:41:43 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, March 20, 2019 at 12:27:46 PM UTC-7, [email protected] wrote: > > I rebuilt python with --enable-shared and the wxPython build is now past > the point where it failed. > > Thank you for the suggestion. > > On Wednesday, March 20, 2019 at 1:24:50 PM UTC-4, Robin Dunn wrote: >> >> On Wednesday, March 20, 2019 at 9:14:34 AM UTC-7, [email protected] wrote: >>> >>> I have successfully built wxPython-4.0.4 on the Raspberry Pi and Mint >>> 19.1 32 bit but I am running into an error when I build on Mint 19.1 64 bit. >>> >>> I am building using python 3.7.2 built form source >>> >> >> >> Did you use the --enable-shared configure option when building Python? >> > > No, I assumed that was the default. > > >> What command line are you using to do the wxPython build? >> > > ./configure --enable optimizations > I asked about your command-line for building wxPython, not Python. > > >> Where is your wxPython source coming from? (The source tarball from PyPI? >> A checkout or archive created from GitHub?) >> > > source from: > > Python source from > https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz > Same here. > If I try to build using the python 3.6 as supplied in the distribution I >>> get the following error building waf: >>> >>> >> >>> FileNotFoundError: [Errno 2] No such file or directory: >>> 'sip/cpp/_core.sbf' >>> >> >> >> This file is included in the PyPI source tarball, but since it is a >> generated file it is not checked in to git. If you're using wxPython source >> code from GitHub then you'll need to run extra steps to generate the >> missing files. >> > > This error came from using the version of python that came with the > distribution. I guess this version will not work for building wxPython. > It should. The error message indicates that either you're using source from git that hasn't yet had the generated files created, or that something has happened to your local source tree. -- Robin -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.