Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Trick เกี่ยวกับการแก้ปัญหา เกี่ยวกับ compiler gcc c++ c build make install => Topic started by: golfreeze on กรกฎาคม 08, 2015, 04:50:44 PM

Title: make[2]: *** [man/cp.1] Error 127 on coreutil
Post by: golfreeze 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
Title: Re: make[2]: *** [man/cp.1] Error 127 on coreutil
Post by: golfreeze 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