DB2_HOME is set correctly. I believe something is wrong with the compiler options. Here is a subset of the error results which lead me to believe this:
cc -c -I"/opt/IBMdb2/V7.1/include" -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC -I/usr/local/lib/perl5/5.6.0/sun4-solaris/CORE -xCC Constants.c cc: language CC not recognized cc: Constants.c: linker input file unused since linking not done -brad --- [EMAIL PROTECTED] wrote: > > Hello. > You need to set correctly te environment "before" running make, as README > says, the variable DB2_HOME must point to the directory where you > installed the DB2 (usually /usr/IBMdb2/V7.2). > That should resolve your issue and make should wotk fine. Remember to > run "make test" to ensure all is running fine. > Regards > > You wrote: > > >Could someone please give me insight as to what might be the issue here. > I am > >installing DBD::DB2 on a solaris platform. I have already installed the > >DB2Connect Client and DBI. > > > >Here is the output from running the installation: > > > >% perl Makefile.PL > > > >Configuring DBD::DB2... > >Remember to actually read the README and CAVEATS files! > > > >Using DB2 in "/opt/IBMdb2/V7.1" > >System: perl5.006 DBI1.21 sunos sf-backoff-nfs1 5.6 generic_105181-11 > sun4u > >sparc sunw,ultra-250 sun4-solaris dl_dlopen.xs > >Compiler: cc -O -fno-strict-aliasing -I/usr/local/include - > D_LARGEFILE_SOURCE > >-D_FILE_OFFSET_BITS=64 > >Includes: -I"/opt/IBMdb2/V7.1/include" > >-I/usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/DBI > >Libraries: -L/opt/IBMdb2/V7.1/lib -ldb2 > > > >Checking if your kit is complete... > >Looks good > >Checking if your kit is complete... > >Looks good > >Writing Makefile for DBD::DB2::Constants > >Writing Makefile for DBD::DB2 > > > >% make > >mkdir blib > >mkdir blib/lib > >mkdir blib/lib/DBD > >mkdir blib/arch > >mkdir blib/arch/auto > >mkdir blib/arch/auto/DBD > >mkdir blib/arch/auto/DBD/DB2 > >mkdir blib/lib/auto > >mkdir blib/lib/auto/DBD > >mkdir blib/lib/auto/DBD/DB2 > >mkdir blib/man3 > >cp DB2.pod blib/lib/DBD/DB2.pod > >cp lib/Bundle/DBD/DB2.pm blib/lib/Bundle/DBD/DB2.pm > >cp DB2.pm blib/lib/DBD/DB2.pm > >mkdir ../blib/lib/DBD/DB2 > >mkdir ../blib/arch/auto/DBD/DB2/Constants > >mkdir ../blib/lib/auto/DBD/DB2/Constants > >cp Constants.pm ../blib/lib/DBD/DB2/Constants.pm > >AutoSplitting ../blib/lib/DBD/DB2/Constants.pm > >(../blib/lib/auto/DBD/DB2/Constants) > >/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/sun4-solaris > >-I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp > >-typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap Constants.xs > > >Constants.xsc && mv Constants.xsc Constants.c > >cc -c -I"/opt/IBMdb2/V7.1/include" -fno-strict-aliasing - > I/usr/local/include > >-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.20\" > >-DXS_VERSION=\"0.20\" -fPIC -I/usr/local/lib/perl5/5.6.0/sun4- > solaris/CORE -xCC > >Constants.c > >cc: language CC not recognized > >cc: Constants.c: linker input file unused since linking not done > >Running Mkbootstrap for DBD::DB2::Constants () > >chmod 644 Constants.bs > >LD_RUN_PATH="" cc -o ../blib/arch/auto/DBD/DB2/Constants/Constants.so -G > >-L/usr/local/lib Constants.o > >cc: Constants.o: No such file or directory > >cc: No input files > >*** Error code 1 > >make: Fatal error: Command failed for target > >`../blib/arch/auto/DBD/DB2/Constants/Constants.so' > >Current working directory /tmp/bdk/DBD-DB2-0.76/Constants > >*** Error code 1 > >make: Fatal error: Command failed for target `subdirs' > >% > > > > > >Thanks for the help, > > > >Brad > > > >__________________________________________________ > >Do You Yahoo!? > >Try FREE Yahoo! Mail - the world's greatest free email! > >http://mail.yahoo.com/ > > __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/
