openssh 3.4p1-5 src.rpm has error in spec file

The spec file of openssh-3.4p1-5.src.rpm has a spec file that contains the 2 lines: aclocal autoconf that produce an error and thus abort the build run. They should be deleted as the original tar ball that is the basis of the package doesn't contain a config.in file but already the aclocal.m4 file that aclocal is supposed to create. Regards Willy ----------------------------------------------------------- Willy Weisz European Centre for Parallel Computing at Vienna (VCPC) Liechtensteinstrasse 22 A-1090 Wien Tel: (+43 1) 4277 - 38824 Fax: (+43 1) 4277 - 38818 e-mail: weisz@vcpc.univie.ac.at

The spec file of openssh-3.4p1-5.src.rpm has a spec file that contains the 2 lines: aclocal autoconf that produce an error and thus abort the build run.
They should be deleted as the original tar ball that is the basis of the package doesn't contain a config.in file but already the aclocal.m4 file that aclocal is supposed to create.
If you have all the packages installed that are mentioned in the # needeforbuild line of the spec file, then it should build seamlessly. Roman.

If you have all the packages installed that are mentioned in the # needeforbuild line of the spec file, then it should build seamlessly.
btw. I have a quick and dirty script for get all missing packages: call it with the SPEC filename as argument ---cut--- echo "Needed for build:" neededforbuild=`grep '^# neededforbuild' $1` for i in `expr match "$neededforbuild" '# neededforbuild \(.*\)'` do rpm -q $i > /dev/null 2>&1 || echo $i done echo "Used for build:" forbuild=`grep '^# usedforbuild' $1` for i in `expr match "$forbuild" '# usedforbuild \(.*\)'` do rpm -q $i > /dev/null 2>&1 || echo $i done ---cut--- ... kai

* Willy Weisz wrote on Thu, Jul 04, 2002 at 16:33 +0200:
The spec file of openssh-3.4p1-5.src.rpm has a spec file that contains the 2 lines: aclocal autoconf that produce an error and thus abort the build run.
Maybe you'd install GNU autoconf?
They should be deleted as the original tar ball that is the basis of the package doesn't contain a config.in file
You mean "configure.in"? There may be also a config.h.in, but it's created automatically. I cannot imagine that "configure.in" is missing.
but already the aclocal.m4 file that aclocal is supposed to create.
It's common to put "configure" - the main output of all that m4 stuff - in the source dist as well. By this, you can build the package without autoconf. You'll need autoconf if you change configure.in of course. If make tries to recreate configure, it may be a timestamp problem, or you really touched any of the input files (as configure.in or so). In this case, just rm and tar -x again... Did you used rpm -ba or rpm --rebuild ? oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.
participants (4)
-
Kai-H. Weutzing
-
Roman Drahtmueller
-
Steffen Dettmer
-
Willy Weisz