How do I keep mod_perl from trying to use the experimental thread
feature in perl, even when I built perl with that option?  Is this
possible?  See the build error that I get below.

I'm using mod_perl 1.22, perl 5.005_63, and apache 1.3.12.

Please cc any replies to me, as I don't regularly read this list. 

Thanks for making cool stuff.

-c

I get the following build error:
cc -I. -I../../include -I../../include/regex
-I../../include/.././os/unix -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL  `/usr/local/bin/perl
-MExtUtils::Embed -e ccopts` -DNO_PERL_DISPATCH  
-DNO_PERL_POST_READ_REQUEST -DNO_PERL_TRANS -DNO_PERL_HEADER_PARSER
-DNO_PERL_ACCESS -DNO_PERL_AUTHEN -DNO_PERL_AUTHZ -DNO_PERL_TYPE 
-DNO_PERL_FIXUP  -DNO_PERL_LOG  -DNO_PERL_INIT -DNO_PERL_CLEANUP
-DNO_PERL_RESTART -DNO_PERL_STACKED_HANDLERS -DNO_PERL_SECTIONS
-DNO_PERL_METHOD_HANDLERS -DNO_PERL_SSI -DNO_PERL_DIRECTIVE_HANDLERS 
-DMOD_PERL_VERSION=\"1.22\"  -I./os/unix -I../../include     -c
mod_perl.c -o mod_perl.o
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1627: `thr' undeclared (first use in this function)
mod_perl.c:1627: (Each undeclared identifier is reported only once
mod_perl.c:1627: for each function it appears in.)
make[3]: *** [mod_perl.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/local/src/apache_1.3.12/src'
make: *** [apache_httpd] Error 2


Some information about my environment:

cmason@crisp:/usr/local/src/perl5.005_63> perl -v

This is perl, version 5.005_63 built for i686-linux-thread

Copyright 1987-1999, Larry Wall

Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5.0 source
kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to
the
Internet, point your browser at http://www.perl.com/, the Perl Home
Page.

cmason@crisp:/usr/local/src/perl5.005_63> perl -V
Summary of my perl5 (revision 5.0 version 5 subversion 63)
configuration:
  Platform:
    osname=linux, osvers=2.2.14, archname=i686-linux-thread
    uname='linux crisp 2.2.14 #9 tue mar 28 12:36:33 est 2000 i686
unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-O5', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 
release)
    cppflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -fno-strict-aliasing
-I/usr/lo
cal/include'
    ccflags ='-D_REENTRANT -Dbool=char -DHAS_BOOL -fno-strict-aliasing
-I/usr/lo
cal/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt
    libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
  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: USE_THREADS PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Apr  3 2000 23:36:30
  @INC:
    /usr/local/lib/perl5/5.00563/i686-linux-thread
    /usr/local/lib/perl5/5.00563
    /usr/local/lib/site_perl/5.00563/i686-linux-thread
    /usr/local/lib/site_perl
    .


-- 
[ Christopher Mason        <[EMAIL PROTECTED]>      
http://ash.rem.cmu.edu/ ]
[ "Don't you see?! We're actors--we're the opposite of people!"
-Stoppard ]

Reply via email to