Re: [Zope] HELP: ZPatterns Installation on Linux

2001-01-20 Thread ender

assuming you have a source distro of zope than this 'should'  work

# from zope base dir
cd  lib/python/Products/ZPatterns
# the following is dependent on your python install, assuming
# a stock redhat rpm
cp /usr/lib/python1.5/config/Makefile.pre.in.boot .
make -f Makefile.pre.in boot
make

should do it leaving you with an *so file in your Zpatterns directory.

restart zope and you should be good to go.

kapil




On Friday 19 January 2001 14:11, J. Atwood wrote:
> The instructions in the README.txt and on zope.org are a little vague..
>
> How, indeed, do I " build this extension using the included Setup
> file in the ZPatterns directory" I can see the Setup file but that is
> about it.
>
> I would be more than happy to write up some documentation (on
> Zope.org) if someone sends me the answer.
>
> RH Linux 6.2, Zope 2.2.2, Latest ZPatterns
>
> Thanks,
> J
>
> ___
> 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 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] HELP: ZPatterns Installation on Linux

2001-01-19 Thread J. Atwood

After reading around more (a lot more) I got to.

>  cp /usr/lib/python1.5/config/Makefile.pre.in .
>  make -f Makefile.pre.in boot
>  make

At which point I get:

make
gcc -fPIC  -I../../ZODB -I../../../Components/ExtensionClass -g -O2 
-I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c 
./DynPersist.c
In file included from ./DynPersist.c:1:
../../ZODB/cPersistence.h:89: ExtensionClass.h: No such file or directory
make: *** [DynPersist.o] Error 1

I took a look and there is no ExtensionsClass. Any further help?

Thanks,
J


At 5:07 PM -0600 1/19/01, Steve Drees wrote:
>copy the Setup.in to the ZPatterns directory
>
>make -f Setup.in
>
>I think that's how I built it.
>It's been awhile
>
>>  -Original Message-
>>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of J.
>>  Atwood
>>  Sent: Friday, January 19, 2001 4:12 PM
>>  To: [EMAIL PROTECTED]
>>  Subject: [Zope] HELP: ZPatterns Installation on Linux
>>
>>
>>  The instructions in the README.txt and on zope.org are a little vague..
>>
>>  How, indeed, do I " build this extension using the included Setup
>>  file in the ZPatterns directory" I can see the Setup file but that is
>>  about it.
>>
>>  I would be more than happy to write up some documentation (on
>>  Zope.org) if someone sends me the answer.
>>
>>  RH Linux 6.2, Zope 2.2.2, Latest ZPatterns
>>
>>  Thanks,
>>  J
>>
>>  ___
>>  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 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 )