Description of problem:
Spec file misses some BuildPreReq
Version-Release number of selected component (if applicable):
openssh.spec of version 3.4p1
Steps to Reproduce:
1.Build on a more or less clean system
Actual Results: Missing devel packets
Expected Results: More proper BuildPreReq
-BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers
+BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers, zlib-devel, krb5-devel
is an issue for discussion.
on spec from rawhide's package openssh-3.5p1-2.src.rpm, there is an :
that works for the krb5-devel BuildPrereq
on the openssh-3.5p1's configure.ac the need for a working zlib development
environment is clear, as shown on the following snippet :
[ --with-zlib=PATH Use zlib in PATH],
if test "x$withval" = "xno" ; then
AC_MSG_ERROR([*** zlib is required ***])
adding zlib-devel to the BuildPrereq list of packages required for building
would help avoid errors while building this package on a clean environment
+ make gnome-ssh-askpass2
cc `pkg-config --cflags gtk+-2.0` \
gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
`pkg-config --libs gtk+-2.0`
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Installing gtk2-devel fixed the problem. Please add gtk2-devel as BuildRequires.
Fixed in the current releases.