libdistributed.so not getting installed

Right, Direct depends on Panda, so you absolutely have to build Panda before you can build Direct. And before you can build Panda, you have to be sure you have all of your third-party code dependencies (like Python) referenced properly.

David