Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-15 Thread manuel spuhler
Hello David,  sorry, I meant you before, but hey, hello too Dieter ;-)

I think I broke the thread, sorry for reposting:

I finally manage to install and run Zope 2.8.6 on Mac Intel after
installing the Universal package of python 2.4.3 for os x
(http://www.python.org/download/releases/2.4.3/).

Then I did the usual unix stuff:
$./configure --with-python=/usr/local/bin/python --prefix=/opt/Zope2.8
 make make install
$ /opt/Zope2.8/bin/mkzopeinstance.py

Even if this Python version is not supported, I didn't notice (yet;-)
any problem. As far as I know, it's the 1st Zope 2.8.6 and Plone 2.11
on Mac Intel and it's at least as fast as on Linux !!!

Thank you all for your help and happy zoping!

Manuel


Zope Version
(Zope 2.8.6-final, python 2.4.3, darwin)
Python Version
2.4.3 (#1, Mar 30 2006, 11:02:16) [GCC 4.0.1 (Apple Computer, Inc. build 5250)]
System Platform
darwinope Version
(Zope 2.8.6-final, python 2.4.3, darwin)
Python Version
2.4.3 (#1, Mar 30 2006, 11:02:16) [GCC 4.0.1 (Apple Computer, Inc. build 5250)]
System Platform
darwin
___
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: zope 2.8.6 on Mac Intel

2006-04-14 Thread manuel spuhler
Hello Dieter,

Thanks for your help, I have Zope 2.8.6 and Python 2.3.5 compiled with
Fink. I also had the same problem with python 2.3.5 from Apple, which
is known to lack some features, so you might be right with conflicting
Python version. Under Unbutu, I used to compile Zope with python-devel
package installed, but can't find it for os x. I'm going to try a few
more python distro, like darwinport or macpython to see if it works.

Manuel



2006/4/14, David H [EMAIL PROTECTED]:
  Dieter Maurer wrote:
  manuel spuhler wrote at 2006-4-12 21:40 +0200:


  ...
  File /opt/Zope2.8/lib/python/ZODB/__init__.py, line 21,
 in ?
  from persistent import TimeStamp
  File /opt/Zope2.8/lib/python/persistent/__init__.py,
 line 19, in ?
  from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
 ImportError: Inappropriate file type for dynamic loading

  Something is wrong with your cPersistent.so file.

  It should be a dynamically loaded shared object but somehow it is not.

 I cannot tell you why...



  Manuel,

  Last time I saw cPersistent.so mentioned as a problem it had to do with
 conflicting python versions.  No idea either, otherwise.
  Did you mention your zope version *and* the python versions you are using?
 (check your control panel) Didnt see the start of this thread.

  David



___
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: zope 2.8.6 on Mac Intel

2006-04-14 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I don't see how a packaged Python that is possibly compiled with  
dubious options and split up along dubious lines into Python, Python- 
dev and Python-whatever is better than a self-compiled Python on OS X.


The following document tells you how to do it:

http://www.zope.org/Members/jens/docs/Document.2003-12-27.2431/view

Self-compiling is not rocket science.

jens


On 14 Apr 2006, at 22:21, manuel spuhler wrote:


Hello Dieter,

Thanks for your help, I have Zope 2.8.6 and Python 2.3.5 compiled with
Fink. I also had the same problem with python 2.3.5 from Apple, which
is known to lack some features, so you might be right with conflicting
Python version. Under Unbutu, I used to compile Zope with python-devel
package installed, but can't find it for os x. I'm going to try a few
more python distro, like darwinport or macpython to see if it works.

Manuel



2006/4/14, David H [EMAIL PROTECTED]:

 Dieter Maurer wrote:
 manuel spuhler wrote at 2006-4-12 21:40 +0200:


 ...
 File /opt/Zope2.8/lib/python/ZODB/__init__.py, line 21,
in ?
 from persistent import TimeStamp
 File /opt/Zope2.8/lib/python/persistent/__init__.py,
line 19, in ?
 from cPersistence import Persistent, GHOST, UPTODATE, CHANGED,  
STICKY

ImportError: Inappropriate file type for dynamic loading

 Something is wrong with your cPersistent.so file.

 It should be a dynamically loaded shared object but somehow it is  
not.


I cannot tell you why...



 Manuel,

 Last time I saw cPersistent.so mentioned as a problem it had to  
do with

conflicting python versions.  No idea either, otherwise.
 Did you mention your zope version *and* the python versions you  
are using?

(check your control panel) Didnt see the start of this thread.

 David


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEQA4ZRAx5nvEhZLIRAuxjAJ4jAG6yti+W8hAIqfs6A1+//CybmACggGch
PTs20xqyKq0mp0ImM5FhdEk=
=cd3I
-END PGP 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 )


Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-14 Thread manuel spuhler
Thank you, I tried that already, but for some reasons, it did'nt work

2006/4/14, Jens Vagelpohl [EMAIL PROTECTED]:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I don't see how a packaged Python that is possibly compiled with
 dubious options and split up along dubious lines into Python, Python-
 dev and Python-whatever is better than a self-compiled Python on OS X.

 The following document tells you how to do it:

 http://www.zope.org/Members/jens/docs/Document.2003-12-27.2431/view

 Self-compiling is not rocket science.

 jens


 On 14 Apr 2006, at 22:21, manuel spuhler wrote:

  Hello Dieter,
 
  Thanks for your help, I have Zope 2.8.6 and Python 2.3.5 compiled with
  Fink. I also had the same problem with python 2.3.5 from Apple, which
  is known to lack some features, so you might be right with conflicting
  Python version. Under Unbutu, I used to compile Zope with python-devel
  package installed, but can't find it for os x. I'm going to try a few
  more python distro, like darwinport or macpython to see if it works.
 
  Manuel
 
 
 
  2006/4/14, David H [EMAIL PROTECTED]:
   Dieter Maurer wrote:
   manuel spuhler wrote at 2006-4-12 21:40 +0200:
 
 
   ...
   File /opt/Zope2.8/lib/python/ZODB/__init__.py, line 21,
  in ?
   from persistent import TimeStamp
   File /opt/Zope2.8/lib/python/persistent/__init__.py,
  line 19, in ?
   from cPersistence import Persistent, GHOST, UPTODATE, CHANGED,
  STICKY
  ImportError: Inappropriate file type for dynamic loading
 
   Something is wrong with your cPersistent.so file.
 
   It should be a dynamically loaded shared object but somehow it is
  not.
 
  I cannot tell you why...
 
 
 
   Manuel,
 
   Last time I saw cPersistent.so mentioned as a problem it had to
  do with
  conflicting python versions.  No idea either, otherwise.
   Did you mention your zope version *and* the python versions you
  are using?
  (check your control panel) Didnt see the start of this thread.
 
   David

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (Darwin)

 iD8DBQFEQA4ZRAx5nvEhZLIRAuxjAJ4jAG6yti+W8hAIqfs6A1+//CybmACggGch
 PTs20xqyKq0mp0ImM5FhdEk=
 =cd3I
 -END PGP 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 )

___
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: zope 2.8.6 on Mac Intel

2006-04-13 Thread Dieter Maurer
manuel spuhler wrote at 2006-4-12 21:40 +0200:
 ...
  File /opt/Zope2.8/lib/python/ZODB/__init__.py, line 21, in ?
from persistent import TimeStamp
  File /opt/Zope2.8/lib/python/persistent/__init__.py, line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: Inappropriate file type for dynamic loading

Something is wrong with your cPersistent.so file.

   It should be a dynamically loaded shared object but somehow it is not.

I cannot tell you why...


-- 
Dieter
___
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: zope 2.8.6 on Mac Intel

2006-04-13 Thread David H




Dieter Maurer wrote:

  manuel spuhler wrote at 2006-4-12 21:40 +0200:
  
  
...
 File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ?
   from persistent import TimeStamp
 File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ?
   from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: Inappropriate file type for dynamic loading

  
  
Something is wrong with your "cPersistent.so" file.

   It should be a dynamically loaded shared object but somehow it is not.

I cannot tell you why...


  

Manuel,

Last time I saw cPersistent.so mentioned as a problem it had to do with
conflicting python versions. No idea either, otherwise. 
Did you mention your zope version *and* the python versions you are
using? (check your control panel) Didnt see the start of this thread.

David




___
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: zope 2.8.6 on Mac Intel

2006-04-12 Thread manuel spuhler
Hello,

I re-installed Tiger on my Mac from scratch, and tried to compile Zope
(with python from Fink). Hopefully, everything went fine this time.

Then I succeeded to instanciate Zope.

And I started Zope, and it failed, bouhouhou.

As I am totally new in Python/C I don't know what the error means.
Have you an idea for me please?

Here is the trace:

/plone/bin/zopectl start
Traceback (most recent call last):
  File /opt/Zope2.8/lib/python/Zope2/Startup/zopectl.py, line 322, in ?
main()
  File /opt/Zope2.8/lib/python/Zope2/Startup/zopectl.py, line 280, in main
options.realize(args)
  File /opt/Zope2.8/lib/python/Zope2/Startup/zopectl.py, line 91, in realize
ZDOptions.realize(self, *args, **kw)
  File /opt/Zope2.8/lib/python/zdaemon/zdoptions.py, line 273, in realize
self.load_schema()
  File /opt/Zope2.8/lib/python/zdaemon/zdoptions.py, line 321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
  File /opt/Zope2.8/lib/python/ZConfig/loader.py, line 31, in loadSchema
return SchemaLoader().loadURL(url)
  File /opt/Zope2.8/lib/python/ZConfig/loader.py, line 65, in loadURL
return self.loadResource(r)
  File /opt/Zope2.8/lib/python/ZConfig/loader.py, line 159, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
  File /opt/Zope2.8/lib/python/ZConfig/schema.py, line 27, in parseResource
xml.sax.parse(resource.file, parser)
  File /opt/Zope2.8/lib/python/Zope2/Startup/__init__.py, line 33, in parse
check_python_version()
  File /sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/expatreader.py,
line 107, in parse
  File /sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/xmlreader.py,
line 123, in parse
  File /sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/expatreader.py,
line 207, in feed
  File /sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/expatreader.py,
line 300, in start_element
  File /opt/Zope2.8/lib/python/ZConfig/schema.py, line 99, in startElement
getattr(self, start_ + name)(attrs)
  File /opt/Zope2.8/lib/python/ZConfig/schema.py, line 475, in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File /opt/Zope2.8/lib/python/ZConfig/schema.py, line 201, in
get_sect_typeinfo
datatype = self.get_datatype(attrs, datatype, null, base)
  File /opt/Zope2.8/lib/python/ZConfig/schema.py, line 194, in get_datatype
return self._registry.get(dtname)
  File /opt/Zope2.8/lib/python/ZConfig/datatypes.py, line 398, in get
t = self.search(name)
  File /opt/Zope2.8/lib/python/ZConfig/datatypes.py, line 423, in search
package = __import__(n, g, g, component)
  File /opt/Zope2.8/lib/python/Zope2/Startup/datatypes.py, line 20, in ?
from ZODB.config import ZODBDatabase
  File /opt/Zope2.8/lib/python/ZODB/__init__.py, line 21, in ?
from persistent import TimeStamp
  File /opt/Zope2.8/lib/python/persistent/__init__.py, line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: Inappropriate file type for dynamic loading
___
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: zope 2.8.6 on Mac Intel

2006-03-22 Thread manuel spuhler
Zope/Plone binary installer from http://plone.org/products/plone runs perfectly on Mac Intel !;-)
___
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: zope 2.8.6 on Mac Intel

2006-03-20 Thread Jens Vagelpohl


On 20 Mar 2006, at 07:42, Bernd Dorn wrote:

$ make
/usr/local/bin/python2.3 /Users/spuhlema/Desktop/Zope-2.8.6- 
final/setup.py \

build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build- 
base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-temp

running build
running build_py
error: package directory
'build/lib/darwin-8/5/2-i386-2/4/zope/app/traversing/ftests' does not
exist
make: *** [build] Error 1

I guess Python doesn't compile equally on PowerPc and Intel.
Any idea?


you need zlib support compiled into python, this is only done, if  
the zlib header files are found at configure time


do you have it?


Umh, take a look at the error message. Do you see anything that looks  
like a zlib problem? I don't.


jens

___
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: zope 2.8.6 on Mac Intel

2006-03-20 Thread manuel spuhler
you need zlib support compiled into python, this is only done, if thezlib header files are found at configure time
do you have it?I have zlib included at configure time
___
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: zope 2.8.6 on Mac Intel

2006-03-20 Thread Bernd Dorn


On 20.03.2006, at 09:37, Jens Vagelpohl wrote:



On 20 Mar 2006, at 07:42, Bernd Dorn wrote:

$ make
/usr/local/bin/python2.3 /Users/spuhlema/Desktop/Zope-2.8.6- 
final/setup.py \

build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build- 
base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-temp

running build
running build_py
error: package directory
'build/lib/darwin-8/5/2-i386-2/4/zope/app/traversing/ftests' does  
not

exist
make: *** [build] Error 1

I guess Python doesn't compile equally on PowerPc and Intel.
Any idea?


you need zlib support compiled into python, this is only done, if  
the zlib header files are found at configure time


do you have it?


Umh, take a look at the error message. Do you see anything that  
looks like a zlib problem? I don't.


last time i installed a zope on debian and forgot to install the zlib  
headers and the error was also far away from complaining about zlib,  
so i thought it might be this


on osx i would suggest using darwinports anyway




jens

___
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 )


Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-03-20 Thread manuel spuhler
on osx i would suggest using darwinports anywayTried with darwinports compiled form source (best on mac intel), and got the same error. 
$ ./configure --with-python=/opt/local/bin/python2.3  make... error: package directory 'build/lib/darwin-8/5/2-i386-2/4/zope/app/traversing/ftests' does not existmake: *** [build] Error 1
Anybody can tell me where I could start to try to fix this?
___
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: zope 2.8.6 on Mac Intel

