Hi,
I am getting a yacc not found on Fedora_Extras_4. Below is the error
message.
yacc -d dgn_comp.y
make: yacc: Command not found
make: *** [dgn_yacc.c] Error 127
make: Leaving directory
`/usr/src/redhat/BUILD/vultures-2.1.0/nethack/util'
error: Bad exit status from /var/tmp/rpm-tmp.33147 (%build)
I have the following in the spec file.
%if 0%{?suse_version}
BuildRequires: bison
%endif
%if 0%{?fedora_version}
BuildRequires: byacc
%endif
I had but thought if I add an other target it may not work. Also the
%elseif instead of %else, did not seem to work.
%if 0%{?suse_version}
BuildRequires: bison
%else
%if 0%{?fedora_version}
BuildRequires: byacc
%endif
I see this in the log file. It should be byacc not bison or an error that
bison is not available. But I get
...
installing bison-2.0-6
...
In Fedora_Extras_5 I see (which is correct)...
...
installing byacc-1.9-29.2.1
...
--
Boyd Gerber