Hello

It seems I really don't succeed getting mod_perl with apache to work. I'm
really tired now (I've compiled [and installed] apache/mod_perl more than
ten times now) and would like to hear a success story from someone using
LinuxPPC1999 like me. Which apache version, perl version, mod_perl version
did you use? I've tried with apache 1.3.9+mod_php+mod_fastcgi as well as
fresh  apache 1.3.11 and 1.3.12 tarballs, always mod_perl 1.24. Always
perl5.005_03.

What I do:
- untar apache
- untar mod_perl
- cd mod_perl; perl Makefile.PL EVERYTHING=1 (press enter, say y, say n)
- make; make install
- cd apache; ./configure --with-layout=RedHat
--activate-module=src/modules/perl/libperl.a --disable-rule=EXPAT; make

With apache 1.3.11 for example I get this:

modules/perl/libperl.a(Table.o): In function `boot_Apache__Table':
Table.o(.text+0x286c): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x2884): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x28b4): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x28e4): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x2914): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x2944): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x2974): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x29a4): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x29bc): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x29d4): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x29ec): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x2a04): relocation truncated to fit: R_PPC_REL24 Perl_newXS
Table.o(.text+0x2a16): undefined reference to `PL_stack_base'
Table.o(.text+0x2a1a): undefined reference to `PL_stack_base'
Table.o(.text+0x2a22): undefined reference to `PL_sv_yes'
Table.o(.text+0x2a26): undefined reference to `PL_sv_yes'
Table.o(.text+0x2a2e): undefined reference to `PL_stack_sp'
Table.o(.text+0x2a32): undefined reference to `PL_stack_base'
Table.o(.text+0x2a42): undefined reference to `PL_stack_base'
Table.o(.text+0x2a4e): undefined reference to `PL_stack_sp'
modules/perl/libperl.a(mod_perl_opmask.o): In function `mod_perl_set_opmask':
mod_perl_opmask.o(.text+0x68): undefined reference to `Perl_croak'
mod_perl_opmask.o(.text+0x68): relocation truncated to fit: R_PPC_REL24
Perl_croak
./os/unix/libos.a(os.o): In function `ap_os_dso_load':
os.o(.text+0x58): undefined reference to `dlopen'
os.o(.text+0x58): relocation truncated to fit: R_PPC_REL24 dlopen
./os/unix/libos.a(os.o): In function `ap_os_dso_unload':
os.o(.text+0x9c): undefined reference to `dlclose'
os.o(.text+0x9c): relocation truncated to fit: R_PPC_REL24 dlclose
./os/unix/libos.a(os.o): In function `ap_os_dso_sym':
os.o(.text+0xe0): undefined reference to `dlsym'
os.o(.text+0xe0): relocation truncated to fit: R_PPC_REL24 dlsym
./os/unix/libos.a(os.o): In function `ap_os_dso_error':
os.o(.text+0x11c): undefined reference to `dlerror'
os.o(.text+0x11c): relocation truncated to fit: R_PPC_REL24 dlerror
collect2: ld returned 1 exit status
make: *** [target_static] Error 1
[root@nebelhorn src]#


Apache1.3.9+modfastcgi+php+mod_perl succeeded to compile, but as soon I had
put these statements into httpd.conf:
  line xxx:  AddModule mod_perl.c
  line 255:  PerlModule AxKit
I got:

[root@rkt-015 chris]# apachectl start
Syntax error on line 255 of /etc/httpd/conf/httpd.conf:
Can't locate loadable object for module Apache::Log in @INC (@INC contains:
/usr/lib/perl5/5.00503/ppc-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/ppc-linux /usr/lib/perl5/site_perl/5.005 .
/usr/ /usr/lib/perl) at
/usr/lib/perl5/site_perl/5.005/ppc-linux/mod_perl.pm line 65535
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.005/ppc-linux/AxKit.pm line 9.

/usr/sbin/apachectl start: httpd could not be started
[root@rkt-015 chris]#

I got this error regardless whether I configured mod_perl with EVERYTHING=1
or not.

help...
Christian.


Reply via email to