A makeinstall related problem?
"Ian C.Sison" wrote:
>
> Previous post went unnoticed. Can anyone fix this build problem?
>
> =========================================
>
> Hello all, i've encountered problems with the openssh-2.1.1p2 SRPM in sunet \8(
>
> Firstly, i believe gnome-libs-devel has nothing to do with openssh, so
> please don't include it into the BuildPreReq...
>
> then this error occurred when i was rebuilding the SRPM...
>
> mkdir /var/tmp/openssh-2.1.1p2-buildroot/etc
> mkdir /var/tmp/openssh-2.1.1p2-buildroot/etc/ssh
> if [ -f ssh_prng_cmds -a ! -z "" ]; then \
> /usr/bin/perl fixprogs ssh_prng_cmds ; \
> /usr/bin/install -c -m 644 ssh_prng_cmds.out
>/var/tmp/openssh-2.1.1p2-buildroot//etc/ssh/ssh_prng_cmds; \
> fi
> if [ -f "/etc/ssh/ssh_host_key" ] ; then \
> echo "/etc/ssh/ssh_host_key already exists, skipping." ; \
> else \
> ./ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N "" ; \
> fi ; \
> if [ -f /etc/ssh/ssh_host_dsa_key ] ; then \
> echo "/etc/ssh/ssh_host_dsa_key already exists, skipping." ; \
> else \
> ./ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N "" ; \
> fi ;
> Generating RSA keys: ................ooooooO.....................ooooooO
> Key generation complete.
> Saving the key failed: /etc/ssh/ssh_host_key: No such file or directory.
> Generating DSA parameter and key.
> Saving the key failed: /etc/ssh/ssh_host_dsa_key: No such file or directory.
> make: *** [host-key] Error 1
> Bad exit status from /var/tmp/rpm-tmp.30674 (%install)
>
> ====================================
>
> BTW i'm building this on Mandrake 7.1. I hope anyone of you can find the time
> to resolve this soon....
> -------------------------------------------------------