Hello. I have installed apache-2.0.39 and perl-5.6.1. I want compile modperl-2.0 but i get following error:
gcc -I/home/wolfgang/modperl-2.0/src/modules/perl -I/home/wolfgang/modperl-2.0/xs -I/opt/apache2/include -fno-strict-aliasing -I/usr/local/include=20 -I/usr/lib/perl5/5.6.1/i386-linux/CORE -DMOD_PERL -O2 -march=i386 -mcpu=i686 -fPIC \ -c mod_perl.c && mv mod_perl.o mod_perl.lo mod_perl.c: In function `modperl_response_handler_cgi': mod_perl.c:713: `rcfg' undeclared (first use in this function) mod_perl.c:713: (Each undeclared identifier is reported only once mod_perl.c:713: for each function it appears in.) mod_perl.c:714: case label not within a switch statement mod_perl.c:717: break statement not within loop or switch make[1]: *** [mod_perl.lo] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis =BB/home/wolfgang/modperl-2.0/src/modules/perl=AB make: *** [modperl_lib] Fehler 2 Inspecting the source shows me that USE_ITHREADS must be defined, so here follows the out from perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.17-0.13smp, archname=i386-linux uname='linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 10:30:48 est 2002 i686 unknown ' config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc== gcc -Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Uusethreads -Uuseithreads -Uuselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Dlocincpth=' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include', optimize='-O2 -march=i386 -mcpu=i686', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1 2.96-98)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=123= 4 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize= =12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='of= f_t', lseeksize=4 alignbytes=4, usemymalloc=n, prototype define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.4.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: Built under linux Compiled at Feb 20 2002 15:01:16 @INC: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl Could it be that my perl is unthreaded and i must recompile it with threading enabled or is anything other wrong? Wolfgang -- Wolfgang Leideck +++ Alberichstr. 14 +++ D-68199 Mannheim Fon: +49 (0)621 818376 E-Mail: [EMAIL PROTECTED] [EMAIL PROTECTED]