Thanks for the replay ,I think we don't have xlc.. but in software listing its 
showing ..but I cannot find the binaries for it.

I have already gcc but it says most of the option are not available with gcc..

Anoop Kumar Paramesweran | Expert - Unix and Storage Systems
e anoop.ku...@nawras.om | m +96895103659
twitter/nawras_oman | facebook/nawras
-----Original Message-----
From: Martin J. Evans [mailto:boh...@ntlworld.com]
Sent: Wednesday, May 01, 2013 11:07 PM
To: dbi-users@perl.org
Cc: Anoop Kumar Paramesweran
Subject: Re: DBI Module installtion

On 29/04/2013 14:55, Anoop Kumar Paramesweran wrote:
> Hi Support,
>
> I am receiving below error while installing (make ) DBI module in my
> AIX box. As I am new to Perl installations could you please help me to
> solve this..
>
> xlc_r -q32 -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT
> -qlanglvl=extended -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong
> -O -DVERSION=\"1.625\" -DXS_VERSION=\"1.625\"
> "-I/usr/opt/perl5/lib/5.10.1/aix-thread-multi/CORE" Perl.c
> /bin/sh: xlc_r: not found.
> make: 1254-004 The error code from the last command is 127.
>
>
> Stop.

The Perl you are using was compiled with the AIX C compiler and it is either a) 
not installed or b) it is not on your path.

You can either:

a) add the AIX compiler xlc_r to your path if you have it installed (you 
usually have to pay IBM for this compiler)

b) install the IBM compiler and add it to your PATH.

c) install another compiler such as gcc (which is free), build Perl yourself 
into some dir you can point your PATH at and then install DBI.
You might find perlbrew useful if you end up here.

Mostly when people report the issue you have they have installed Perl from a 
package provided by IBM that they built with their compiler and you don't have 
this compiler. When Perl is built is records the compiler and options used and 
generally you cannot compile Perl itself with one compiler and then modules 
which require a C compiler with another compiler.

Martin
--
Martin J. Evans
Wetherby, UK
This e-mail including any attachment is intended only for the recipient(s) 
named. It may contain confidential information and should not be read, copied 
or otherwise used by any other person. If you are not a named recipient, please 
contact the sender and delete the e-mail from your system. The sender does not 
accept any liability for errors or omissions in the content of this message or 
for viruses, or any damage due to the e-mail. The recipient is advised to have 
appropriate virus check software

Reply via email to