PHP & MsSQL just wont work.

Hi, I'm new the the linux community and just followed the great tutorial on this site... The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft). I'm trying to start migrate our servers over to linux from windows and I need PHP to connect to our old MSSQL 2000 server.

I've read two tutorials on how to download the source of php edit it to have FreeTDS included in the source and then once I try and build the package and run a "dpkg-buildpackage" on the directories in both tutorials it gives me the following error.