Re: Re: build Phoenix from source fails
Greg Couch <[email protected]>
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
Normally, I download a Phoenix source snapshot, but there hadn't been any
for a few days, so I thought I'd try building from the actual source.
As to why -- it is extremely important to only have one C++ runtime library
in an application, otherwise the application may crash in hard to debug
ways. (Our application embeds Python with C++ extensions and wxWidgets is
in C++.) The available wheels only cover a tiny subset of the choices of
compilers and the associated runtime libraries. And there are no wheels
for Linux, since every distribution uses a different compiler version.
-- Greg
On Thursday, February 12, 2015 at 1:41:38 AM UTC-8, werner wrote:
>
> Hi Greg,
>
> On 2/12/2015 9:07, Greg Couch wrote:
>
> Now I'm back to my original problem with wxSVGBitmapHandler. After
> applying my previous fix, and several others, I'm stuck on
> sip/gen/_html.sip. The error is:
>
> /home/gregc/src/Phoenix/bin/sip-4.14.4-linux -w -o -T -g -I
> /home/gregc/src/Phoenix/src -I /home/gregc/src/Phoenix/sip/gen -c
> /tmp/tmpVym0Bw -b sip/cpp/_html.sbf -X pycode_html:wx/html.py
> sip/gen/_html.sip
> sip: HTMLCursor is undefined
>
> HTMLCursor is defined in htmlwin and there is "%Include htmlwin.sip" in in
> sip/gen._html.sip, but it's not being found.
>
> Can't help on your actual problem, but curious why you are not using pip
> to install, i.e:
>
> dev essentials:
> sudo apt-get install dpkg-dev build-essential python2.7-dev # use
> appropriate Python version
> sudo apt-get install libwebkitgtk-dev
> sudo apt-get install libjpeg-dev libtiff-dev
> sudo apt-get install libgtk2.0-dev
> sudo apt-get install libsdl1.2-dev libgstreamer-plugins-base0.10-dev
> sudo apt-get install freeglut3 freeglut3-dev
>
> # use the appropriate version of pip for Py2 or Py3
> pip install -U --pre -f http://wxpython.org/Phoenix/snapshot-builds/
> wxPython_Phoenix
>
> Werner
>
--
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.