You don't need "--enable-contrib", this option does not exist and should cause a hint, but that should not cause the error.
You wrote, that it's your first svn build, but is it also the first version of C::B on your system ?
If not you should uninstall the older one before.
To test the build you can run "./configure" with a non-standard prefix:
./configure --with-contrib-plugins=all --prefix=/any/non/standard/directory
I normally use either a special folder in my home directory or the "/tmp"-directory. The latter will be cleaned automatically on bt, so it's sometimes a good choice for testing.
I guess the "make" command will not need as much time as the first run needed, because the object-files normally remain.
After "make install" (should work without "sudo" in "/tmp" and homedir) you can "cd" to the directory named as prefix and run "bin/codeblocks".
That should work without to conflict with older installations.