[lfs-support] version check

Pierre Labastie pierre.labastie at neuf.fr
Sun Aug 4 06:08:50 PDT 2019


On 04/08/2019 14:06, Jack Ditchburn wrote:
> Dear List,
> 
> After running the script i got the below result: should I download the items
> which return "command not found"?
> 
> bash, version 4.4.19(1)-release
> /bin/sh -> /bin/dash
> ERROR: /bin/sh does not point to bash
> Binutils: (GNU Binutils for Ubuntu) 2.30
> bison (GNU Bison) 3.0.4
> /usr/bin/yacc -> /usr/bin/bison.yacc
> bzip2,  Version 1.0.6, 6-Sept-2010.
> Coreutils:  8.28
> diff (GNU diffutils) 3.6
> find (GNU findutils) 4.7.0-git
> GNU Awk 4.1.4, API: 1.1 (GNU MPFR 4.0.1, GNU MP 6.1.2)
> /usr/bin/awk -> /usr/bin/gawk
> gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
> version-check.sh: line 36: *g++: command not found*
> (Ubuntu GLIBC 2.27-3ubuntu1) 2.27
> grep (GNU grep) 3.1
> gzip 1.6
> Linux version 4.15.0-54-generic (buildd at lgw01-amd64-014) (gcc version 7.4.0
> (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019
> m4 (GNU M4) 1.4.18
> GNU Make 4.1
> GNU patch 2.7.6
> Perl version='5.26.1';
> Python 3.6.8
> sed (GNU sed) 4.4
> tar (GNU tar) 1.29
> version-check.sh: line 48: *makeinfo: command not found*
> xz (XZ Utils) 5.2.2
> version-check.sh: line 51: *g++: command not found*
> g++ compilation failed
> 
> Thanks in advance.
> 

Yes, you need g++ and makeinfo ("sudo dpkg install g++ texinfo" on ubuntu).
Furthermore, you need to have sh point to bash. I think you can just do "sudo
dpkg-reconfigure dash" and answer no to "Use dash as the default system
command interpreter (/bin/sh)"

Pierre



More information about the lfs-support mailing list