Has anyone used Phoenix yet for a production application? I’m not all that concerned about API stability, but have most of the kinks been worked out? Assuming my application doesn’t require anything in wx.lib, will be I be cursing myself if I jump from 2.9.4 to snapshot builds of Phoenix? I’m asking because there are some changes in Phoenix that would be beneficial for my application.
Hi Mears,
Has anyone used Phoenix yet for a production application?
Yes
I’m not all that concerned about API stability, but have most of the kinks been worked out? Assuming my application doesn’t require anything in wx.lib, will be I be cursing myself if I jump from 2.9.4 to snapshot builds of Phoenix?
Really it mostly just depends on if 100% of the wx classes you need are wrapped yet or not. I’d say it’s definitely worth a try though. I think it’s good enough that you should probably at least give it a try. If it doesn’t work for you yet, just report whatever issues you run into.
Regards,
Kevin
···
On Mar 5, 2013, at 11:44 AM, Mears wrote:
I’m asking because there are some changes in Phoenix that would be beneficial for my application.
–
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/groups/opt_out.
Along the same lines is there a page/place where one can see what still needs to be done e.g. for wx.lib, looking at the Phoenix doc (http://wxpython.org/Phoenix/docs/html/lib.html) I don't see wx.lib.sized, which I need, as it is not documented, I guess it is not converted.
I am on Windows, I guess there are no installers yet, so is there an build/compile page for dummies;-) .
Werner
···
On 05/03/2013 20:44, Mears wrote:
Has anyone used Phoenix yet for a production application? I'm not all that concerned about API stability, but have most of the kinks been worked out? Assuming my application doesn't require anything in wx.lib, will be I be cursing myself if I jump from 2.9.4 to snapshot builds of Phoenix? I'm asking because there are some changes in Phoenix that would be beneficial for my application.
For most platforms there are pre-built snapshots (created pretty much
on a daily basis) here:
http://wxpython.org/Phoenix/snapshot-builds/
All the Windows architectures are covered, as far as I can see,
together with all the Python versions supported (2.7, 3.2 and 3.3).
I have tried Phoenix quite a few times, and it appears to work well.
Almost all of the functions/classes in the core library are
up-to-speed, together with
most of the "advanced" or secondary wrapped libraries (wx.html,
wx.html2, wx.stc, wx.grid, wx.glcanvas, wx.dataview). The only area
where we are still quite behind is wx.lib, but then again we need the
wxPython community support to try and port it to Phoenix (and to make
it compatible with the wretched Python 3).
One of the additional requisites for a module to be considered
"ported" to Phoenix is for it to have good docstrings and unit
testing, as highlighted here:
http://wxpython.org/Phoenix/docs/html/DocstringsGuidelines.html
I have ported most of AGW to Phoenix and a few classes here and there
in wx.lib, but there is much more to be done; any help from the
community would be more than appreciated.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
# ------------------------------------------------------------- #
def ask_mailing_list_support(email):
if mention_platform_and_version() and include_sample_app():
send_message(email)
else:
install_malware()
erase_hard_drives()
# ------------------------------------------------------------- #
···
On 5 March 2013 21:10, Werner wrote:
On 05/03/2013 20:44, Mears wrote:
Has anyone used Phoenix yet for a production application? I'm not all
that concerned about API stability, but have most of the kinks been worked
out? Assuming my application doesn't require anything in wx.lib, will be I
be cursing myself if I jump from 2.9.4 to snapshot builds of Phoenix? I'm
asking because there are some changes in Phoenix that would be beneficial
for my application.Along the same lines is there a page/place where one can see what still
needs to be done e.g. for wx.lib, looking at the Phoenix doc
(http://wxpython.org/Phoenix/docs/html/lib.html) I don't see wx.lib.sized,
which I need, as it is not documented, I guess it is not converted.I am on Windows, I guess there are no installers yet, so is there an
build/compile page for dummies;-) .
Mears wrote:
Has anyone used Phoenix yet for a production application? I'm not all
that concerned about API stability, but have most of the kinks been
worked out? Assuming my application doesn't require anything in wx.lib,
will be I be cursing myself if I jump from 2.9.4 to snapshot builds of
Phoenix? I'm asking because there are some changes in Phoenix that would
be beneficial for my application.
In addition to Kevin's and Andrea's comments let me add that the C++ extension modules are very close to being done. The only major things left are the propgrid and richtext modules, perhaps a module that has some classes that are only available on Windows, and wxAUI if somebody can convince me that it is needed given that we have Andrea and wx.lib.agw.aui. Other than those items and some things in the wx.lib that will need some work, I'm inclined to say that Phoenix is already in much better shape (smaller, faster, better: pick any three) than Classic.
Be sure to read the Migration Guide[1]. It will give a higher level view of some of the things that are not backwards compatible. Some are because they were required by the new technology, some are because they just made sense to do.
Watch out for DeprecationWarnings. You'll get these for things (hacks) that I want to change (get rid of), but which were easy to add a backwards compatible wrapper or alias for the time being. For example, it is no longer necessary to derive a class from wx.PyControl in order to override the DoGetBestSize or other methods needed for making a good custom control, you should just use wx.Control instead. So now wx.PyControl is an alias that raises a DeprecationWarning when you use it.
Finally, use the Phoenix version of the documentation[2]. There should at least be an auto-generated item in the docs for every class, method and function in Phoenix, and things like the method parameter names will be accurate too. Almost all documented items will have the corresponding text pulled from the same source that the wxWidgets documentation comes from, with some tweaks to make them more Python specific, but you will not have to sift through things that are only in the C++ lib and not in wxPython Phoenix.
[1] wxPython Project Phoenix Migration Guide — wxPython Phoenix 4.2.3a1 documentation
[2] Redirecting...
Werner wrote:
I am on Windows, I guess there are no installers yet, so is there an build/compile page for dummies;-) .
As Andrea mentioned there are daily builds, which are basically just the built wx package dir bundled up in a .tar.gz file. So it's just a simple matter of unarchiving it and setting your PYTHONPATH so Python finds it first. You can also use tools like virtualenv to make a new virtual Python environment and then just move the snapshot's wx folder into the virtualenv's site-packages folder.
I've also got building an egg working for Windows and Mac in my local workspace so that may make things even easier in the future.
···
--
Robin Dunn
Software Craftsman
Robin wrote:
As Andrea mentioned there are daily builds, which are basically just the built wx package dir bundled up in a .tar.gz file.
My primary development environment is Linux, so I think I need to build from source. I’m having some issues (see below). It appears that the html2 module is having issues, which isn’t unexpected. I’m on RHEL6 and have never managed to successfully build that module in any version of WxPython. That’s a separate issue that I need to post about, but in WxPython classic the fact that it can’t be built on my platform is determined during the configuration stage and it’s not built. Is there a similar check in Phoenix?
[594/626] cxx: sip/cpp/sip_html2wxWebViewHandler.cpp → build/waf/2.7/sip/cpp/sip_html2wxWebViewHandler.cpp.17.o
…/…/…/sip/cpp/sip_html2cmodule.cpp:221: error: expected constructor, destructor, or type conversion before ‘’ token
…/…/…/sip/cpp/sip_html2cmodule.cpp:231: error: expected constructor, destructor, or type conversion before ‘’ token
…/…/…/sip/cpp/sip_html2cmodule.cpp:260: error: ‘wxWEBVIEW_FIND_BACKWARDS’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:261: error: ‘wxWEBVIEW_FIND_DEFAULT’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:262: error: ‘wxWEBVIEW_FIND_ENTIRE_WORD’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:263: error: ‘wxWEBVIEW_FIND_HIGHLIGHT_RESULT’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:264: error: ‘wxWEBVIEW_FIND_MATCH_CASE’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:265: error: ‘wxWEBVIEW_FIND_WRAP’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:266: error: ‘wxWEBVIEW_NAV_ERR_AUTH’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:267: error: ‘wxWEBVIEW_NAV_ERR_CERTIFICATE’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:268: error: ‘wxWEBVIEW_NAV_ERR_CONNECTION’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:269: error: ‘wxWEBVIEW_NAV_ERR_NOT_FOUND’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:270: error: ‘wxWEBVIEW_NAV_ERR_OTHER’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:271: error: ‘wxWEBVIEW_NAV_ERR_REQUEST’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:272: error: ‘wxWEBVIEW_NAV_ERR_SECURITY’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:273: error: ‘wxWEBVIEW_NAV_ERR_USER_CANCELLED’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:274: error: ‘wxWEBVIEW_RELOAD_DEFAULT’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:275: error: ‘wxWEBVIEW_RELOAD_NO_CACHE’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:276: error: ‘wxWEBVIEW_ZOOM_LARGE’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:277: error: ‘wxWEBVIEW_ZOOM_LARGEST’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:278: error: ‘wxWEBVIEW_ZOOM_MEDIUM’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:279: error: ‘wxWEBVIEW_ZOOM_SMALL’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:280: error: ‘wxWEBVIEW_ZOOM_TINY’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:281: error: ‘wxWEBVIEW_ZOOM_TYPE_LAYOUT’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:282: error: ‘wxWEBVIEW_ZOOM_TYPE_TEXT’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:283: error: too many initializers for ‘sipEnumMemberDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:310: error: ‘sipVH__html2_0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:311: error: ‘sipVH__html2_1’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:325: error: ‘wxWebViewBackendDefault’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:326: error: ‘wxWebViewBackendIE’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:327: error: ‘wxWebViewBackendWebKit’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:328: error: ‘wxWebViewDefaultURLStr’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:329: error: ‘wxWebViewNameStr’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:331: error: too many initializers for ‘sipStringInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:331: error: too many initializers for ‘sipStringInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:331: error: too many initializers for ‘sipStringInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:331: error: too many initializers for ‘sipStringInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:331: error: too many initializers for ‘sipStringInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:336: error: ‘wxEVT_COMMAND_WEBVIEW_ERROR’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:337: error: ‘wxEVT_COMMAND_WEBVIEW_LOADED’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:338: error: ‘wxEVT_COMMAND_WEBVIEW_NAVIGATED’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:339: error: ‘wxEVT_COMMAND_WEBVIEW_NAVIGATING’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:340: error: ‘wxEVT_COMMAND_WEBVIEW_NEWWINDOW’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:341: error: ‘wxEVT_COMMAND_WEBVIEW_TITLE_CHANGED’ was not declared in this scope
…/…/…/sip/cpp/sip_html2cmodule.cpp:343: error: too many initializers for ‘sipIntInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:343: error: too many initializers for ‘sipIntInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:343: error: too many initializers for ‘sipIntInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:343: error: too many initializers for ‘sipIntInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:343: error: too many initializers for ‘sipIntInstanceDef’
…/…/…/sip/cpp/sip_html2cmodule.cpp:343: error: too many initializers for ‘sipIntInstanceDef’
…/…/…/sip/cpp/sip_html2wxWebView.cpp:46: error: ‘wxWebView’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebView.cpp:46: error: ‘self’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebView.cpp:47: error: expected ‘,’ or ‘;’ before ‘{’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:18: error: expected class-name before ‘{’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:21: error: ISO C++ forbids declaration of ‘wxWebViewArchiveHandler’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:21: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In constructor ‘sipwxWebViewArchiveHandler::sipwxWebViewArchiveHandler(const wxString&)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:42: error: class ‘sipwxWebViewArchiveHandler’ does not have any field named ‘wxWebViewArchiveHandler’
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: At global scope:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:47: error: ISO C++ forbids declaration of ‘wxWebViewArchiveHandler’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:47: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In constructor ‘sipwxWebViewArchiveHandler::sipwxWebViewArchiveHandler(int)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:47: error: class ‘sipwxWebViewArchiveHandler’ does not have any field named ‘wxWebViewArchiveHandler’
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:47: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In member function ‘wxFSFile* sipwxWebViewArchiveHandler::GetFile(const wxString&)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:65: error: ‘wxWebViewArchiveHandler’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In member function ‘wxString sipwxWebViewArchiveHandler::GetName() const’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:80: error: ‘wxWebViewHandler’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In function ‘PyObject* meth_wxWebViewArchiveHandler_GetFile(PyObject*, PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:99: error: ‘wxWebViewArchiveHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:99: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:112: error: ‘wxWebViewArchiveHandler’ is not a class or namespace
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In function ‘void* cast_wxWebViewArchiveHandler(void*, const sipTypeDef*)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:139: error: ‘wxWebViewHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:139: error: expected primary-expression before ‘)’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:139: error: ‘wxWebViewArchiveHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:139: error: expected primary-expression before ‘)’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In function ‘void release_wxWebViewArchiveHandler(void*, int)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:155: error: expected type-specifier before ‘wxWebViewArchiveHandler’
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:155: error: expected ‘>’ before ‘wxWebViewArchiveHandler’
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:155: error: expected ‘(’ before ‘wxWebViewArchiveHandler’
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:155: error: ‘wxWebViewArchiveHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:155: error: expected primary-expression before ‘>’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:155: error: expected ‘)’ before ‘;’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp: In function ‘void* init_wxWebViewArchiveHandler(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:209: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp:211: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:20: error: expected class-name before ‘{’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:24: error: ISO C++ forbids declaration of ‘wxWebViewEvent’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:24: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In constructor ‘sipwxWebViewEvent::sipwxWebViewEvent()’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:45: error: class ‘sipwxWebViewEvent’ does not have any field named ‘wxWebViewEvent’
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In constructor ‘sipwxWebViewEvent::sipwxWebViewEvent(wxEventType, int, wxString, wxString)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:50: error: class ‘sipwxWebViewEvent’ does not have any field named ‘wxWebViewEvent’
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: At global scope:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:55: error: ISO C++ forbids declaration of ‘wxWebViewEvent’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:55: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In constructor ‘sipwxWebViewEvent::sipwxWebViewEvent(int)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:55: error: class ‘sipwxWebViewEvent’ does not have any field named ‘wxWebViewEvent’
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:55: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In member function ‘wxEvent sipwxWebViewEvent::Clone() const’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:73: error: ‘wxWebViewEvent’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In member function ‘wxEventCategory sipwxWebViewEvent::GetEventCategory() const’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:88: error: cannot call member function ‘virtual wxEventCategory wxEvent::GetEventCategory() const’ without object
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In function ‘PyObject* meth_wxWebViewEvent_GetTarget(PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:107: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:109: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In function ‘PyObject meth_wxWebViewEvent_GetURL(PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:143: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:145: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In function ‘PyObject meth_wxWebViewEvent_Clone(PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:178: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:180: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:187: error: ‘wxWebViewEvent’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In function ‘void cast_wxWebViewEvent(void*, const sipTypeDef*)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:213: error: ‘wxWebViewEvent’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:213: error: expected primary-expression before ‘)’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In function ‘void release_wxWebViewEvent(void*, int)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:229: error: expected type-specifier before ‘wxWebViewEvent’
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:229: error: expected ‘>’ before ‘wxWebViewEvent’
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:229: error: expected ‘(’ before ‘wxWebViewEvent’
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:229: error: ‘wxWebViewEvent’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:229: error: expected primary-expression before ‘>’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:229: error: expected ‘)’ before ‘;’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp: In function ‘void* init_wxWebViewEvent(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:312: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp:314: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:18: error: expected class-name before ‘{’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:21: error: ISO C++ forbids declaration of ‘wxWebViewFSHandler’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:21: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In constructor ‘sipwxWebViewFSHandler::sipwxWebViewFSHandler(const wxString&)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:42: error: class ‘sipwxWebViewFSHandler’ does not have any field named ‘wxWebViewFSHandler’
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: At global scope:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:47: error: ISO C++ forbids declaration of ‘wxWebViewFSHandler’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:47: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In constructor ‘sipwxWebViewFSHandler::sipwxWebViewFSHandler(int)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:47: error: class ‘sipwxWebViewFSHandler’ does not have any field named ‘wxWebViewFSHandler’
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:47: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In member function ‘wxFSFile sipwxWebViewFSHandler::GetFile(const wxString&)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:65: error: ‘wxWebViewFSHandler’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In member function ‘wxString sipwxWebViewFSHandler::GetName() const’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:80: error: ‘wxWebViewHandler’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In function ‘PyObject* meth_wxWebViewFSHandler_GetFile(PyObject*, PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:99: error: ‘wxWebViewFSHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:99: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:112: error: ‘wxWebViewFSHandler’ is not a class or namespace
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In function ‘void* cast_wxWebViewFSHandler(void*, const sipTypeDef*)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:139: error: ‘wxWebViewHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:139: error: expected primary-expression before ‘)’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:139: error: ‘wxWebViewFSHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:139: error: expected primary-expression before ‘)’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In function ‘void release_wxWebViewFSHandler(void*, int)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:155: error: expected type-specifier before ‘wxWebViewFSHandler’
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:155: error: expected ‘>’ before ‘wxWebViewFSHandler’
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:155: error: expected ‘(’ before ‘wxWebViewFSHandler’
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:155: error: ‘wxWebViewFSHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:155: error: expected primary-expression before ‘>’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:155: error: expected ‘)’ before ‘;’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp: In function ‘void* init_wxWebViewFSHandler(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:209: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp:211: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:23: error: expected class-name before ‘{’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:26: error: ISO C++ forbids declaration of ‘wxWebViewFactory’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:26: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:34: error: ISO C++ forbids declaration of ‘wxWebView’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:34: error: expected ‘;’ before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:35: error: ISO C++ forbids declaration of ‘wxWebView’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:35: error: expected ‘;’ before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: In constructor ‘sipwxWebViewFactory::sipwxWebViewFactory()’:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:47: error: class ‘sipwxWebViewFactory’ does not have any field named ‘wxWebViewFactory’
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: At global scope:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:52: error: ISO C++ forbids declaration of ‘wxWebViewFactory’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:52: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: In constructor ‘sipwxWebViewFactory::sipwxWebViewFactory(int)’:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:52: error: class ‘sipwxWebViewFactory’ does not have any field named ‘wxWebViewFactory’
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:52: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: At global scope:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:62: error: expected constructor, destructor, or type conversion before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:77: error: expected constructor, destructor, or type conversion before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: In function ‘PyObject meth_wxWebViewFactory_Create(PyObject*, PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:106: error: ‘wxWebViewFactory’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:106: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:110: error: ‘wxWebView’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:110: error: ‘sipRes’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:134: error: ‘wxWebViewDefaultURLStr’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:144: error: ‘wxWebViewNameStr’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:147: error: ‘wxWebViewFactory’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:147: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:161: error: ‘wxWebView’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:161: error: ‘sipRes’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: In function ‘void* cast_wxWebViewFactory(void*, const sipTypeDef*)’:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:202: error: ‘wxWebViewFactory’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:202: error: expected primary-expression before ‘)’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: In function ‘void release_wxWebViewFactory(void*, int)’:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:218: error: expected type-specifier before ‘wxWebViewFactory’
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:218: error: expected ‘>’ before ‘wxWebViewFactory’
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:218: error: expected ‘(’ before ‘wxWebViewFactory’
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:218: error: ‘wxWebViewFactory’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:218: error: expected primary-expression before ‘>’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:218: error: expected ‘)’ before ‘;’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp: In function ‘void* init_wxWebViewFactory(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:256: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp:258: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:18: error: expected class-name before ‘{’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:21: error: ISO C++ forbids declaration of ‘wxWebViewHandler’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:21: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In constructor ‘sipwxWebViewHandler::sipwxWebViewHandler(const wxString&)’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:42: error: class ‘sipwxWebViewHandler’ does not have any field named ‘wxWebViewHandler’
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: At global scope:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:47: error: ISO C++ forbids declaration of ‘wxWebViewHandler’ with no type
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:47: error: expected ‘,’ or ‘…’ before ‘&’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In constructor ‘sipwxWebViewHandler::sipwxWebViewHandler(int)’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:47: error: class ‘sipwxWebViewHandler’ does not have any field named ‘wxWebViewHandler’
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:47: error: ‘a0’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In member function ‘wxString sipwxWebViewHandler::GetName() const’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:80: error: ‘wxWebViewHandler’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In function ‘PyObject meth_wxWebViewHandler_GetFile(PyObject*, PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:99: error: ‘wxWebViewHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:99: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In function ‘PyObject* meth_wxWebViewHandler_GetName(PyObject*, PyObject*)’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:145: error: expected initializer before ‘’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:147: error: ‘sipCpp’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:154: error: ‘wxWebViewHandler’ has not been declared
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In function ‘void release_wxWebViewHandler(void, int)’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:191: error: expected type-specifier before ‘wxWebViewHandler’
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:191: error: expected ‘>’ before ‘wxWebViewHandler’
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:191: error: expected ‘(’ before ‘wxWebViewHandler’
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:191: error: ‘wxWebViewHandler’ was not declared in this scope
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:191: error: expected primary-expression before ‘>’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:191: error: expected ‘)’ before ‘;’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp: In function ‘void* init_wxWebViewHandler(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)’:
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:245: error: expected initializer before ‘*’ token
…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp:247: error: ‘a0’ was not declared in this scope
Waf: Leaving directory `/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7’
Build failed
→ task in ‘html2’ failed (exit status 1):
{task 21633296: cxx sip_html2cmodule.cpp → sip_html2cmodule.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2cmodule.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2cmodule.cpp.17.o’]
→ task in ‘html2’ failed (exit status 1):
{task 21633488: cxx sip_html2wxWebView.cpp → sip_html2wxWebView.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2wxWebView.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2wxWebView.cpp.17.o’]
→ task in ‘html2’ failed (exit status 1):
{task 21633616: cxx sip_html2wxWebViewArchiveHandler.cpp → sip_html2wxWebViewArchiveHandler.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2wxWebViewArchiveHandler.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2wxWebViewArchiveHandler.cpp.17.o’]
→ task in ‘html2’ failed (exit status 1):
{task 21633744: cxx sip_html2wxWebViewEvent.cpp → sip_html2wxWebViewEvent.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2wxWebViewEvent.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2wxWebViewEvent.cpp.17.o’]
→ task in ‘html2’ failed (exit status 1):
{task 21633872: cxx sip_html2wxWebViewFSHandler.cpp → sip_html2wxWebViewFSHandler.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2wxWebViewFSHandler.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2wxWebViewFSHandler.cpp.17.o’]
→ task in ‘html2’ failed (exit status 1):
{task 21634000: cxx sip_html2wxWebViewFactory.cpp → sip_html2wxWebViewFactory.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2wxWebViewFactory.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2wxWebViewFactory.cpp.17.o’]
→ task in ‘html2’ failed (exit status 1):
{task 21634128: cxx sip_html2wxWebViewHandler.cpp → sip_html2wxWebViewHandler.cpp.17.o}
[‘/usr/bin/g++’, ‘-fPIC’, ‘-pthread’, ‘-pthread’, ‘-UNDEBUG’, ‘-g’, ‘-pthread’, ‘-fno-strict-aliasing’, ‘-fexceptions’, ‘-fstack-protector’, ‘-m64’, ‘-mtune=generic’, ‘-fPIC’, ‘-fwrapv’, ‘-fwrapv’, ‘-fno-strict-aliasing’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/lib/wx/include/gtk2-unicode-2.9’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/wxWidgets/include’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/sip/siplib’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/waf/2.7/src’, ‘-I/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/src’, ‘-I/disk01/include/python2.7’, ‘-DPYTHONDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DPYTHONARCHDIR=“/usr/local/lib/python2.7/site-packages”’, ‘-DHAVE_PYTHON_H=1’, ‘-DHAVE_WX=1’, ‘-DHAVE_WXADV=1’, ‘-DHAVE_WXSTC=1’, ‘-DHAVE_WXHTML=1’, ‘-DHAVE_WXGL=1’, ‘-DHAVE_WXWEBVIEW=1’, ‘-DHAVE_WXXML=1’, ‘-DHAVE_WXXRC=1’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DWXUSINGDLL’, '-D__WXGTK_’, ‘-D_GNU_SOURCE’, ‘…/…/…/sip/cpp/sip_html2wxWebViewHandler.cpp’, ‘-c’, ‘-o’, ‘sip/cpp/sip_html2wxWebViewHandler.cpp.17.o’]
Command '/disk01/bin/python2.7 /disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/bin/waf-1.7.9 --wx_config=/disk01/data/davidsj2/wxPython-Phoenix-r73620-src/Phoenix/build/wxbld/wx-config --python=/disk01/bin/python2.7 --out=build/waf/2.7 configure build ’ failed with exit code 1.
Mears wrote:
Robin wrote:
> As Andrea mentioned there are daily builds, which are basically just
the built wx package dir bundled up in a .tar.gz file.My primary development environment is Linux, so I think I need to build
from source. I'm having some issues (see below). It appears that the
html2 module is having issues, which isn't unexpected. I'm on RHEL6 and
have never managed to successfully build that module in any version of
WxPython.
Do you have the RH equivalent of the libwebkitgtk-dev package installed? It needs to be a newer version, but I don't recall what the first compatible version is.
That's a separate issue that I need to post about, but in
WxPython classic the fact that it can't be built on my platform is
determined during the configuration stage and it's not built. Is there a
similar check in Phoenix?
Not yet. The wxWidgets configure step is the same as before, and it is the one that is excluding the wx C++ code for the webview classes and constants. So far Phoenix is just assuming that everything is available, which is why you are getting the errors in that part of the build.
In Classic I would create a set of stub classes that raised a NotImplemented exception if you tried to use them, and would compile the wrappers using those classes if they were not present in the wx library. That was a pain to maintain though and I would either like to automate that or find some other way to exclude the wrappers when the C++ class is missing, but I haven't put much effort in to it yet. Ideas and/or patches are welcome.
···
--
Robin Dunn
Software Craftsman
I do. In RHEL6 the distro supported version is 1.2.6. wxWebView requires 1.3.1 per the configure script, but I think I’ve read 1.3.2 in the docs somewhere. I’ve tried building nearly every version of webkitgtk from 1.3.1 all the way up to 1.10.2 unsuccessfully.
···
On Thursday, March 14, 2013 10:57:08 AM UTC-6, Robin Dunn wrote:
Do you have the RH equivalent of the libwebkitgtk-dev package installed?
It needs to be a newer version, but I don’t recall what the first
compatible version is.