fail to compiled glib - linux

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.

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#

Why am I receiving make errors when trying to compile GCC?

I am currently working on Linux From Scratch part 5.5: http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html Although i have followed everything exactly correctly to this point, I am receiving the following make errors after about 20 minutes of compiling GCC 8.2.0:
make[3]: *** [Makefile:1110: graphite-isl-ast-to-gimple.o] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build/gcc'
make[2]: *** [Makefile:4567: all-stage1-gcc] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make[1]: *** [Makefile:21435: stage1-bubble] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make: *** [Makefile:897: all] Error 2
Any help would be appreciated, I have been trying for hours.

Build mpeg4ip library on Ubuntu 14.04

I'm trying to build mpeg4ip library for Ubuntu 14.04 LTS. The command make && make install throws error as below. I referred to Install mpeg4ip using apt on Ubuntu 14.04TLS but it shows 404 while updating.
make[4]: *** [rtphint.lo] Error 1
make[4]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1/lib/mp4v2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1/lib/mp4v2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mpeg4ip-1.5.0.1'
make: *** [all] Error 2
How can I install this library in my linux machine.

LFS:coreutils compile error

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).

Errors when building Linux compat-wireless and Linux backports

root#debian:~/dr/compat-wireless-3.5.4-1# make
make -C /lib/modules/3.2.0-4-486/build M=/root/dr/compat-wireless-3.5.4-1 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-486'
CC [M] /root/dr/compat-wireless-3.5.4-1/compat/main.o
In file included from /root/dr/compat-wireless-3.5.4-1/include/linux/compat-2.6.h:64:0,
from <command-line>:0:
/root/dr/compat-wireless-3.5.4-1/include/linux/compat-3.4.h:58:20: error: redefinition of ‘eth_hw_addr_random’
/usr/src/linux-headers-3.2.0-4-common/include/linux/etherdevice.h:165:20: note: previous definition of ‘eth_hw_addr_random’ was here
make[5]: *** [/root/dr/compat-wireless-3.5.4-1/compat/main.o] Ошибка 1
make[4]: *** [/root/dr/compat-wireless-3.5.4-1/compat] Error 2
make[3]: *** [_module_/root/dr/compat-wireless-3.5.4-1] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-486'
make: *** [modules] Error 2
I used these instructions.
I get this Error with a newer, now renamed, version of backports:
root#debian:~/dr/backports-3.12-1# make
make[5]: `conf'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
CC [M] /root/dr/backports-3.12-1/compat/main.o
CC [M] /root/dr/backports-3.12-1/compat/compat-3.3.o
In file included from /usr/src/linux-headers-3.2.0-4-common/arch/x86/include/asm/swiotlb.h:4:0,
from /usr/src/linux-headers-3.2.0-4-common/arch/x86/include/asm/dma-mapping.h:14,
from /root/dr/backports-3.12-1/backport-include/asm/dma-mapping.h:3,
from /usr/src/linux-headers-3.2.0-4-common/include/linux/dma-mapping.h:68,
from /root/dr/backports-3.12-1/backport-include/linux/dma-mapping.h:3,
from /usr/src/linux-headers-3.2.0-4-common/include/linux/skbuff.h:32,
from /root/dr/backports-3.12-1/backport-include/linux/skbuff.h:3,
from /root/dr/backports-3.12-1/compat/compat-3.3.c:13:
/root/dr/backports-3.12-1/backport-include/linux/swiotlb.h:12:29: error: static declaration of ‘swiotlb_nr_tbl’ follows non-static declaration
/usr/src/linux-headers-3.2.0-4-common/include/linux/swiotlb.h:27:22: note: previous declaration of ‘swiotlb_nr_tbl’ was here
make[8]: *** [/root/dr/backports-3.12-1/compat/compat-3.3.o] Error 1
make[7]: *** [/root/dr/backports-3.12-1/compat] Error 2
make[6]: *** [_module_/root/dr/backports-3.12-1] Error 2
make[5]: *** [sub-make] Error 2
make[4]: *** [all] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2

Resources