Re: [Zope] which python gets used ... ?

2000-10-26 Thread Ender

Jonathan Cheyne wrote:
 
 Hi, just a quickie idiot question ..
 
 Does zope use any of the python on my RH6.2 box or does it use its own
 copy exclusively?
 
 I was trying to install the python xml libraries to try our the hyperdom
 product. I installed an rpm succesfully before remembering that zope has
 its own python.
only on windows...

 I struggled to install a tgz version though and it
 struck me that I was probably not being as efficient as I could be ...
 
 So the question is: can I run zope using the stock RH6.2 distributions'
 own copy of python?

check if it has threads

try:
import threading
except:
print "this won't work"
import sys;sys.exit()
print "you can use this python"


if not normally a python install is as simple as

./configure --with-threads
make
su
make install

you might need to switch your path if you've got both pythons on your
system as most 
will put /usr/bin before /usr/local/bin

you can check which one your using with:: which python

to fix it in bash :: export PATH=/usr/local/bin:$PATH

cheers

kapil

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




[Zope] which python gets used ... ?

2000-10-25 Thread Jonathan Cheyne

Hi, just a quickie idiot question ..

Does zope use any of the python on my RH6.2 box or does it use its own
copy exclusively?

I was trying to install the python xml libraries to try our the hyperdom
product. I installed an rpm succesfully before remembering that zope has
its own python. I struggled to install a tgz version though and it
struck me that I was probably not being as efficient as I could be ...

So the question is: can I run zope using the stock RH6.2 distributions'
own copy of python?

cheers
Jonathan


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




Re: [Zope] which python gets used ... ?

2000-10-25 Thread Hannu Krosing

Chris Withers wrote:
 
 Jonathan Cheyne wrote:
 
  So the question is: can I run zope using the stock RH6.2 distributions'
  own copy of python?
 
 If it's Python 1.5.2, then yes... there's probably instructiosn for this
 on Zope.org near the bits about insatlling Zope from source on Linux.

IIRC there used to be subtle bugs, like batch processing in DTML giving
wrong page numbers 

---
Hannu

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