@nickoe Please do not build this with yaourt, since yaourt with attempt to build it in /tmp/ and will use up all of your RAM very quickly, causing files to go missing.
please build it using makepkg instead.
Git Clone URL: | https://aur.archlinux.org/wxpython-phoenix-git.git (read-only, click to copy) |
---|---|
Package Base: | wxpython-phoenix-git |
Description: | Python 3 implementation of the WxPython UI library |
Upstream URL: | https://github.com/wxWidgets/Phoenix |
Keywords: | phoenix wxpython |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | ase1590 |
Maintainer: | None |
Last Packager: | ase1590 |
Votes: | 5 |
Popularity: | 0.000000 |
First Submitted: | 2017-01-08 07:38 |
Last Updated: | 2018-04-07 16:52 |
@nickoe Please do not build this with yaourt, since yaourt with attempt to build it in /tmp/ and will use up all of your RAM very quickly, causing files to go missing.
please build it using makepkg instead.
I get this build error
chmod: cannot access '/tmp/yaourt-tmp-nickoe/aur-python-wxpython-phoenix/pkg/python-wxpython-phoenix/usr/lib/python3.6/site-packages/wxPython-4.0.1-py3.6.egg-info/*': No such file or directory
The build function attempts to download old versions of doxygen, sip, and waf. You should insert following lines before "python build.py ..."
export DOXYGEN=/usr/bin/doxygen
export SIP=/usr/bin/sip
export WAF=/usr/bin/waf
Additionally, you must include doxygen, sip, and waf in the makedepends array. Unfortunately, the build still fails after all that. Can you please verify the script?
@berbigou, this package is very large to compile (>4GB) and will easily overload your memory if you try to build it with the default settings of yaourt. make sure you have at least 6 GB free on your hard drive, then try compiling with "makepkg" instead of using an aur helper. it compiled fine for me.
doesn't compile for me.
complains about paths (Please see errors at the end):
------------ BUILD FINISHED ------------
To use wxPython from the build folder (without installing):
- Set your PYTHONPATH variable to /Docs/Temp/yaourt/aur-wxpython-phoenix-git/src/wxpython-phoenix-git.
[...]
Done!
==> Entre dans l’environnement fakeroot...
chmod: impossible d'accéder à '/Docs/Temp/yaourt/aur-wxpython-phoenix-git/wxpython-phoenix-git/pkg': Aucun fichier ou dossier de ce type (means no file or folder of this type)
/usr/bin/fakeroot : ligne 181 : 16850 Signal #1 défini par l'usager FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$LIB" "$@"
@anntzer, is this not building for you with the features of 4.0? the nature of a git packages is that regardless of what version the AUR claims it is, it will always grab the latest git commit of the source code. so in theory all you need to do is simply re-install it to pull in the latest changes on wxpython. I'm not seeing any new build flags on the project page, so simply re-building the package from source using makepkg and re-installing should be sufficient.
There have been 100 new commits to the code since 4.0.0b1, are you wanting me to create a new package to build the older 4.0.0b1 pre-release?
for now, I'll bump the version tonight when i have time so it will flag it as needing updated.
Hi, could you consider publishing a PKGBUILD that specifically builds the latest (pre)release (https://github.com/wxWidgets/Phoenix/releases) -- 4.0.0b1 as of today?
It "should" just be a matter of replacing the source accordingly...
Thanks!
@qft, fixed!
Thank you very much! Also 'wxgtk' does not need to be a dependency because the latest wxgtk is included in this package already. If you do `pacman -Ql wxpython-phoenix-git` you will see all the so files of wxgtk is installed to /usr/lib/python3.6/site-packages/wx/.
@qft, thanks! haven't had time to look at the new build options for gtk3 lately. Will update the pkgbuild with the changes you made.
Pinned Comments
ase1590 commented on 2017-01-08 07:48
Keep in mind when using this package, I have renamed anything installed into /usr/bin (such as img2py, img2png etc.) to img2py-phoenix, img2png-phoenix etc. in order for it to coexist with wxpython. Also, you'll need at least 5 GB of space to compile this project. building it using a aur helper that uses tmpfs ramdisk is not advised.
Drop a comment here if you have issues. I may optionally e-mail you to resolve any complex problems.
Wxpython-phoenix 4.0.1-1 is now in the arch community repo under the name 'python-wxpython' with full python 3 support. the python2 package 'python2-wxpython3' is also optionally available.
Maintainer requests are welcome.
Notice: this package is very large to compile (>4GB) and will easily overload your memory if you try to build it with the default settings of yaourt. make sure you have at least 6 GB free on your hard drive, then try compiling with "makepkg" instead of using an aur helper.