Re: Building wxPython-4.0.4 on Mint 19.1 64 bit

Robin Dunn <[email protected]> Wed, 20 Mar 2019 10:24:50 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
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?

What command line are you using to do the wxPython build?

Where is your wxPython source coming from? (The source tarball from PyPI? A 
checkout or archive created from GitHub?)


> 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. 

 

> Python's architecture is 64bit
> cfg.VERSION: 4.0.4
>
> I have verified my package list Mint 19.1 64 bit is the the save as Mint 
> 19.1 32 bit.  I also verified I have the same python packages installed on 
> both versions.  Everything in requirements.txt loads successfully
>
> Have I overlooked something simple?  Should I install the libraries and 
> build a 32 bit version instead?
>


As long as you're using a 64-bit version of Linux and a 64-bit build of 
Python then the 64-bit build of wxPython would be the preferred 
configuration.

--
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.