develooper Front page | perl.perl5.porters | Postings from May 2012

Perl Installation Fail With Error

Thread Next
From:
Rajendra Popuri2
Date:
May 18, 2012 09:06
Subject:
Perl Installation Fail With Error
Message ID:
OF0F48A2A5.7872F46A-ON65257A02.004304D4-65257A02.0043447C@in.ibm.com
Hi Team,

I am trying to install perl(5.14.2) on AIX (5.3.9), failed with the below 
error while running "make"

  rm -f libperl.a
        gcc -maix64 -maix64 -o libperl.a -shared -Wl,-H512 -Wl,-T512 
-Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bE:perl.exp -Wl,-bnoentry  -Wl,-brtl 
-Wl,-bdynamic -Wl,-b64 -lbind -lnsl -ldl -lld -lm -lcrypt -lc  op.o perl.o 
  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o 
keywords.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o 
doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o 
perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o 
DynaLoader.o -lbind -lnsl -ldl -lld -lm -lcrypt -lc 
ld: 0706-006 Cannot find or open library file: -l gcc_s
        ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l gcc_s
        ld:open(): A file or directory in the path name does not exist.
collect2: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.

I have used the below command to start compiling

./Configure -des -Dcc='gcc -maix64' -Duseshrplib -Duse64bitall 
-Dprefix=/apps/build/perl-5.14.2

I have also added OBJECT_MODE=64 variable for .profile.


Please advise how to resolve this issue. Thanks.

Regards
Rajendra 

Middleware Administrator
SA-3, 2nd Floor,
Bangalore, 
Desk: 080-41771802
Mobile: +91-9591011160


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About