Ivan Sergio Borgonovo skrev:
"Terje J. Hanssen"
wrote: Thank you, Ivan. I was able to build both rpms and install rdesktop 1.3 and tsclient 0.132 on my SuSE9/i686.
2) However, on the Sun Java Desktop System (SJDS based on SuSE8) I wasn't able to use rpmbuild (: command not found). According to the SuSE9 Admin Guide, rpmbuild was new with version 4 of the RPM package manager. How are the earlier commands for building correspondingly rpms on SJDS/SuSE8?
rpm -ba [spec file] --target [i386...]
But you should start from a different spec file for different version of SUSE.
I still didn't succeed to build rpm for rdesktop 1.3 for SJDS (SuSE8 based). In the first attempt, I got a claim about missing openssl-devel, which I then installed from the SJDS media. The second attempt ended with a "Bad exit status", see the output messages below. Any suggestions how to troubleshoot this next? TIA, Terje # cd /usr/src/packages/SPECS # rpm -ba rdesktop.spec --target i686 Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.47830 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf rdesktop + /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/rdesktop-1.3.0.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdesktop ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,g-w,o-w . + echo 'Patch #0 (OpenNA-patch0):' Patch #0 (OpenNA-patch0): + patch -p1 -s /var/tmp/rpm-tmp.47830: line 33: patch: command not found Bad exit status from /var/tmp/rpm-tmp.47830 (%prep)