Question : While installing a perl module on AIX server saw the following error. After the download I ran the following commands to install the module.
# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Tie::IxHash
# make install
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build
Too early to specify a build action 'Build'. Do 'Build Build' instead.
make: 1254-004 The error code from the last command is 2.
Stop.
#
Resolution :
Edit the generated Makefile as shown below :
1. Search for the following line in Makefile .
$(PERLRUNINST) Build.PL Build
2. Change it to as shown below :
$(PERLRUNINST) Build.PL &&Build
3. After this try "make install" again and it should complete successfully.