For most of those rules to work, you will need to download the latest revision from the SVN, which isn't detailed in the Debian Wiki. I have a network share from my Windows PC which makes updating things really easy for me. I handle all of the SVN files on my windows PC, and then move them to my Linux shared /home/eqemu/source folder to compile them.
I am sure you can download it directly from Linux, but I don't know how to do that offhand without playing with it.
Having different versions of database and source code is probably the main cause of your issues. Once you get them matching, it should clear up your issues, or at least most of them.
Here is a link to the SVN stuff.
http://code.google.com/p/projecteqemu/source/checkout