I encountered an error while trying to install Oracle Database Software

I have recently upgraded to Ubuntu 11.10 Oneiric Ocelot and I tried installing Oracle Database Software and encountered the error below. Please help me fix this.
Oracle Database 11g Release 2 Installer
Error in invoking target 'agent nmhs' of makefile
'/u01/app/oracle/product/11.2.0/db_2/sysman/lib/ins_emagent.mk'.
See
'/u01/app/oraInventory/logs/installActions2011-11-11_06-59-43PM.lo
g' for details.
                            Abort      Retry     Continue
Â
Â
Oracle Database 11g Release 2 Installer
Error in invoking target 'all_no_orcl' of makefile
'/u01/app/oracle/product/11.2.0/db_2/rdbms/lib/ins_rdbms.mk'. See
'/u01/app/oraInventory/logs/installActions2011-11-11_06-59-43PM.lo
g' for details.
                            Abort      Retry     Continue
Thanks.
