I'm not terribly surprised that 256MB is not enough to run the
Thank you for this James. I have followed it closely, but I get core dumps when trying to build. Very odd. I have posted the output in another post. If any ideas, most grateful.
--
You received this message because you are subscribed to a topic in the Google Groups "wxPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/gJlZW56ZG44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Check out the wxpython wiki, there are some minor changes that occurred when the newest version was released.There was a change with gtk2 to gtk3.
On Dec 6, 2017 15:56, "Daniel McBrearty" <danielm...@gmail.com> wrote:
Thank you for this James. I have followed it closely, but I get core dumps when trying to build. Very odd. I have posted the output in another post. If any ideas, most grateful.
--
You received this message because you are subscribed to a topic in the Google Groups "wxPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/gJlZW56ZG44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wxpython-user...@googlegroups.com.
I used a pi 3 myself, I had initially thought my difficulties were based on memory issues with my Pi zero. Though you will note that my notes at the bottom talk about if it hangs (esp. the pip install) to just restart the process. Maybe these two items are the same issue? I will up date the FAQ with the –jobs=1 flag just incase.
Sent from Mail for Windows 10
--
If you get a chance take a look at the wiki page and tell me if this is what you meant with the “–jobs=1”. I would, obviously, like to accurate. Also I’m wondering if something similar could be passed to pip or if the package could be edited to enable a similar restraint.
Sent from Mail for Windows 10
From: Daniel McBrearty
Sent: Monday, December 11, 2017 11:55
To: wxPython-users
Subject: [wxPython-users] Re: Raspberry Pi build of Daily Snap Shots
There seems to me to be an issue most likely caused by concurrency to the sdCard - the build uses four concurrent jobs on an RPi, but it seems that some kind of corruption can occur - perhaps due to caching to the card? I don't know, but I've been now almost a week trying to get a clean build on an RPi 3, and I have succeeded exactly once. I have seen a lot of random seeming hangs, core dumps and crashes, and I am pretty sure the problem is not me.
--
I investigating a “–skip-build” in the setup.py. This may be your fix.
Sent from Mail for Windows 10
From: Daniel McBrearty
Sent: Monday, December 11, 2017 11:55
To: wxPython-users
Subject: [wxPython-users] Re: Raspberry Pi build of Daily Snap Shots
There seems to me to be an issue most likely caused by concurrency to the sdCard - the build uses four concurrent jobs on an RPi, but it seems that some kind of corruption can occur - perhaps due to caching to the card? I don't know, but I've been now almost a week trying to get a clean build on an RPi 3, and I have succeeded exactly once. I have seen a lot of random seeming hangs, core dumps and crashes, and I am pretty sure the problem is not me.
--
For the compilation step, recommend to use the --jobs=1 flag (that seems to give a stable build) but - unfortunately - the final "pip install" step *also* kicks off a round of multithread compilation which can also hang.
$ pip3 install -r requirements.txt $ cd wxPython-4.0.0b2
Another thing to note is DON'T do "make clean" (not sure what it does but it's not what you expect as it seems to result in a build with core package missing) and if you hit problems - start again, even with a fresh install because you might have corrupted the card (this happened at least once to me). Setting the boot options to ALWAYS run fsck is also a good idea.For my part - I'm afraid that I was able to install and run Qt in a matter of minutes on the RPi (OK, not in a virtualenv, but that is not a prerequisite for me on this project - I am quite happy for my code to all use the installed python3, that should not cause problems unless python libraries are somewhere mutually incompatible, god forbid) so I am more than half convinced to just cut my losses and migrate now. For me, stability and repeatability are not really optional, and when I see that something in a build is resulting in this kind of flaky behaviour - I get a bit concerned.All the best and many thanks for the help,Daniel
On Sunday, 9 July 2017 23:30:41 UTC+2, James Key wrote:Has anyone successfully built one on the daily snapshots on Raspberry Pi. I'm currently running 'Jessie' and attempted to build 4.0.0a4.dev3185. I was unable to compile the DEBUG version due to what appeared to be a memory issue, so I compiled the RELEASE version. It compiles but when it attempts to link it runs out of memory. The Pi has 256MB of memory so I thought I'd try a virtual QEMU install. It's hard coded with the same memory cap in the kernel.Are there some switches I'm missing? or is it possible to use another ARM Debian kernel to compile it on QEMU?
--
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-user...@googlegroups.com.
> I don't know how to make pip run single threaded but that is clearly advisable.I’m pretty sure pip IS single threaded— which is why you can’t find a flag about it.However, pip will simply invoke setuptools’ build, so THAT may not be single threaded.But if this is all done right, if you’ve Already built it, pip shouldn’t build again.So something is off.
Thanks Robin!
--
You received this message because you are subscribed to a topic in the Google Groups "wxPython-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/gJlZW56ZG44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wxpython-user...@googlegroups.com.