The error message is telling you that your C compiler can't be found. Do you have 'gcc' installed on your system? You might have to go fetch the dpkg using Synaptic Package Manager, or sudo apt-get install gcc from the command line.
For what it's worth, on my two Ubuntu 12.04 systems DBI installed without a problem. If the traditional means continues to be stubborn, you could always sudo apt-get install libdbi-perl and install the Debian pre-compiled version.
At some point you might decide as have many before you that it's best to just leave system Perl alone, and use perlbrew to install your own copy of Perl that doesn't need root privileges just to install modules, although that's really just a footnote: You need a C compiler either way.
Dave
In reply to Re: Installing DBI on Ubuntu 12.04
by davido
in thread Installing DBI on Ubuntu 12.04
by grahamsc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |