Did you install DBI via CPAN or RPM (or other package management thing)? RPMs tend to have a related devel package which has all sorts of useful things. As others have pointed out, you are missing some important files. You might also try looking for the db2-devel RPM and installing that. I'm not sure exactly what should provide the DBIXS.h file, but you need to find that before you can proceed.