The message show error with solution clearly so we have to check the memory space allocated for "Max cPanel process memory" in tweak settings,

Error:

The entire verbose build output is available in /usr/local/cpanel/logs/easy/apache/build.1394457074

 If the server does not have enough memory to run the build via a browser (IE if you get "Out of memory" errors below) then you will have to do the build via command line with /scripts/easyapache.

Solution:

Login into your WHM Panel and select : tweak settings ->

find and increase ram space atleast 512MB,
 
Max cPanel process memory (Minimum: 512):  512

(or)

Try to build using a shell script:
 
#  /scripts/easyapache