From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 13:38:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CA7D16A4FF for ; Tue, 5 Dec 2006 13:38:32 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F30E43FFE for ; Tue, 5 Dec 2006 13:28:35 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (sccrmhc12) with ESMTP id <200612051328580120011jaie>; Tue, 5 Dec 2006 13:28:58 +0000 From: Josh Paetzel To: freebsd-questions@freebsd.org Date: Tue, 5 Dec 2006 07:28:30 -0600 User-Agent: KMail/1.9.4 References: <20061205113826.16632.qmail@web57809.mail.re3.yahoo.com> In-Reply-To: <20061205113826.16632.qmail@web57809.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612050728.30618.josh@tcbug.org> Cc: Rachel Florentine Subject: Re: Corrupted C Compiler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 13:38:32 -0000 On Tuesday 05 December 2006 05:38, Rachel Florentine wrote: > 81----- Original Message ---- > From: Jan Grant > > >When you have a chance, it'd be nice to get a detailed error > > report (including the command you were running to clean up the > > libraries). > > I get this error when I try to runzope: > > ImportError: No module named cPersistence > > I yahoo'd this page: > > http://aspn.activestate.com/ASPN/Mail/Message/zope-List/1985451 > > which told me about the problem with my corrupted files (c > extensions) and said I needed to recompile them with this command: > > python setup.py build_ext -if > > which takes care of that problem. What is interesting is that I do > not have this problem if I compile from port! Now, all I'm doing is > the configure-make-make install-make instance dance, which is a > no-brainer. TIA, > Rachel > > That rebuilds the python C library interface stuff I believe, but doesn't have anything at all to do with the system C compiler. There is nothing wrong with your system C compiler. If you look at the Zope port there are a bunch of FreeBSD-specific patches and some additional magic is performed after the build that would also be FreeBSD-centric. I suspect your problems perhaps stem from the fact that installing Zope by hand doesn't give you these patches. -- Thanks, Josh Paetzel