build Phoenix on Ubuntu

I am not sure but If I understand it right this group is for Phoenix,
too? I tried to build Phonenix with python3 on Kubuntu 14.04 but have
problems - of course. :wink:

That is the bash
[bash]
user@TONNE:~/Downloads/test/trunk$ python3 ./build.py build
Build using: "/usr/bin/python3"
3.4.0 (default, Apr 11 2014, 13:05:18)
[GCC 4.8.2]
Python's architecture is 32bit
cfg.VERSION: 3.0.3

Running command: build
Running command: build_wx
Traceback (most recent call last):
  File "./build.py", line 1624, in <module>
    main(sys.argv[1:])
  File "./build.py", line 168, in main
    function(options, args)
  File "./build.py", line 1004, in cmd_build
    cmd_build_wx(options, args)
  File "./build.py", line 1061, in cmd_build_wx
    if newer(dep, os.path.join(BUILD_DIR, "Makefile")):
  File "/usr/lib/python3.4/distutils/dep_util.py", line 19, in newer
    os.path.abspath(source))
distutils.errors.DistutilsFileError: file
'/home/user/Downloads/test/Makefile.in' does not exist Finished
command: build_wx (0.63s) Finished command: build (0.63s)
[/bash]

And that is the svn-information
[svn]
user@TONNE:~/Downloads/test/trunk$ svn info
Pfad: .
Wurzelpfad der Arbeitskopie: /home/user/Downloads/test/trunk
URL: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk
Relative URL: ^/wxPython/Phoenix/trunk
Basis des Projektarchivs: https://svn.wxwidgets.org/svn/wx
UUID des Projektarchivs: c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Revision: 78431
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: RD
Letzte geänderte Rev: 78352
Letztes Änderungsdatum: 2015-01-05 21:55:10 +0100 (Mo, 05. Jan 2015)
[/svn]

moonkid@posteo.org wrote:

I am not sure but If I understand it right this group is for Phoenix,
too?

Yes. This is the development group, and Phoenix is the in-development version of wxPython.

I tried to build Phonenix with python3 on Kubuntu 14.04 but have
problems - of course. :wink:

That is the bash
[bash]
user@TONNE:~/Downloads/test/trunk$ python3 ./build.py build
Build using: "/usr/bin/python3"
3.4.0 (default, Apr 11 2014, 13:05:18)
[GCC 4.8.2]
Python's architecture is 32bit
cfg.VERSION: 3.0.3

Running command: build
Running command: build_wx
Traceback (most recent call last):
   File "./build.py", line 1624, in<module>
     main(sys.argv[1:])
   File "./build.py", line 168, in main
     function(options, args)
   File "./build.py", line 1004, in cmd_build
     cmd_build_wx(options, args)
   File "./build.py", line 1061, in cmd_build_wx
     if newer(dep, os.path.join(BUILD_DIR, "Makefile")):
   File "/usr/lib/python3.4/distutils/dep_util.py", line 19, in newer
     os.path.abspath(source))
distutils.errors.DistutilsFileError: file
'/home/user/Downloads/test/Makefile.in' does not exist Finished
command: build_wx (0.63s) Finished command: build (0.63s)
[/bash]

And that is the svn-information
[svn]
user@TONNE:~/Downloads/test/trunk$ svn info
Pfad: .
Wurzelpfad der Arbeitskopie: /home/user/Downloads/test/trunk
URL: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk
Relative URL: ^/wxPython/Phoenix/trunk
Basis des Projektarchivs: https://svn.wxwidgets.org/svn/wx
UUID des Projektarchivs: c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Revision: 78431
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: RD
Letzte geänderte Rev: 78352
Letztes Änderungsdatum: 2015-01-05 21:55:10 +0100 (Mo, 05. Jan 2015)
[/svn]

By default build.py will also build the wxWidgets library, so you either need to also have the wxWidgets source (using the WX_3_0_BRANCH branch) or you need to tell Phoenix's build tool to use an existing wxWidgets installation instead. If you decide to include wxWidgets in your build (I recommend this approach, at least until there are official releases) then it may be easier to use a Phoenix source tar file instead of fetching from subversion or git. That way you can be sure to have a compatible version of the wxWidgets code.

Plus, I think Phoenix is going to be git-only from now on. Or at least primarily git with a svn mirror (instead of the opposite). wxWidgets will probably be switching soonish as well. So going git or use a source tarball will be better choices.

···

--
Robin Dunn
Software Craftsman

I am sorry about confusing this lists. I started on wxPython-users a
thread with the same topic. And there was a solution.
So just for the archive, here the thread on wxPython-users
<https://groups.google.com/d/topic/wxpython-users/0mpGSG9zZd0>

Sorry, for putting google-links here. I am not happy about hosting this
list on google.