[Zope-Coders] Signal handling

Jens Vagelpohl jens@zope.com
Tue, 11 Jun 2002 22:31:06 -0400


trying to build the trunk on python 2.1.3 currently fails with an exception 
while building _IIBTree inside the BTrees package. i am CC'ing pythonlabs 
to see if they have an idea what is happening::

<snip>
cc  -g -O2 -Wall -Wstrict-prototypes -no-cpp-precomp -I/usr/local/include/
python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H  
-I../../Components/ExtensionClass/src -I../ZODB -c ././_OOBTree.c -o 
./_OOBTree.o
cc  -flat_namespace -bundle -undefined suppress  ./_OOBTree.o   -o 
./_OOBTree.so
cc  -g -O2 -Wall -Wstrict-prototypes -no-cpp-precomp -I/usr/local/include/
python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H  
-I../../Components/ExtensionClass/src -I../ZODB -c ././_OIBTree.c -o 
./_OIBTree.o
cc  -flat_namespace -bundle -undefined suppress  ./_OIBTree.o   -o 
./_OIBTree.so
cc  -g -O2 -Wall -Wstrict-prototypes -no-cpp-precomp -I/usr/local/include/
python2.1 -I/usr/local/include/python2.1 -DHAVE_CONFIG_H  
-I../../Components/ExtensionClass/src -I../ZODB -I../../Components -c 
././_IIBTree.c -o ./_IIBTree.o
In file included from SetOpTemplate.c:444,
                  from BTreeModuleTemplate.c:373,
                  from ././_IIBTree.c:19:
sorters.c:38: malloc.h: No such file or directory
make: *** [_IIBTree.o] Error 1
Traceback (most recent call last):
   File "wo_pcgi.py", line 45, in ?
   File "wo_pcgi.py", line 33, in main
   File "/tmp/Zope/inst/build_extensions.py", line 33, in ?
     make('lib','python','BTrees')
   File "/tmp/Zope/inst/do.py", line 63, in make
     do('make')
   File "/tmp/Zope/inst/do.py", line 32, in do
     if i and picky: raise SystemError, i
SystemError: 512
</snip>

jens


On Tuesday, June 11, 2002, at 08:47 , Chris McDonough wrote:

> Hi all,
>
> I just merged some signal handling code into the Zope 2 trunk.
>
> It appears to "work for me" on Linux.
>
> If anybody who runs the following systems could take the time
> to test it, it would be helpful:
>
>   - Solaris
>   - Mac OS X
>   - FreeBSD
>   - Cygwin
>
> To test it, please run the trunk code and do this:
>
>  kill -HUP `cat /path/to/var/Z2.pid` (should restart Zope)
>
>  kill -USR2 `cat /path/to/var/Z2.pid` (should open and close
> logfiles)
>
>  kill -TERM `cat /path/to/var/Z2.pid` (should quit)
>
> Thanks!
>
> -  C
>
>
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders