Not being able to compile: "make: *** [Programs/_freeze_importlib] Error 1"
Hello! It's been a while since I compiled python and run the test suite. Now that I'm starting to work in a patch, wanted to do that as a sanity check, and even "./configure" finishing ok, "make" fails :/ (I'm on Ubuntu Trusty, all packages updated, all dependencies theorically installed). Full trace here: http://linkode.org/TgkzZw90JUaoodvYzU7zX6 Before going into a deep debug, I thought about sending a mail to see if anybode else hit this issue, if it's a common problem, if there's a known workaround. Thanks!! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ Twitter: @facundobatista
On Thu, 16 Apr 2015 18:09:01 -0300, Facundo Batista <facundobatista@gmail.com> wrote:
Most likely you just need to run 'make touch' so that it doesn't try to rebuild stuff it doesn't need to (because we check in those particular build artifacts, like the frozen importlib). --David
On Thu, Apr 16, 2015 at 6:34 PM, R. David Murray <rdmurray@bitdance.com> wrote:
"make touch" didn't fix it, but when doing that I noticed this message: Modules/Setup.dist is newer than Modules/Setup; check to make sure you have all the updates you need in your Modules/Setup file. Usually, copying Modules/Setup.dist to Modules/Setup will work. I copied that file, and then make touch, and then the "make" finished OK!!! Should we update the developer guide with these instructions, or all this is unlikely to happen? Thanks!! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ Twitter: @facundobatista
On Thu, Apr 16, 2015 at 9:23 PM Facundo Batista <facundobatista@gmail.com> wrote:
It happens on occasion. It definitely wouldn't hurt to add a little note to the UNIX build section of the devguide that this happens on occasion and so to look for it when running configure or make (it's always printed first so it's easy to spot).
participants (3)
-
Brett Cannon
-
Facundo Batista
-
R. David Murray