[Zope] Re: ImportError: No module named cPersistence

Tres Seaver tseaver at palladion.com
Thu Nov 16 21:03:10 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glenn Gillis wrote:
> Tres Seaver wrote:
>> Glenn Gillis wrote:
>>>> Jens Vagelpohl wrote:
>>>>> On 14 Nov 2006, at 02:34, Glenn Gillis wrote:
>>>>>
>>>>>>> I'm stuck on this error attempting to start Zope 2.9.5 with Python 2.4.3
>>>>>>> on a FreeBSD 4.11-RELEASE-p22 box:
>>>>>>>
>>>>>>> "ImportError: No module named cPersistence"
>>>>> I'm afraid this has nothing to do with the zope.conf file you quoted so
>>>>> judiciously. Did you actually *compile* Zope..?
>>>> Ah, yes. "./configure", "make", "make instance".
>> You didn't install it.  If you want to use the "working directory" in
>> which you unpacked the tarball your SOFTWARE_HOME, you need to run 'make
>> inplace', too.  Otherwise, you should run 'make install' (assuming you
>> passed an appropriate prefix to 'configure') and then re-do the 'make
>> instance' bit from the installed tree.
> 
> Huh, funny that I've never heard of, much less used, the "inplace" make
> target when building Zope.
> 
> I will give this a try and see how things go. Thanks for the suggestion,
> Tres.

Turns out that the makefile didn't tell you you needed to run 'make
inplace' before using the instance created with 'make instance' -- I
filed and fixed a collector bug on that issue:

  http://www.zope.org/Collectors/Zope/2237


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFXRhe+gerLs4ltQ4RAp1QAJ4xVPv/rE8vSfq0aEoUXXD6LvcgZwCgmHbc
zeE5gZ1duA7BM1EMy8OjRBM=
=RGS+
-----END PGP SIGNATURE-----



More information about the Zope mailing list