Hmm. Has anyone else seen PL/SQL errors like this? We haven't.
To answer your question, the dotlrn sources stay in sync with the main trunk of openacs CVS (no tags, no branches, no tarballs). If you use the cvs commandlines on the dotlrn installation page, you will get the right code.