Re: [Zope] Re: ImportError: No module named cPersistence when creating new instance

2007-04-05 Thread michael nt milne

if the make install step had been missed then wouldn't the initial zope
instance be faulty?

On 4/4/07, Laurence Rowe [EMAIL PROTECTED] wrote:


Sounds like you have missed the make install step. You should then be
able to run $SOFTWARE_HOME/bin/mkzopeinstance.py directly to create a
new instance using this version of the software.

Laurence


michael nt milne wrote:
 yes, the main instance runs fine but not the new one which was created
 using mkzopeinstance.py...I checked the archives but they don't help

 On 4/4/07, *Martijn Pieters *
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 On 4/4/07, michael nt milne 
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   I'm getting this when running ./zopectl after creating a new
 instance. This
   was simply using the /utilities/mkzopeinstance.py script from
 within the
   main zope directory and running the system python on it. The
original
   instance works fine but not the new one. Any ideas?

 Did you compile the Zope C extensions? ./configure; make

 --
 Martijn Pieters




 --
 michael


 

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: ImportError: No module named cPersistence

2006-11-18 Thread Maciej Wisniowski
   [EMAIL PROTECTED]:newplone.climatelaw.org]$ make inplace
   make: don't know how to make
   PREFIX=/usr/local/zope/software-home/Zope-2.8.5-final. Stop
 
If you have tar.gz Zope version try:

0. go to your folder with install files
1. ./configure --prefix=/opt/Zope/Zope285
2. make
3. make install
4. cd /opt/Zope/Zope285/bin
5. ./mkzopeinstance


-- 
Maciej Wisniowski
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: ImportError: No module named cPersistence

2006-11-17 Thread Glenn Gillis
Tres Seaver wrote:
 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

While I'm happy to have unearthed a bug that could be fixed, and hate to
beat this thing into the ground, when I run make inplace prior to
make instance I just get the following error:

  [EMAIL PROTECTED]:newplone.climatelaw.org]$ make inplace
  make: don't know how to make
  PREFIX=/usr/local/zope/software-home/Zope-2.8.5-final. Stop

My directory tree is like this:

/usr/local/zope
/instance-home
/newplone.climatelaw.org
/someotherinstance.elaw.org
/software-home
/Python-2.4.3
/Zope-2.8.5
/Plone-2.1.2
/products-home

/usr/local/zope is owned by user/group zope/zope, and I'm running the
configure and make as user zope.

I swear I have several other Zope/Plone site running on this box that I
was able to set up without resorting to any mailing lists!

If Tres, or anyone else, has a helpful suggestion for getting around
this error, I'm all ears.

Glenn


 Tres.
 --
 ===
 Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
 Palladion Software   Excellence by Designhttp://palladion.com

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



smime.p7s
Description: S/MIME Cryptographic Signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )