perl DBI-1.51 install error ....

perl DBI-1.51 install error ....

am 20.07.2006 00:40:11 von pauladelaide

--0-777545966-1153348811=:34597
Content-Type: text/plain; charset=us-ascii

I am trying to install perl DBI-1.51 on an aix 5+ with oracle 10g client; and I am getting the following error. Please help.

thread-multi/CORE" Perl.c/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is 127.





/tmp/perl/DBI-1.51
# make
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/bin/perl "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp Roadmap.pod blib/lib/Roadmap.pod
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "DBI", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl /usr/opt/perl5/lib/5.8.2/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib/5.8.2/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" Perl.c
/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is 127.

Stop.
root@xxxxx123
/tmp/perl/DBI-1.51
# make test
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.51\" -DXS_VERSION=\"1.51\" "-I/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE" Perl.c/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is 127.

Stop.









paul.adelaide@yahoo.com | mobile: 301.537.5929
--0-777545966-1153348811=:34597--

Re: perl DBI-1.51 install error ....

am 20.07.2006 09:07:07 von jonathan.leffler

------=_Part_6377_5141951.1153379227669
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/19/06, Paul Adelaide wrote:
>
> I am trying to install perl DBI-1.51 on an aix 5+ with oracle 10g client;
> and I am getting the following error. Please help.
>
> thread-multi/CORE" Perl.c/bin/sh: cc_r: not found.
> make: 1254-004 The error code from the last command is 127.


This is the first module you've added (that needs a C compiler)?

The Perl you're using was built with a compiler you don't have.

Either obtain the compiler used to build Perl (possibly by fixing your PATH)
or build Perl with the compiler you have. Anything much else won't work.

--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

------=_Part_6377_5141951.1153379227669--

Re: perl DBI-1.51 install error ....

am 20.07.2006 13:48:07 von pauladelaide

--0-1394050978-1153396087=:52035
Content-Type: text/plain; charset=us-ascii

Thank you Jonathan; I am pleased you responded immediately. I will keep you posted on our progress.

Omar: let us try this suggested solution and see if it helps. I am hoping we could give this a try today.

Regards,
Paul.

paul.adelaide@yahoo.com | mobile: 301.537.5929



----- Original Message ----
From: Jonathan Leffler
To: Paul Adelaide
Cc: dbi-users@perl.org
Sent: Thursday, July 20, 2006 2:07:07 AM
Subject: Re: perl DBI-1.51 install error ....




On 7/19/06, Paul Adelaide wrote:
I am trying to install perl DBI-1.51 on an aix 5+ with oracle 10g client; and I am getting the following error. Please help.

thread-multi/CORE" Perl.c/bin/sh: cc_r: not found.
make: 1254-004 The error code from the last command is 127.

This is the first module you've added (that needs a C compiler)?

The Perl you're using was built with a compiler you don't have.

Either obtain the compiler used to build Perl (possibly by fixing your PATH) or build Perl with the compiler you have. Anything much else won't work.


--
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."
--0-1394050978-1153396087=:52035--