You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Eric Combes <Er...@cetelem.fr> on 2000/03/15 17:09:26 UTC

Re: HELP: Apache 1.3.[9,12], mod_perl-1.21[_03] and APXS,DSO under Solaris 2.6

Thomas Apsel wrote:

>         Hi,
>
>         I have installed the Apache (1.3.9, later 1.3.12) on a Solaris 2.6
>         system. After that I want to install the mod_perl as DSO outside
>         Apache source tree via APXS (see installation description
> INSTALL.apaci)
>
>         The command 'make install' in the directory mod_perl-1.21/apaci
> fails,
>         because the command 'make' produced a shared library libperl.so in
>         this directory and perl read this library and crashes. I changed
>         the name of this library to libmodperl.so in the file Makefile.templ
>         and the installation process works fine.
>
>         The configuration file of the Apache loads this shared object via
>         LoadModule libexec/libmodperl.so.
>
>         But now the Apache crashes with segmentation violation in this
>         perl library. Sometimes in the function malloc() and sometimes in
>         functions like Perl_av_extend().
>
>         Can anyone help me?
>
>                 Thomas
>
>         PS: I have installed perl 5.005_03.
>
> ----------------------------------------------------------------------------
> Thomas Apsel                              mailto:Thomas.Apsel@munich.ixos.de
> IXOS SOFTWARE AG                          Tel.: +49.(0)89.4629.1817
> Bretonischer Ring 12                      Fax.: +49.(0)89.4629.33.1817
> D-85630 Grasbrunn                         http://www.ixos.de
> ----------------------------------------------------------------------------
>                    http://www.or.uni-passau.de/~apsel

hi

excuse me for my english
it 's normal mod_perl don't run on shared library with perl 5.005_03
install mod_perl on static library and GO !!!!

Exemple (solaris 2.6)
#
cd mod_perl-1.21
perl Makefile.PL APACHE_SRC=../apache_1.3.9/src \
DO_HTTPD=1 \
USE_APACI=1 \
PERL_MASK_WHERE=1 \
EVERYTHING=1
#
make
make test
make install
cd ..
cd apache_1.3.9
./configure --prefix=/PATH/apache1.3.9 \
--datadir=/PATH/data \
--logfiledir=/PATH/log \
--proxycachedir=/PATH/proxy \
--runtimedir=/PATH/log \
--enable-module=most \
--enable-shared=max \
--activate-module=src/modules/perl/libperl.a
#
make
make install
cd ..
#
bye and good luck

Eric COMBES
#
Eric .Combes@cetelem.fr
France