Did you also build and install the modules from source code with the same compiler? Is there more than one perl on your system? This error looks like a perl version mismatch somewhere.
FWIW I used to get a kick out of building everything from source, somehow it felt "cleaner" especially on a new box. I got over that particular obsession and it has saved me a lot of heartache. The whole reason for the existence of pre-built distributions like Strawberry Perl is to avoid problems like this.
The way forward always starts with a minimal test.