You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2000/08/29 19:07:48 UTC
Re: mod_perl as DSO
I guess people sometimes confuse my email address with
modperl@apache.org. Bouncing it to the right direction.
yOn Tue, 29 Aug 2000, Kairam, Raj wrote:
> I am trying to build mod_perl-1.24 in to apache_1.3.12 as a DSO on a HP-UX
> 11.0 (32 bit) machine which has HP's ansi C compiler.
> The command 'perl Makefile.PL `cat ../mod_perl.txt` ' runs OK..
> The mod_perl.txt is a file where I specified USE_DSO=1, EVERYTHING=1 etc and
> APACI_ARGS=--enable-shared=env, etc.
>
> This is the input for 'perl Makefile.PL' command
> <<mod_perl.txt>>
> The command 'make' fails with an error "ld: Unrecognized argument: -Wl,-E".
> I am assuming these are from the PERL_LIBS= line in the Makefile that is
> causing the failure.
>
> This is the /opt/apache_1.3.12/src/modules/perl/Makefile
> <<Makefile.txt>>
> This is the output from 'make' command
> <<make_1.txt>>
> When I edit the /opt/apache_1.3.12/src/modules/perl/Makefile to remove
> "-Wl,-E -Wl,-B,deferred" from the PERL_LIBS= line I get the error
> "ld: Can't find library for -lperl".
>
> When I edit the line to have
> "-L/opt/perl5/lib/5.00503/PA-RISC1.1/CORE/libperl.a in place of -lperl and
> run make I get error
> "ld: DP relative code in file
> /opt/perl5/lib/5.00503/PA-RISC1.1/auto/DynaLoader/DynaLoader.a
> (DynaLoader.o) - shared library must be position independent. Use +z or +Z
> to recompile.
>
> When I try editing the line to remove
> /opt/perl5/lib/5.00503/PA-RISC1.1/auto/DynaLoader/DynaLoader.a make now
> gives me the error
> "Make: Don't know how to make lib/Apache/Myconfig.pm. Stop".
>
> Please take a look at the Makefile.txt above and in particular the line for
> PERL_LIBS=
> and also the file Make_1.txt which has the 'ld' command at the end with all
> those problem options.
>
> Where can I get help for mod_perl installation into Apache as a DSO
> specifically on HP-UX 11.0 platform ?. I can't believe nobody uses that
> platform for mod_perl.
>
>
> Please help.
> Thanks
> Raj Kairam kairamr@coned.com
>
>
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://jazzvalley.com
http://singlesheaven.com http://perlmonth.com perl.org apache.org