Re: Building wxPython-4.0.4 on Mint 19.1 64 bit

[email protected] Wed, 20 Mar 2019 12:27:46 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
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] 
> <javascript:> 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


> 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


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

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