LFS:coreutils compile error - linux

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

There were a few dependency issues fixed in coreutils 8.24
For example see: http://git.sv.gnu.org/cgit/coreutils.git/commit/?id=v8.23-34-gf51c44b
If you try the make again it might succeed (as cp is now built).

Related

Unable to build and install binutils in Kali linux

I was trying to install OS 161 KALI LINUX version 2020.3 64bit. The first step was to build and install binutils.
The procedure I followed is shown in this .
I configured the binutils and got this output https://pastebin.com/iXjFq3Zu but upon running i got the make command i got the following errors https://pastebin.com/DYSBdUqq .
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2551: as-new] Error 1
make[4]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[3]: *** [Makefile:2596: all-recursive] Error 1
make[3]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[2]: *** [Makefile:2482: all] Error 2
make[2]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[1]: *** [Makefile:4860: all-gas] Error 2
make[1]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1'
make: *** [Makefile:627: all] Error 2
root#kali:/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1#

I got kernel compiling error but i cant google it

root#com:/usr/src/linux-source-4.15.0/linux-source-4.15.0# make -C $KERN_DIR M=`pwd` modules
echo $KERN_DIR -> /usr/src/linux-source-4.15.0/linux-source-4.15.0
how can i fix it? i cant find this error
drivers/tty/serdev/core.o: failed
scripts/Makefile.build:330: recipe for target 'drivers/tty/serdev/core.o' failed
make[3]: *** [drivers/tty/serdev/core.o] Error 1
scripts/Makefile.build:604: recipe for target 'drivers/tty/serdev' failed
make[2]: *** [drivers/tty/derdev] Error 2
scripts/Makefile.build:604: recipe for target 'drivers/tty' failed
make[1]: *** [drivers/tty] Error 2
Makefile:1060: recipe for target 'drivers' failed
make: *** [drivers] Error 2

gnuplot install failure - recipe for target 'qtgnuplot_fr.qm' failed

When installing gnuplot 5.0.0 (and 5.0.7, too),using ./configure && make,
/usr/lib/qt5/bin/lrelease qtterminal/po/qtgnuplot_fr.ts -qm qtgnuplot_fr.qm
/bin/bash: /usr/lib/qt5/bin/lrelease: No such file or directory
Makefile:1335: recipe for target 'qtgnuplot_fr.qm' failed
make[4]: *** [qtgnuplot_fr.qm] Error 127
make[4]: Leaving directory '/home/seolhwa/Downloads/gnuplot-5.0.7/src'
Makefile:1027: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/seolhwa/Downloads/gnuplot-5.0.7/src'
Makefile:644: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/seolhwa/Downloads/gnuplot-5.0.7/src'
Makefile:419: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/seolhwa/Downloads/gnuplot-5.0.7'
Makefile:357: recipe for target 'all' failed
make: *** [all] Error 2
At first, I installed gnuplot using
apt install gnuplot
the latest version was installed. But it missed pdfcairo. So I installed two necessary dev files and other recommended dev files (for the possible use of qt terminal). Then I moved to gnuplot folder and configure && make. The result is above.
What can I do to fix it?
The Qt translation support is in a separate package qttools5 (precise name depends on your linux distro). If you are going to the trouble of installing from source, why use gnuplot 5.0 rather than current 5.2?

fail to compiled glib

I try to compile glib from source code. But an I/O error stops me.
make[2]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs'
Making all in reference
make[3]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
Making all in glib
make[4]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
GEN glib-gettextize.1
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[4]: *** [glib-gettextize.1] Error 4
make[4]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gtk3/glib-2.36.0/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtk3/glib-2.36.0'
make: *** [all] Error 2
The documentation cannot be built because the external transform stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl cannot be loaded.
Try connecting this machine to the Internet and running the build again.

LFS v7.2 libc-2.16 error while make

While glibc-2.16 make following error occurred:
glibc-build/math/s_modff.os.dt -MT
/media/vaibhav/sources/glibc-build/math/s_modff.os
../sysdeps/ieee754/flt-32/s_isnanf.c:37:1: error: 'EI_isnanf'
aliased to external symbol 'GI_isnanf' make[2]: *
[/media/vaibhav/sources/glibc-build/math/s_isnanf.os] Error 1 make[2]:
* Waiting for unfinished jobs.... make[2]: Leaving directory
`/media/vaibhav/sources/glibc-2.16.0/math' make[1]: *
[math/subdir_lib] Error 2 make[1]: Leaving directory
`/media/vaibhav/sources/glibc-2.16.0' make: * [all] Error 2
Please help me.

Resources