You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ki...@alltel.com on 2007/01/11 23:53:04 UTC

Problem installing mod_perl on solaris

I've been trying to install mod_perl-2.0.3

My system is
Machine hardware:   sun4us
OS version:         5.9
Processor type:     sparc

Sun Studio 11
        Sun Studio 11 C Compiler
        Sun Studio 11 C++ Compiler
        Sun Studio 11 Tools.h++ 7.1
        Sun Studio 11 C++ Standard 64-bit Class Library
        Sun Studio 11 Garbage Collector
        Sun Studio 11 Fortran 95
        Sun Studio 11 Debugging Tools (including dbx)
        Sun Studio 11 IDE
        Sun Studio 11 Debugger GUI
        Sun Studio 11 Performance Analyzer (including collect, ...)
        Sun Studio 11 X-Designer
        Sun Studio 11 VIM editor
        Sun Studio 11 XEmacs editor
        Sun Studio 11 Native Connector Tool
        Sun Studio 11 Performance Library
        Sun Studio 11 LockLint
        Sun Studio 11 Building Software (including dmake)
        Sun Studio 11 Documentation Set

version of "../../bin/cc": Sun C 5.8 Patch 121015-02 2006/03/29
version of "../../bin/CC": Sun C++ 5.8 Patch 121017-02 2006/04/19
version of "../../bin/analyzer": Sun Performance Analyzer 7.5 2005/10/13
version of "../../bin/dmake": Sun Distributed Make 7.7 2005/10/13

Apache 2.2.3

perl 5.8.8

I'm getting the following error during linking

