Nathan Sweaney wrote:
OK, I've installed perl & apache 2 fine.  Then I try to configure mod_perl 1.99_08, 
using the command:
     # perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2
& it seems to work fine except for this warning:

     Reading Makefile.PL args from @ARGV
        MP_AP_PREFIX = /usr/local/apache2
     ************* WARNING *************

       mod_perl is unlikely to link with your libperl, suggestions:
         *) Rebuild Perl with Configure -Accflags=+Z ...

I suppose, it's because in some cases it works so Doug made it a warning, rather than an assertion. Or may be so mod_perl build can be tested without fixing perl ;)


     ************* WARNING *************
     Configuring Apache/2.0.43 mod_perl/1.99_08 Perl/v5.8.0

But it doesn't stop, it just keeps going & acts all happy.
Then when I run make i get:

     /usr/bin/ld: DP relative code in file 
/usr/local/lib/perl5/5.8.0/PA-RISC1.1/auto/DynaLoader/DynaLoader.a (DynaLoader.o) - 
shared library must be position
         independent.  Use +z or +Z to recompile.
     *** Error exit code 1

     Stop.
     *** Error exit code 1

     Stop.
     #

I've tried recompiling perl numerous times, but i'm basically a total newb. I'm a college student with no experience on HPUX & very little unix experience to begin with, but somehow I ended up responsible for this, so any help would be greatly appreciated.

well, since your problem now is compiling perl with -Accflags=+Z enabled, it's no longer a mod_perl question and should be taken elsewhere.


However, this may help:
http://perl.apache.org/docs/2.0/user/install/install.html#Configuring_and_Installing_Prerequisites
just add the -Accflags=+Z, to the ./Configure command as described in that document.


If you still have problems you should try one of the resources listed here: http://perl.apache.org/docs/offsite/other.html#Perl

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to