Click to See Complete Forum and Search --> : mod_perl, apache, slashcode


manual_overide
12-08-2000, 01:14 AM
I'm trying to install slashcode on my RH 7 box. I'm following the instructions exactly, but when I go to build mod_perl, I get this error:


mod_perl.c: In function `perl_handler':
mod_perl.c:783: `PL_siggv' undeclared (first use in this function)
mod_perl.c:783: (Each undeclared identifier is reported only once
mod_perl.c:783: for each function it appears in.)
make[5]: *** [mod_perl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [subdirs] Error 1
make[3]: Leaving directory `/home/wuebker/downloads/apache_1.3.6/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/home/wuebker/downloads/apache_1.3.6'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/wuebker/downloads/apache_1.3.6'
make: *** [apaci_httpd] Error 2


What am I doing wrong? I wouldn't know where to begin to fix someone else's coding mistake. I'm not very good at linking errors to begin with, plus I can't even find mod_perl.c so fixing the code is almost out of the question. Please help. I've been pulling my hair out for hours over this. It's begining to drive me nuts. Thanks.

klamath
12-08-2000, 02:02 AM
It's definately not a coding mistake.

What version of Perl, and mod_perl are you using? Why are you using Apache 1.3.6?

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Better Bulletin Board (http://bbb.sourceforge.net)

klamath
12-08-2000, 02:03 AM
You may as well as post the output of 'perl -V' also.

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Better Bulletin Board (http://bbb.sourceforge.net)

manual_overide
12-08-2000, 03:00 AM
I tried with the newer versions first, but got the same error, so I'd thought I'd stick with what the INSTALL doc said would work.

perl is 5.6.0 I even reinstalled this from source to see if it would correct the problem, but it hasn't. Am I a vicitm of the new gcc that redhat put in 7.0?

here is perl -V:


Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.16-22, archname=i686-linux
uname='linux cvg-65-27-180-132.cinci.rr.com 2.2.16-22 #1 tue aug 22 16:49:06 edt 2000 i686 unknown '
config_args='-de'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=2.96 20000731 (Red Hat Linux 7.0)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
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
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
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 -ldl -lm -lc -lcrypt
libc=/lib/libc-2.1.92.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_LARGE_FILES
Built under linux
Compiled at Dec 7 2000 21:55:34
@INC:
/usr/local/lib/perl5/5.6.0/i686-linux
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.

klamath
12-08-2000, 02:08 PM
And what version of mod_perl?

I'd suggest trying Perl 5.6.0, Apache 1.3.14, and mod_perl 1.24_01, all compiled from source.

Am I a vicitm of the new gcc that redhat put in 7.0?

I don't think so.

BTW, your Perl config *looks* fine. I was just wondering if you'd enabled threading or anything, because that can sometimes cause problems.

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Better Bulletin Board (http://bbb.sourceforge.net)