I've tried getting Gentoo to work with Directadmin and it still has library errors. The coders aren't willing to spend any time fixing their broken code, so you might want to rethink using directadmin. There are a lot of other control panels out there.