I'm still struggling to find out what is wrong. In an earlier post I
explained I had the RedHat 8.0 standard perl installation, and the
POE example code would now no longer clean up and exit.

From the response from sungo (Matt) suggesting it was the threads,
I recompiled perl 5.8.0 to leave out thread and multi.

Still The sample code doesn't exit as it should.
http://www.stonehenge.com/merlyn/LinuxMag/col41.listing.txt
(PS I tacked the subdirectory Tools/ to the end so it wouldn't run
so long during testing)


Is there a workaround or something I need to explictly terminate?

Any suggestions would be appreciated. If I run interactively, and
hit a control-C on the command line the
$poe_kernel->run;
does return and the program ends gracefully.

I'm including a copy of my perl -V in case I just messed up the compile
and didn't get the threads out of there.


Nancy

------------ perl -V ---------------


Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.18-14, archname=i386-linux
uname='linux odin 2.4.18-14 #1 wed sep 4 12:13:11 edt 2002 i686 athlon i386 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O1',
cppflags='-fno-strict-aliasing -I/usr/include/gdbm'
ccversion='', gccversion='3.2 20020903 (Red Hat Linux 8.0 3.2-7)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.93.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.93'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared'


Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Feb 2 2003 02:29:34
@INC:
/usr/lib/perl5/5.8.0/i386-linux
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
.

Reply via email to