gnome2 build failure
Jeremy Messenger
mezz7 at cox.net
Fri Feb 20 20:45:46 PST 2004
On Sat, 21 Feb 2004 09:35:33 +0800, Khairil Yusof <kaeru at 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.
More information about the freebsd-python
mailing list