Thanks for the response, I tried building perl with gcc and am getting the 
following error now..

gcc  -o miniperl \
    miniperlmain.o opmini.o libperl.a
Undefined                       first referenced
 symbol                             in file
cos                                 libperl.a(pp.o)
exp                                 libperl.a(pp.o)
log                                 libperl.a(pp.o)
pow                                 libperl.a(pp.o)
sin                                 libperl.a(pp.o)
bind                                libperl.a(pp_sys.o)
ceil                                libperl.a(pp.o)
fmod                                libperl.a(pp.o)
send                                libperl.a(pp_sys.o)
sqrt                                libperl.a(pp.o)
atan2                               libperl.a(pp.o)
floor                               libperl.a(pp.o)
...
ld: fatal: Symbol referencing errors. No output written to miniperl
collect2: ld returned 1 exit status


Thanks,
Kiran Nadgir


-----Original Message-----
From: Joseph Werner [mailto:[EMAIL PROTECTED]
Sent: Friday, January 12, 2007 10:43 AM
To: modperl@perl.apache.org
Subject: Re: Problem installing mod_perl on solaris


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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Joseph Werner

******************************************************************************************
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. 


Reply via email to