On Tuesday 23 July 2002 12:09 pm, regarding mod_perl with a perl built with
-Dusethreads, will it work?, Brian wrote:
Brian> I would like to install Sendmail::Milter which needs a perl built
Brian> with thread support. Last time I tried to use a perl built with
Brian> thread support (5.6.x), mod_perl didn't like it. Is this still the
Brian> case with 5.8.0? Is anybody using mod_perl with a perl built with
Brian> -Dusethreads?
I am using SuSE 7.3 (Linux 2.4.14) Sparc64 with the same perl/apache/et al
you mentioned:
suse:~/TEST # perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.14, archname=sparc64-linux-thread-multi
uname='linux suse 2.4.14 #1 mon nov 12 11:25:00 gmt 2001 sparc64 unknown '
config_args='-des -Dcc=gcc -Dprefix=/usr
-Dotherlibdirs=/usr/lib/perl5/site_perl/5.6.1 -Dusethreads'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-I/usr/local/include'
ccversion='', gccversion='2.95.3 20010315 (SuSE)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lbind -lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lbind -lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.2.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Jul 23 2002 07:37:37
@INC:
/usr/lib/perl5/5.8.0/sparc64-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/sparc64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.6.1
.
HTH/Sx :]