You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Thomas Apsel <th...@ixos.de> on 2000/03/15 15:12:50 UTC
HELP: Apache 1.3.[9,12], mod_perl-1.21[_03] and APXS,DSO under So
laris 2.6
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
Re: HELP: Apache 1.3.[9,12], mod_perl-1.21[_03] and APXS,DSO under
Solaris 2.6
Posted by Eric Combes <Er...@cetelem.fr>.
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
Re: HELP: Apache 1.3.[9,12], mod_perl-1.21[_03] and APXS,DSO under
So laris 2.6
Posted by Doug MacEachern <do...@pobox.com>.
On Wed, 15 Mar 2000, Thomas Apsel wrote:
> The command 'make install' in the directory mod_perl-1.21/apaci
1.21 or 1.21_03?? the dso problems should be fixed in _03
and 'make install' should be run from the mod_perl-1.21_03 directory,
which will also install the modperl dso if you pass
APACHE_PREFIX=/usr/local/apache/or_other_install_prefix
to Makefile.PL
Re: HELP: Apache 1.3.[9,12], mod_perl-1.21[_03] and APXS,DSO under , So laris 2.6
Posted by "G.W. Haywood" <ge...@jubileegroup.co.uk>.
Hi there,
On Wed, 15 Mar 2000, Thomas Apsel wrote:
> But now the Apache crashes with segmentation violation
Was perl compiled with the same compiler as Apache and mod_perl?
Do you need apxs? You could try building static instead of DSO.
If you like you can try my makepl_args.mod_perl (attached).
Put it in .../mod_perl-1.21, edit it as appropriate and say:
cd .../apache-1.3.12
make clean
cd .../mod_perl-1.12
make clean
perl -Makefile.PL
make && make test && make install
Let me know how you get on?
73,
Ged.