[lfs-support] Problem in section 5.3 of lfs book

Joseph Hesse joehesse at gmail.com
Tue Nov 17 10:59:49 PST 2015


On 11/17/2015 12:33 PM, Bruce Dubbs wrote:
> Joseph Hesse wrote:
>> On 11/17/2015 08:38 AM, Pierre Labastie wrote:
>>> On 17/11/2015 15:18, Joseph Hesse wrote:
>>>> Hello,
>>>>
>>>> In the first "Important" box in section 5.3, the last item is:
>>>> /usr/bin/yacc is a symbolic link to bison or a small script that
>>>> executes bison.
>>>>
>>>> In my host system I have the file /usr/bin/yacc but it is not a
>>>> symbolic link to anything. I also have the file /usr/bin/bison but it
>>>> also is not a link to anything. Please advise on how I can fix this.
>
>>> Isn't the file /usr/bin/yacc a script? (you can use "file
>>> /usr/bin/yacc" to know the nature of the file, and if it is a shell
>>> script, examine what it contains).
>
>> When I do file /usr/bin/yacc I get "ELF 64-bit LSB shared object .." I
>> also have the files /usr/bin/byacc and /usr/bin/byaccj. They are both 
>> ELF.
>> My host system is Fedora 23.
>
> Have you run version-check.sh?  What does it say about yacc?

Here is the output from version-check.sh

bash, version 4.3.42(1)-release
/bin/sh -> /usr/bin/bash
Binutils: version 2.25-15.fc23
bison (GNU Bison) 3.0.4
yacc is
bzip2,  Version 1.0.6, 6-Sept-2010.
Coreutils:  8.24
diff (GNU diffutils) 3.3
find (GNU findutils) 4.5.14
GNU Awk 4.1.3, API: 1.1
/usr/bin/awk -> /usr/bin/gawk
gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
(GNU libc) 2.22
grep (GNU grep) 2.22
gzip 1.6
Linux version 4.2.5-300.fc23.x86_64 
(mockbuild at bkernel02.phx2.fedoraproject.org) (gcc version 5.1.1 20150618 
(Red Hat 5.1.1-4) (GCC) ) #1 SMP Tue Oct 27 04:29:56 UTC 2015
m4 (GNU M4) 1.4.17
GNU Make 4.0
GNU patch 2.7.5
Perl version='5.22.0';
sed (GNU sed) 4.2.2
tar (GNU tar) 1.28
texi2any (GNU texinfo) 6.0
xz (XZ Utils) 5.2.1
g++ compilation OK
>   -- Bruce
>
>



More information about the lfs-support mailing list