Hello,Philip, Thank you for the response.The perl version for me is 5.8.5.Here are the 'perl -V' output:
# perl -V Summary of my perl5 (revision 5 version 8 subversion 5) configuration: Platform: osname=linux, osvers=2.6.9-22.18.bz155725.elsmp, archname=i386-linux-thread-multi uname='linux hs20-bc1-4.build.redhat.com 2.6.9-22.18.bz155725.elsmp #1 smp thu nov 17 15:34:08 est 2005 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' 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 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 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, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Jul 24 2006 18:28:10 @INC: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . When I compile the Apache,I got much errors.I redirect all the errors into a file and put this file on my web. Please download it and take a look at it.the url is: http://home.earthlink.net/~pangj/tmp/compile.apache.err.gz I'm really appreciated for the farther helps. -----Original Message----- >From: "Philip M. Gollucci" <[EMAIL PROTECTED]> >Sent: Sep 20, 2006 4:24 PM >To: Jeff Pang <[EMAIL PROTECTED]> >Cc: modperl@perl.apache.org >Subject: Re: install mp1 under linux 2.6 kernel > >Jeff Pang wrote: >> perl Makefile.PL \ >> APACHE_SRC=../apache_1.3.36/src \ >> NO_HTTPD=1 \ >> USE_APACI=1 \ >> PREP_HTTPD=1 \ >> EVERYTHING=1 >That loooks fine, but use 1.3.37 (mod_rewrite security fix) > >> ./configure --prefix=/home/apache1.3 --disable-module=all \ >> --enable-module=alias --enable-module=log_config \ >> --enable-module=dir --enable-module=mime --enable-module=cgi \ >> --activate-module=src/modules/perl/libperl.a >Also looks good. > >> modules/perl/libperl.a(Server.o)(.text+0x22df): In function >> `XS_Apache__Server_gid':: undefined reference to `Perl_Gthr_key_ptr' >> modules/perl/libperl.a(Server.o)(.text+0x24f6): In function >> `XS_Apache__Server_is_virtual':: undefined reference to `Perl_Gthr_key_ptr >> odules/perl/libperl.a(Server.o)(.text+0x2bdd): In function >> `boot_Apache(...)(long double, void,...)(long double) static':: undefined >> reference to `Perl_Gthr_key_ptr' > *** Are you sure you picked up the correct perl and not a system installed > one? *** > >I'll bet you got some whacky one: >$ grep -r Perl_Gthr_key_ptr perl5.005_04 perl-5.6.2 perl-5.8.8 >perl-5.6.2/perlapi.h:#define PL_thr_key (*Perl_Gthr_key_ptr(NULL)) >perl-5.8.8/perlapi.h:#define PL_thr_key (*Perl_Gthr_key_ptr(NULL)) > >perl -V > > > > >-- >------------------------------------------------------------------------ >Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 >Consultant / http://p6m7g8.net/Resume/resume.shtml >Senior Software Engineer - TicketMaster - http://ticketmaster.com >1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F > >"In all that I've done wrong I know I must have done something right to >deserve a hug every morning and butterfly kisses at night." > __ ___ ___ ____ __ > / |/ /_ __/ __/ __ \/ / > / /|_/ / // /\ \/ /_/ / /__ >/_/ /_/\_, /___/\___\_\___/ > <___/ -- Jeff Pang NetEase AntiSpam Team http://corp.netease.com