Re: [Zope] How to build a c extension on a linux system

2000-12-04 Thread Oleg Broytmann

On Mon, 4 Dec 2000 [EMAIL PROTECTED] wrote:
 i would like to install a zope product that includes a c extension
 (DynPersist.c) with a Setup file like this:

 *shared*
 DynPersist DynPersist.c-I../../ZODB
 -I../../../Components/ExtensionClass

 has anybody an idea, how to start the compilation ?

   make -f $SOMEWHERE/Makefile.pre.in boot  make

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
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] How to build a c extension on a linux system

2000-12-04 Thread Steve Spicklemire



I keep my own CVS'ed versions of ZPatterns and PlugIns so I can
patch/change with a little control. For my own convenience I 
put a build.py file in the ZPatterns directory and my usual
sequence is:


cvs co ZPatterns
cvs co PlugIns

cd ZPatterns
python build.py

this way I don't have to think very hard when 
I'm installing on a new Zope 


build.py:
--
import os


os.system('cp /usr/local/lib/python1.5/config/Makefile.pre.in .')
os.system('make -f Makefile.pre.in boot')
os.system('make')

--

Is that what you're looking for?

-steve

R 
R 
R i would like to install a zope product that includes a c extension
R (DynPersist.c) with a Setup file like this:
R 
R *shared*
R DynPersist DynPersist.c-I../../ZODB
R -I../../../Components/ExtensionClass
R 
R has anybody an idea, how to start the compilation ?
R thx Ruediger
R 
R ~
R http://www.herrenausstatter.de - Der Online-Herrenausstatter
R Kostenlose Serviceline: 0800 -999 66 33
R Versandkostenfreie Lieferung - 30 Tage Rückgaberecht
R ~
R Verwaltungsadresse:
R DePauli.com Aktiengesellschaft
R Stahlgruberring 3 - 81829 München
R Telefon: 089 / 530 75 170 - Telefax 089 / 514 50 666
R 
R ___
R Zope maillist  -  [EMAIL PROTECTED]
R http://lists.zope.org/mailman/listinfo/zope
R **   No cross posts or HTML encoding!  **
R (Related lists - 
R  http://lists.zope.org/mailman/listinfo/zope-announce
R  http://lists.zope.org/mailman/listinfo/zope-dev )
R 

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