From owner-freebsd-python@FreeBSD.ORG Fri Feb 20 20:45:46 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7593A16A4CE; Fri, 20 Feb 2004 20:45:46 -0800 (PST) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id D96BA43D1F; Fri, 20 Feb 2004 20:45:45 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao08.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040221044544.DEUG2412.lakemtao08.cox.net@mezz.mezzweb.com>; Fri, 20 Feb 2004 23:45:44 -0500 Date: Fri, 20 Feb 2004 22:44:42 -0600 To: Khairil Yusof References: <20040220055651.GG13847@toxic.magnesium.net> <20040220071247.GH13847@toxic.magnesium.net> <1077261279.14072.32.camel@shumai.marcuscom.com> <1077327332.21527.26.camel@wolverine.cerebro.net.my> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1077327332.21527.26.camel@wolverine.cerebro.net.my> User-Agent: Opera7.23/Linux M2 build 518 cc: Joe Marcus Clarke cc: FreeBSD GNOME Users cc: python@freebsd.org Subject: Re: gnome2 build failure X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 04:45:46 -0000 On Sat, 21 Feb 2004 09:35:33 +0800, Khairil Yusof wrote: > 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.