2006-03-20 Thread Bernd Dorn


On 20.03.2006, at 20:46, manuel spuhler wrote:


on osx i would suggest using darwinports anyway


Tried with darwinports compiled form source (best on mac intel),  
and got the same error.


$ ./configure --with-python=/opt/local/bin/python2.3  make
...
error: package directory 'build/lib/darwin-8/5/2-i386-2/4/zope/app/ 
traversing/ftests' does not exist

make: *** [build] Error 1


i don't know the reason, but for me the above path is wrong, on other  
archs, it is a single directory for the build


i think it should read: build/lib/darwin-8.5.2-i386-2.4/zope/app/ 
traversing/ftests


somehow the dots got replaced

maybe it is a zpkgsetup problem?

on my old powerbook it is:
lib.darwin-8.5.0-Power_Macintosh-2.4

btw: there is something wrong with the python version, you configured  
2.3 but the lib directory ends with 2/4(2.4)






Anybody can tell me where I could start to try to fix this?


___
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 )


Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-03-19 Thread Jens Vagelpohl

$ make
/usr/bin/python /Users/spuhlema/Desktop/Zope-2.8.6-final/ 
setup.py \

build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build- 
base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-temp


This line shows you are using the system Python at /usr/bin/python.  
Don't. It's no good at all for compiling anything. Run configure  
with the --with-python=/path/to/python flag to use a self-compiled  
Python.


