Hi, I wonder if anyone can help. I'm trying to install mod-perl 1.99.04 on an alpha 
running OSF1 v4.0d with apache 2.0.39 and perl 5.6.1. I'm consistently getting the 
same error when I try 'make':-

ld:
Invalid flag usage: Wl,-rpath,/usr/local/lib/perl5/5.6.1/alpha-dec_osf/CORE, 
-Wx,-option must appear after -_SYSTYPE_SVR4 
ld: Usage: ld [options] file [...]
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/usr/local/src/mod_perl-1.99_04/src/modules/perl'
make: *** [modperl_lib] Error 2

This subject came up on the list about 18 months ago, but with mod-perl 1.26 and 
apache 1.3; the solution then was to build a static mod-perl and use perl 5.005. 
However according to the documentation, static builds are not yet supported in 
mod-perl 1.99, and I'm not going to go back to perl 5.005. 

If I manually edit the Makefiles to remove the Wl and change -rpath,/usr... to -rpath 
/usr..., things go further, but then die with another error:-

ld:
Object file format error in: tmp.a(ARFILENAMES): read_cur_obj_info: bad file magic 
number(0x6f6d)
make[3]: *** [../../../blib/arch/auto/ModPerl/Const/Const.so] Error 1
make[3]: Leaving directory `/usr/local/src/mod_perl-1.99_04/xs/ModPerl/Const'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/usr/local/src/mod_perl-1.99_04/xs/ModPerl'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/local/src/mod_perl-1.99_04/xs'
make: *** [subdirs] Error 2

Is this related to the changes that I've made, or another problem? Has anyone managed 
to sucessfully do this installation on OSF 4.0d, and if so how please? 

TIA

Mark C
-- 
------------------------------------------------------------------------
Dr Mark Crowe                              John Innes Centre
                                           Norwich Research Park
Tel/Fax: +44 (1603) 450012                 Colney               
mailto:[EMAIL PROTECTED]              Norwich
                                           NR4 7UH

Reply via email to