Author Topic: make[2]: *** [man/cp.1] Error 127 on coreutil  (Read 9516 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2145
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
make[2]: *** [man/cp.1] Error 127 on coreutil
« on: กรกฎาคม 08, 2015, 04:50:44 PM »
6.29.1. Installation of Coreutils

#make

  GEN      man/cp.1
help2man: can't get `--help' info from man/cp.td/cp
Try `--no-discard-stderr' if option outputs to stderr
Makefile:14065: recipe for target 'man/cp.1' failed
make[2]: *** [man/cp.1] Error 127
make[2]: Leaving directory '/sources/coreutils-8.23'
Makefile:11097: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/coreutils-8.23'
Makefile:5764: recipe for target 'all' failed
make: *** [all] Error 2

add option "--no-discard-stderr" in Makefile of coreutil
#cd /sources/coreutils-8.23
#cp Makefile Makefile.ori
#vi Makefile

run_help2man = $(PERL) -- $(srcdir)/man/help2man --no-discard-stderr

#make -j1

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2145
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
Re: make[2]: *** [man/cp.1] Error 127 on coreutil
« Reply #1 on: กรกฎาคม 08, 2015, 06:41:24 PM »

make[2]: Entering directory '/sources/coreutils-8.23'
make[3]: Entering directory '/sources/coreutils-8.23'
 /tools/bin/mkdir -p '/usr/bin'
  src/ginstall src/ginstall '/usr/bin/./install'
src/ginstall: error while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
Makefile:7385: recipe for target 'install-binPROGRAMS' failed
make[3]: *** [install-binPROGRAMS] Error 127
make[3]: Leaving directory '/sources/coreutils-8.23'
Makefile:11590: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/sources/coreutils-8.23'
Makefile:11098: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/sources/coreutils-8.23'
Makefile:11584: recipe for target 'install' failed
make: *** [install] Error 2



#ln -sv /lib/libattr.so.1 /tools/lib/libattr.so.1
#make install