Hi mod_perlers from josh narins!
I'm following the simple instructions for the 1.x
series with APACI
I'm on a debian "sarge" system running linux kernel
2.4.20 on a powerpc
I've seen this same error with bleadperl (built today)
and the installed perl5.6.1 (the debian package)
Sadly, I also remember seeing this error on my i386
debian woody 2.4.18 machine, but at some point I
overcame it.
Since I can't remember what I did last time... :(
When I run
perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
APACHE_PREFIX=/home/user/httpd/apache
I see this (note the sed error)
(cd ../apache_1.3.27 && CC="gcc" CFLAGS=" -D_REENTRANT
-DTHREADS_HAVE_PIDS -fno-
strict-aliasing -I/usr/local/include" ./configure
--activate-module=src/modules/
perl/libperl.a --disable-rule=EXPAT
--prefix=/home/user/httpd/apache)
CC="gcc" CFLAGS=" -D_REENTRANT -DTHREADS_HAVE_PIDS
-fno-strict-aliasing
-I/usr/local/include" ./configure
--activate-module=src/modules/perl/libperl.a
--disable-rule=EXPAT --prefix=/home/user/httpd/apache
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache ,
(config.layout)
+ activated perl module (modules/perl/libperl.a)
Creating Makefile
sed: -e expression #44, char 46: Unknown option to 's'
Creating Configuration.apaci in src
+ id: mod_perl/1.27
+ id: Perl/v5.9.0 (linux) [/home/user/bin/perl]
This is my perl -V (NOTE: Happens with vanilla
perl5.6.1 debian package the same way)
Summary of my perl5 (revision 5.0 version 9 subversion
0 patch 18378) configurat
ion:
Platform:
osname=linux, osvers=2.4.20-ben1,
archname=ppc-linux-thread-multi
uname='linux float1 2.4.20-ben1 #1 tue dec 31
18:50:09 est 2002 ppc 7455, al
tivec supported gnulinux '
config_args='-Dusedevel -Dcc=gcc
-Dprefix=/home/user -Uinstallusrbinperl -Uu
selargefiles -Dusethreads -des'
hint=recommended, useposix=true,
d_sigaction=define
usethreads=define useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=undef
usesocks=undef
use64bitint=undef use64bitall=undef
uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-stri
ct-aliasing -I/usr/local/include',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasin
g -I/usr/local/include'
ccversion='', gccversion='2.95.4 20011002 (Debian
prerelease)', 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
=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lpthread
-lc -lcrypt -lutil -lrt
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt
-lutil -lrt
libc=/lib/libc-2.2.5.so, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version='2.2.5'
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
Locally applied patches:
DEVEL18374
Built under linux
Compiled at Jan 1 2003 17:28:16
@INC:
/home/user/lib/perl5/5.9.0/ppc-linux-thread-multi
/home/user/lib/perl5/5.9.0
/home/user/lib/perl5/site_perl/5.9.0/ppc-linux-thread-multi
/home/user/lib/perl5/site_perl/5.9.0
/home/user/lib/perl5/site_perl
.
-
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com