[ZPatterns] ZPatterns is busted on 1st install..please help
Rob Miller
[email protected]
Fri, 03 Jan 2003 21:59:27 -0800
the DynPersist.c file lives in the ZPatterns product directory. you've
got to get the correct 'Makefile.pre.in' for your system (check in the
source code of the python installation, if you have it) and place it in
the ZPatterns product directory. then cd into this directory and
execute the following commands:
make -f Makefile.pre.in boot; make
this should compile the module in question. restart zope and all
should be well.
this information is available in various documentation locations...
you'll need to get used to using those resources if you hope to use
ZPatterns effectively. it's a bit of a learning curve, but well worth
it, IMO, even if it's only for the design patterns education. you've
seen the recent ZPatterns How-To on zope.org? that's probably the best
place to start...
-r
On Friday, January 3, 2003, at 07:17 AM, (by way of "Phillip J. Eby"
<[email protected]>) wrote:
> Sorry here is traceback.. seems like c module was never properly
> installed even though it was using the correct version of python....
>
> Product at <http://c-media.com.au/manage_workspace>
> /<http://c-media.com.au/Control_Panel/manage_workspace>Control_Panel/
> <http://c-media.com.au/Control_Panel/Products/
> manage_workspace>Products/<http://c-media.com.au/Control_Panel/
> Products/ZPatterns/manage_workspace>ZPatterns
>
> Import Traceback
>
>
> Traceback (most recent call last):
> File "/usr/local/www/Zope/lib/python/OFS/Application.py", line 531,
> in import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File
> "/usr/local/www/Zope/lib/python/Products/ZPatterns/__init__.py", line
> 1, in ?
> import Rack, Specialists, Customizers, AttributeProviders,
> SheetProviders
> File "/usr/local/www/Zope/lib/python/Products/ZPatterns/Rack.py",
> line 8, in ?
> from DataSkins import DataSkin
> File
> "/usr/local/www/Zope/lib/python/Products/ZPatterns/DataSkins.py", line
> 1, in ?
> from DynPersist import DynPersist
> ImportError: No module named DynPersist
>
> _______________________________________________
> ZPatterns mailing list
> [email protected]
> http://www.eby-sarna.com/mailman/listinfo/zpatterns