First all, thanks for the responses.
Here are my answers:
C.R.: OS - Red Hat 7.2, Oracle MetaLink - Not sure, will find out.
Don:
I've changed all (hopefully) occurances of delete to del with the Kernel and Core scripts and it uploads ok. The stack size is set to 500000.
Michel:
I think i've changed all the relavent Kernel parameters: sem is 250 32000 100 128, shmmax is 2147483648 and shmni is 4096. Any others I should be looking for?
Simos:
I ran your script and it work:
Package created.
No errors.
Package body created.
No errors.
User-defined procedure DELETE allowed in Version 9.0.1.0.0
User-defined function NEW allowed in Version 9.0.1.0.0
PL/SQL procedure successfully completed.
Any other ideas?