I have never used the Fink Python. It is child's play to compile  
Python yourself (with the exception of Python 2.3.5 on OS X 10.4), so  
that's the way to go. Here's the instructions I work from:


http://www.zope.org/Members/jens/docs/Document.2003-12-27.2431

These are not written for OS X/i386, but I'd be surprised if they  
didn't work on both platforms.


jens

___
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: zope 2.8.6 on Mac Intel

2006-03-19 Thread manuel spuhler
Hello,

Thank you for your hints. I successfully compiled python2.3.5 for OS
10.4, as described in Florent Guillaume's blog, but when I try to
compile Zope, I get the same error:

$ ./configure --prefix=/opt/Zope2.8 --with-python=/usr/local/bin/python2.3

Using Python interpreter at /usr/local/bin/python2.3

Configuring Zope installation

  - Zope top-level binary directory will be /opt/Zope2.8.
  - Makefile written.

  Next, run make.

$ make
/usr/local/bin/python2.3 /Users/spuhlema/Desktop/Zope-2.8.6-final/setup.py \
build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-temp
running build
running build_py
error: package directory
'build/lib/darwin-8/5/2-i386-2/4/zope/app/traversing/ftests' does not
exist
make: *** [build] Error 1

I guess Python doesn't compile equally on PowerPc and Intel.
Any idea?


