Re: DBD::Informix install issues
Posted in 2003
Ur makefile should have those settings ( something like CC=gcc ... ) Rgds Preetinder Ashutosh wrote: >I am trying to install DBD::Informix on a Solaris machine. Solaris 8 >with Sun "C" compiler installed and gcc version 2.95.2. > >Informix Database version 9.3.FC3 >Informix CSDK 2.80 with ESQL/C 9.52.FC2 > >I can compile esqlc programs and run it correctly. > >Here is log : > ># perl Makefile.PL >*** ExtUtils::AutoInstall version 0.52 >*** Checking for dependencies... >[Core Features] >- DBI ...loaded. (1.37 >= 1.33) >[High Resolution Timing] >- Time::HiRes ...loaded. (1.2) >*** ExtUtils::AutoInstall configuration finished. >Subroutine main::WriteMakefile redefined at >/usr/local/lib/perl5/site_perl/5.8.. > >Configuring IBM Informix Database Driver for Perl Version 2003.04 >(2003-03-05) ) > You are using DBI version 1.37 and Perl version 5.008 >Remember to actually read the README file! > >Perl: perl5.008 sun4-solaris dl_dlopen.xs >System: sunos e2 5.8 generic_108528-16 sun4u sparc sunw,sun-fire >Compiler: gcc -O -fno-strict-aliasing -I/usr/local/include >-D_LARGEFILE_SOURCE 4 > >Using IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version >9.52.FC2 from /d >Beware: DBD::Informix is not yet aware of all the new IUS data types. > >Assert macro will be disabled! > >lib/DBD/Informix/Defaults.pm written OK >esqlvrsn.h written OK >esqlinfo.h written OK > >Testing whether your Informix test environment will work... >gcc: language arch=v9 not recognized >gcc: esqltest.c: linker input file unused since linking not done >gcc: language arch=v9 not recognized >gcc: esqlc_v6.c: linker input file unused since linking not done >gcc: esqltest.o: No such file or directory >gcc: esqlc_v6.o: No such file or directory >gcc: language arch=v9 not recognized >Failed to link test program esqltest > >How can I switch the compiler from gcc to cc to work with >DBD::Informix? > > sending to informix-list