
sriram.madduri at tcs
Nov 27, 2007, 6:31 AM
Post #1 of 1
(27 views)
Permalink
|
Apologies.... you could perhaps cancel ticket #47876. My subject line wasn't in the prescibed format..... and so the a new ticket got created. I am just pasting the contents of ticket #47876 here.... ****************************************************************************************************************************************************************** Andy, I somehow did not get your reply to the first mail I sent. But I did read your reply accidentally when I stumbled upon the link http://rt.perl.org/rt3//Public/Bug/Display.html?id=47600 through a google search. I performed this sequence... make realclean sh Configure -S make depend make I got the exact same error as I got before. Let me give you the output of the command you sent.... # ./perl -Ilib -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos devdatabase 5.8 generic_117350-50 sun4u sparc sunw,sun-fire-v240 ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags =' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='cc', ldflags =' ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Nov 27 2007 09:36:55 @INC: lib /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . Additionally, if it helps, the Sun C compiler I'm using is a part of Sun Studio 11 which I downloaded from OpenSolaris. Thanks, Sriram Sriram Madduri Team Member - C2B Development Offshore Tata Consultancy Services Mailto: sriram.madduri[at]tcs.com Website: http://www.tcs.com Phone: +91-40-6667-3323 ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ Subject: Re: [perl #47600] Perl installation error Date: Mon, 19 Nov 2007 12:41:12 -0500 (EST) To: Perl Porters <perl5-porters at perl.org> From: Andy Dougherty <doughera at lafayette.edu> Download (untitled) [text/plain 2.1k] On Mon, 19 Nov 2007, sriram . madduri @ tcs . com wrote: > # New Ticket Created by sriram.madduri at tcs.com > # Please include the string: [perl #47600] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=47600 > > > Hi, > > I am trying to install perl 5.6.1 on Solaris 5.8. > > I can't install higher versions of perl because we are trying to replicate > another environment which has perl 5.6.1. > > I downloaded it from http://www.cpan.org/src/5.0/perl-5.6.1.tar.gz. > > I ran configure with default option and then ran make. > > During make, I see the following error on screen: > > Extracting defsubs.h... > ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -typemap > ../../lib/ExtUtils/typemap -typemap typemap B.xs > B.xsc && mv B.xsc B.c > cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"a5\" > -DXS_VERSION=\"a5\" -KPIC -I../.. B.c > Running Mkbootstrap for B () > chmod 644 B.bs > rm -f ../../lib/auto/B/B.so > LD_RUN_PATH="" cc -G B.o -o ../../lib/auto/B/B.so > ld: fatal: relocation error: file B.o: section .rela.text: invalid > relocation type: 0x52 > *** Error code 1 > make: Fatal error: Command failed for target `../../lib/auto/B/B.so' > Current working directory /tmp/perl-5.6.1/ext/B > *** Error code 1 > make: Fatal error: Command failed for target `lib/auto/B/B.so' > > > My PATH variable included /usr/ccs/bin and /opt/SUNWspro/bin. > LD_LIBRARY_PATH was not set. I can't reproduce this on Solaris 5.8 with Sun's cc, and I don't recall seeing it elsewhere either. Are you sure this was a clean build with a fresh copy of the sources and that there is enough disk space for it to complete? Could you please try make realclean sh Configure -S make depend make to be sure any previous compilation attempts have been cleaned out? If that doesn't work, could you please send me the *output* of the command ./perl -Ilib -V command in the perl source directory. Thanks. perl-5.6.1 should compile fine on Solaris 2.8. I'm hoping it's something simple on your local system or in your environment that we can easily fix. -- Andy Dougherty doughera at lafayette.edu ForwardSourceID:NT0000687A Sriram Madduri Team Member - C2B Development Offshore Tata Consultancy Services Mailto: sriram.madduri[at]tcs.com Website: http://www.tcs.com Phone: +91-40-6667-3323 ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
|