DBI uses the compiler that compiled perl.
So install that compiler or compile Perl with gcc.
--
General Logistics Systems
Thomas Mieslinger
German-Parcel-Str. 1-7 fon: +49 6677 17 463
36286 Neuenstein fax: +49 6677 17 111
Germany eMail: [EMAIL PROTECTED]
Edward Pang <[EMAIL PROTECTED]>
09.12.2003 17:51
An: [EMAIL PROTECTED]
Kopie:
Thema: Help for DBI installation
Hi,
I'm installing DBI on my AIX4.3.3 (4330-10) system. I use gcc-3.3.2 and I
have
installed perl 5.8.0. But I got following error when run "make" command:
1. perl Makefile.PL ==> OK
2. make ==> ERROR
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/local/bin/perl -e 'use ExtUtils::Mksymlists; \
Mksymlists("NAME" => "DBI", "DL_FUNCS" => { }, "FUNCLIST" => [],
"DL_VARS" =>
[
]);'
/usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g"
blib/arch/auto/DBI/Driver.xst >
Pe
rl.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/lo
cal/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Perl.xs > Perl.xsc
&& mv
Perl.xsc Perl.c
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-qnoansial
ias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES
-qlonglong
-
DVERSION=\"1.39\" -DXS_VERSION=\"1.39\" "-I/usr/local/lib/perl5/5.8.0
/aix/CORE"
-DDBI_NO_THREADS Perl.c
/bin/sh: cc: not found.
make: *** [Perl.o] Error 127
It looks like make program is trying to call cc instead of gcc. Is there a
solution to fix this problem.
Thanks.
Edward Pang
Systems Programmer
(Tivoli Certified Consultant)
Enterprise Systems Management
Voice: 416-510-6418