2006/3/19, Jens Vagelpohl [EMAIL PROTECTED]:
  $ make
  /usr/bin/python /Users/spuhlema/Desktop/Zope-2.8.6-final/
  setup.py \
  build
  --build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/
  python-2.3
  --build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/
  python-2.3/build-lib
  --build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-
  base/python-2.3/build-scripts
  --build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/
  python-2.3/build-temp

 This line shows you are using the system Python at /usr/bin/python.
 Don't. It's no good at all for compiling anything. Run configure
 with the --with-python=/path/to/python flag to use a self-compiled
 Python.

 I have never used the Fink Python. It is child's play to compile
 Python yourself (with the exception of Python 2.3.5 on OS X 10.4), so
 that's the way to go. Here's the instructions I work from:

 http://www.zope.org/Members/jens/docs/Document.2003-12-27.2431

 These are not written for OS X/i386, but I'd be surprised if they
 didn't work on both platforms.

 jens

 ___
 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 )


Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-03-19 Thread Jens Vagelpohl


On 19 Mar 2006, at 19:30, manuel spuhler wrote:


Hello,

Thank you for your hints. I successfully compiled python2.3.5 for OS
10.4, as described in Florent Guillaume's blog, but when I try to
compile Zope, I get the same error:


There must be some odd difference then. It all works just fine on  
PPC... I'll ask a friend of mine who has a MacBook.


