DBD-ODBC isn't available for solaris through ppm, so that won't work. I don't have/use Solaris/apt-get...
standard avice is follow
README,
A Guide to Installing Modules, and for solaris, if you don't have solaris compiler, install gcc toolchain and compile your own perl (or install gcc compiled one).