You may get the following error while trying to install Oracle 11g v11.2.0.4 on linux x86-64 bit machines,
Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2018-01-03_03-49-24PM.log' for details.
Solution:
Edit the file: $ORACLE_HOME/sysman/lib/ins_emagent.mk
Search for line:
$(MK_EMAGENT_NMECTL)
Replace it with
$(MK_EMAGENT_NMECTL) -lnnz11
Then click retry button to continue the installation.