jens

___
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: zope 2.8.6 on Mac Intel

2006-03-19 Thread Bernd Dorn


On 19.03.2006, at 20:30, manuel spuhler wrote:


Hello,

Thank you for your hints. I successfully compiled python2.3.5 for OS
10.4, as described in Florent Guillaume's blog, but when I try to
compile Zope, I get the same error:

$ ./configure --prefix=/opt/Zope2.8 --with-python=/usr/local/bin/ 
python2.3


Using Python interpreter at /usr/local/bin/python2.3

Configuring Zope installation

  - Zope top-level binary directory will be /opt/Zope2.8.
  - Makefile written.

  Next, run make.

$ make
/usr/local/bin/python2.3 /Users/spuhlema/Desktop/Zope-2.8.6- 
final/setup.py \

build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build- 
base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/ 
python-2.3/build-temp

running build
running build_py
error: package directory
'build/lib/darwin-8/5/2-i386-2/4/zope/app/traversing/ftests' does not
exist
make: *** [build] Error 1

I guess Python doesn't compile equally on PowerPc and Intel.
Any idea?


you need zlib support compiled into python, this is only done, if the  
zlib header files are found at configure time


do you have it?




2006/3/19, Jens Vagelpohl [EMAIL PROTECTED]:

$ make
/usr/bin/python /Users/spuhlema/Desktop/Zope-2.8.6-final/
setup.py \
build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/
python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/
python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-
base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/
python-2.3/build-temp


This line shows you are using the system Python at /usr/bin/python.
Don't. It's no good at all for compiling anything. Run configure
with the --with-python=/path/to/python flag to use a self-compiled
Python.

I have never used the Fink Python. It is child's play to compile
Python yourself (with the exception of Python 2.3.5 on OS X 10.4), so
that's the way to go. Here's the instructions I work from:

http://www.zope.org/Members/jens/docs/Document.2003-12-27.2431

These are not written for OS X/i386, but I'd be surprised if they
didn't work on both platforms.

jens

___
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 )


___
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 )