ld: fatal: relocation error: R_SPARC_H44: file /usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64/auto/DynaLoader/DynaLoader.a(DynaLoader.o): symbol <unknown>: relocations based on the ABS44 coding model can not be used in building a shared object
*** Error code 1
make: Fatal error: Command failed for target `mod_perl.so'

I tried using the -xcode=abs44 directive but it didn't help..have been stuck with this for over a week now, any help will be greatly appreciated.

Thanks,
Kiran Nadgir

******************************************************************************************
The information contained in this message, including attachments, may contain 
privileged or confidential information that is intended to be delivered only to the 
person identified above. If you are not the intended recipient, or the person 
responsible for delivering this message to the intended recipient, Alltel requests 
that you immediately notify the sender and asks that you do not read the message or its 
attachments, and that you delete them without copying or sending them to anyone else. 



Re: [mod_perl1.99] make test fails

Posted by Kurt Hansen <kh...@charityweb.net>.
Hello Jie,

mod_perl 1.99 is a development version and is old and buggy. This may be 
the first of your problems with it.

You probably want to upgrade to a mod_perl 2.0.x. You can find rpms for 
mod_perl at the Centosplus Repository. Here's a link for more info:

http://wiki.centos.org/Repositories/CentOSPlus/CentOSWebStack

I haven't done this myself. Just passing on some information.

Centos4 is the same as rhel4, I believe.

Take care,

Kurt Hansen
khansen@charityweb.net

Jie Gao wrote:
> Hi All
>
> I am getting this:
>
>> gmake test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/WASM-Apache2-AuthCookie....#     Failed test 
> (t/WASM-Apache2-AuthCookie.t at line 9)
> #     Tried to use 'WASM::Apache2::AuthCookie'.
> #     Error:  APR object version 0.01 does not match bootstrap 
> parameter 0.009000 at 
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
> # Compilation failed in require at 
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm 
> line 18.
> # BEGIN failed--compilation aborted at 
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm 
> line 18.
> # Compilation failed in require at 
> /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm 
> line 25.
> # BEGIN failed--compilation aborted at 
> /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm 
> line 25.
> # Compilation failed in require at (eval 1) line 2.
> # Looks like you failed 1 tests of 1.
> t/WASM-Apache2-AuthCookie....dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 1
>         Failed 1/1 tests, 0.00% okay
> Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
> ------------------------------------------------------------------------------- 
>
> t/WASM-Apache2-AuthCookie.t    1   256     1    1 100.00%  1
> Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
> gmake: *** [test_dynamic] Error 2
>
> Can anybody shed some light or provide a pointer for me to debug the 
> problem?
>
> I'm on rhel4.
>
> Cheers,
>
>
>
> Jie
>

[mod_perl1.99] make test fails

Posted by Jie Gao <J....@isu.usyd.edu.au>.
Hi All

I am getting this:

> gmake test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/WASM-Apache2-AuthCookie....#     Failed test (t/WASM-Apache2-AuthCookie.t at line 9)
#     Tried to use 'WASM::Apache2::AuthCookie'.
#     Error:  APR object version 0.01 does not match bootstrap parameter 0.009000 at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
# Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm line 18.
# BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/APR/Const.pm line 18.
# Compilation failed in require at /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm line 25.
# BEGIN failed--compilation aborted at /usr/local/src/usyd_modules/WASM-Apache2-AuthCookie-2.00/blib/lib/WASM/Apache2/AuthCookie.pm line 25.
# Compilation failed in require at (eval 1) line 2.
# Looks like you failed 1 tests of 1.
t/WASM-Apache2-AuthCookie....dubious
         Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
         Failed 1/1 tests, 0.00% okay
Failed Test                 Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/WASM-Apache2-AuthCookie.t    1   256     1    1 100.00%  1
Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
gmake: *** [test_dynamic] Error 2

Can anybody shed some light or provide a pointer for me to debug the problem?

I'm on rhel4.

Cheers,



Jie

Re: Problem installing mod_perl on solaris

Posted by Joseph Werner <te...@gmail.com>.
Have you tried building with the GUN c compiler? It is available on
the sunfreeware site. On Solaris, I always load a suite of GNU tools
and THEN at a minimum build apache, Perl, mod_perl and libapreq.

 Hope this helps,
 Werner

On 1/11/07, Kiran.Nadgir@alltel.com <Ki...@alltel.com> wrote:
> I've been trying to install mod_perl-2.0.3
>
> My system is
> Machine hardware:   sun4us
> OS version:         5.9
> Processor type:     sparc
>
> Sun Studio 11
>         Sun Studio 11 C Compiler
>         Sun Studio 11 C++ Compiler
>         Sun Studio 11 Tools.h++ 7.1
>         Sun Studio 11 C++ Standard 64-bit Class Library
>         Sun Studio 11 Garbage Collector
>         Sun Studio 11 Fortran 95
>         Sun Studio 11 Debugging Tools (including dbx)
>         Sun Studio 11 IDE
>         Sun Studio 11 Debugger GUI
>         Sun Studio 11 Performance Analyzer (including collect, ...)
>         Sun Studio 11 X-Designer
>         Sun Studio 11 VIM editor
>         Sun Studio 11 XEmacs editor
>         Sun Studio 11 Native Connector Tool
>         Sun Studio 11 Performance Library
>         Sun Studio 11 LockLint
>         Sun Studio 11 Building Software (including dmake)
>         Sun Studio 11 Documentation Set
>
> version of "../../bin/cc": Sun C 5.8 Patch 121015-02 2006/03/29
> version of "../../bin/CC": Sun C++ 5.8 Patch 121017-02 2006/04/19
> version of "../../bin/analyzer": Sun Performance Analyzer 7.5 2005/10/13
> version of "../../bin/dmake": Sun Distributed Make 7.7 2005/10/13
>
> Apache 2.2.3
>
> perl 5.8.8
>
> I'm getting the following error during linking
>
> ld: fatal: relocation error: R_SPARC_H44: file /usr/local/lib/perl5/5.8.8/sun4-solaris-thread-multi-64/auto/DynaLoader/DynaLoader.a(DynaLoader.o): symbol <unknown>: relocations based on the ABS44 coding model can not be used in building a shared object
> *** Error code 1
> make: Fatal error: Command failed for target `mod_perl.so'
>
> I tried using the -xcode=abs44 directive but it didn't help..have been stuck with this for over a week now, any help will be greatly appreciated.
>
> Thanks,
> Kiran Nadgir
>
> ******************************************************************************************
> The information contained in this message, including attachments, may contain
> privileged or confidential information that is intended to be delivered only to the
> person identified above. If you are not the intended recipient, or the person
> responsible for delivering this message to the intended recipient, Alltel requests
> that you immediately notify the sender and asks that you do not read the message or its
> attachments, and that you delete them without copying or sending them to anyone else.
>
>
>



-- 
I require any third parties to obtain my permission to submit my
information to any other party for each such submission. I further
require any third party to follow up on any submittal of my
information by sending detailed information regarding each such
submission to telcodev@gmail.com
Joseph Werner