Checkout the Drupal CVS branch in accordance to your version of Drupal... Drupal 5: DRUPAL-5 HEAD is meant to be run against Drupal HEAD until the main Drupal branch is created.