Date: Fri, 20 Feb 2004 22:44:42 -0600 From: Jeremy Messenger <mezz7@cox.net> To: Khairil Yusof <kaeru@pd.jaring.my> Cc: python@freebsd.org Subject: Re: gnome2 build failure Message-ID: <opr3pd4slw8ckrg5@smtp.central.cox.net> In-Reply-To: <1077327332.21527.26.camel@wolverine.cerebro.net.my> References: <20040220055651.GG13847@toxic.magnesium.net> <opr3nm5mbo8ckrg5@smtp.central.cox.net> <20040220071247.GH13847@toxic.magnesium.net> <1077261279.14072.32.camel@shumai.marcuscom.com> <opr3ov6dge8ckrg5@smtp.central.cox.net> <1077327332.21527.26.camel@wolverine.cerebro.net.my>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Feb 2004 09:35:33 +0800, Khairil Yusof <kaeru@pd.jaring.my> wrote: <snip> > I have to go now, I'll have a look later at find out what is running > after the bytecode compile script is run. I think, I found it at /usr/local/lib/python2.3/distutils/util.py at around 410 to 412 line. =============================== script.write(string.join(map(repr, py_files), ",\n") + "]\n") # <-- 395 line script.write(""" byte_compile(files, optimize=%s, force=%s, prefix=%s, base_dir=%s, verbose=%s, dry_run=0, direct=1) """ % (`optimize`, `force`, `prefix`, `base_dir`, `verbose`)) # successed to print /tmp/tmp*.py script.close() # <-- 403 line cmd = [sys.executable, script_name] if optimize == 1: cmd.insert(1, "-O") elif optimize == 2: cmd.insert(1, "-OO") spawn(cmd, dry_run=dry_run) # <-- 410 line, this one create *.pyo files correct? execute(os.remove, (script_name,), "removing %s" % script_name, dry_run=dry_run) # <-- 412 line =============================== So, it failed at execute()? or else? Cheers, Mezz -- bsdforums.org 's moderator, mezz.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr3pd4slw8ckrg5>