How to build a c extension on a linux system
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 ? thx Ruediger ~~~~~~~~~~~~~~~~~~~~~~~~~ http://www.herrenausstatter.de - Der Online-Herrenausstatter Kostenlose Serviceline: 0800 -999 66 33 Versandkostenfreie Lieferung - 30 Tage R�ckgaberecht ~~~~~~~~~~~~~~~~~~~~~~~~~ Verwaltungsadresse: DePauli.com Aktiengesellschaft Stahlgruberring 3 - 81829 M�nchen Telefon: 089 / 530 75 170 - Telefax 089 / 514 50 666
On Mon, 4 Dec 2000 r.seiffert@herrenausstatter.de 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/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
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 - Zope@zope.org 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>
participants (3)
-
Oleg Broytmann -
r.seiffert@herrenausstatter.de -
Steve Spicklemire