Try setting LD_LIBRARY_PATH. Ilya
> -----Original Message----- > From: Edward Pang [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 09, 2003 12:11 PM > To: Andy Crichton > Cc: [EMAIL PROTECTED] > Subject: RE: Help for DBI installation > > > > > > > Hi Andy, > > When link the cc, I got following error when I run make: > > ###Start of error### > 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 > cc: unrecognized option `-qmaxmem=16384' > cc: unrecognized option `-qnoansialias' > cc: unrecognized option `-q32' > cc: unrecognized option `-qlonglong' > In file included from /usr/local/lib/perl5/5.8.0/aix/CORE/perl.h:371, > from DBIXS.h:19, > from Perl.xs:1: > /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/include/sy > s/types.h:60:23: > s > tandards.h: No such file or directory > /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/include/sy > s/types.h:64:26: > s > ys/inttypes.h: No such file or directory > In file included from /usr/local/lib/perl5/5.8.0/aix/CORE/perl.h:371, > from DBIXS.h:19, > from Perl.xs:1: > /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.2/include/sy > s/types.h:125: > err > or: parse error before "time_t" > ... > ... > ###End of error### > > Thanks. > > > Edward Pang > Systems Programmer > (Tivoli Certified Consultant) > Enterprise Systems Management > Voice: 416-510-6418 > > > > > > > "Andy Crichton" > > <[EMAIL PROTECTED] > > uildingdata.com> > To > "Edward Pang" > <[EMAIL PROTECTED]> > 2003-12-09 12:05 PM > cc > > > > Subject > RE: Help for DBI > installation > > > > > > > > > > > > > > > > > gcc usually creats a link. This will work assuming /usr/bin > is in your path > > ln -s `which gcc` /usr/bin/cc > > > Andy Crichton > > -----Original Message----- > From: Edward Pang [mailto:[EMAIL PROTECTED] > Sent: 09 December 2003 16:52 > To: [EMAIL PROTECTED] > Subject: 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 > > > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > > > __________________________ > This email and any files transmitted with it are confidential > and intended > solely for the use of the individual or entity to whom they > are addressed. The > contents are confidential and may be privileged. > Any views or opinions expressed are those of the sender and > may not reflect the > views or opinions of the company and the company accepts no > liability in > respect thereof. > If you have received this email in error please notify > [EMAIL PROTECTED] immediately. > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > > ______________________________________________________________ > __________ >