What is needed to create a pool with merged mining?
You will need to be running the standard client with some special configuration - server=1 along with rpcuser and rpcpassword set. After that, you need to build your pool server to communicate with it through Bitcoin API and handle everything else. Last part is not too Bitcoin-specific and will consume a lot of your development time (I would know, I tried it ;) ).