On Thu, 14 Feb 2002, R P Herrold wrote:
> > checking for flex... no
> > checking for lex... no
> > checking for flex... ${SHELL}
>/home/skwar/RPM/BUILD/multi-gnome-terminal-1.3.11/missing --run flex
> > checking for yywrap in -lfl... no
> > checking for yywrap in -ll... no
> > checking lex output file root... ./configure: ${SHELL}: command not found
> > configure: error: cannot find output from ${SHELL}
>/home/skwar/RPM/BUILD/multi-gnome-terminal-1.3.11/missing --run flex; giving up
> > Fehler: Bad exit status from /home/skwar/RPM/tmp/rpm-tmp.23810 (%build)
> >
> > IMO, rpm-build should require flex.
>
> Think this through -- which package has the requirement -- the
> target to be built, or rpm?
>
> It is the package which you are building, and not rpm package
> (which emits rpm-build package, which contains rpmbuild
> binary) which BuildRequires it -- not rpm-build itself.
>
> RPM will happily rebuild from sources without flex; seemingly
> the target package will not.
Yes. This should read:
multi-gnome-terminal BuildRequires flex
instead of
rpm-build Requires flex
The latter one means virtually all package building would require flex.
Abel