Build wxPython on arm64 architecture

[email protected]
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hello,
currently we are trying to build the latest git sources on a arm64 device 
running 

Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial


All prerequisites, as mentioned on https://github.com/wxWidgets/Phoenix, 
have been installed.
First run of python build.py dox etg sip build failed

ERROR: Could not execute 
/mnt/usb_disc/repos/phoenix/bin/doxygen-1.8.8-linux, got "[Errno 8] Exec 
format error"
       Set DOXYGEN in the environment to use a local build of doxygen 
instead

So we installed doxgen via apt-get, this installed version 1.8.11.1, 
exported DOXYGEN variable and run again.

Now dox part finished without error but next step etg fails with

ERROR: Graphviz command `dot` cannot be run (needed for Graphviz output), 
check your ``PATH`` setting
Traceback (most recent call last):
  File "etg/_core.py", line 478, in <module>
    run()
  File "etg/_core.py", line 471, in run
    tools.runGenerators(module)
  File "/mnt/usb_disc/repos/phoenix/etgtools/tweaker_tools.py", line 617, 
in runGenerators
    g.generate(module)
  File "/mnt/usb_disc/repos/phoenix/etgtools/sphinx_generator.py", line 
2909, in generate
    self.generateModule(module)
  File "/mnt/usb_disc/repos/phoenix/etgtools/sphinx_generator.py", line 
2982, in generateModule
    function(item)
  File "/mnt/usb_disc/repos/phoenix/etgtools/sphinx_generator.py", line 
3094, in generatePyClass
    docstring.Dump()
  File "/mnt/usb_disc/repos/phoenix/etgtools/sphinx_generator.py", line 
2337, in Dump
    return function(write)
  File "/mnt/usb_disc/repos/phoenix/etgtools/sphinx_generator.py", line 
2368, in DumpClass
    png, map = inheritance_diagram.makeInheritanceDiagram()
  File "/mnt/usb_disc/repos/phoenix/sphinxtools/inheritance.py", line 279, 
in makeInheritanceDiagram
    stdout, stderr = p.communicate(code)
UnboundLocalError: local variable 'p' referenced before assignment
Command '"/usr/bin/python" etg/_core.py --sip' failed with exit code 1.

This is a little mystic for me, what does it mean? Searching the web didn't 
really reveal its secret

I remember one had already built on a RPi3, so it should be possible, in 
general, shouldn't it?

Thank you
Claudia


-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.