I am the maintainer of the package for Gentoo Linux.

Please forgive my ignorance then!

We recently add gcc-4.7, so I wanted to make sure cctbx compiles fine for the users.

Sure.

There are a couple of other issues, which can be solved with the
attached patch but the Student-t tests are really hard.

Missing this-> in templates, I see. I will have a look asap at that student-t issue then.

Best wishes,

Luc