building RPM from source

David Taylor (knet@mailandnews.com)
Sun, 6 Apr 2003 09:57:42 -0400


I'm trying to build an RPM from the AfterStep-1.8.11.tar.bz2 package.

I've tried extracting the AfterStep.spec file and building using:

	$ rpm -ba --target i686-redhat-linux AfterStep.spec

Unfortunately, that dies when the spec file tries to do the following:

	tar xzf $RPM_SOURCE_DIR/AfterStep-redhat.tar.gz

Apparently this is some sort of RedHat menu for AfterStep.  I don't have
it.  I don't want it.  Surely people using SuSe and other RPM-based
distributions wouldn't want it either.  Does AfterStep really need the
AfterStep-redhat package?  If not, I'd recommend removing it from the
spec file.

After I removed it from my spec file I was able to build a little
further.  It now makes it all the way to the configure script and dies
with:

	config.status: creating afterstep/start/.include
	config.status: error: cannot find input file:
		afterstep/start/.include.in error: Bad exit status
		from/var/tmp/rpm-tmp.55254 (%prep)

I suspect this has something to do with the fact that I don't have
AfterStep-redhat.  The strange thing is, the file that it says it can't
find does actually exist in
/usr/src/redhat/SOURCES/AfterStep-1.8.11/afterstep/start/.include.

I've read through the INSTALL, README, and README.RedHat files.  They
don't seem to cover this.

Can anyone offer hints or suggestions please?  I've been avoiding
learning autoconf and automake .. hopefully I can avoid it for a little
longer.  :-)

ps.  The text files (eg, INSTALL) seem very out of date.  I'm happy to
put my hand up to update them.  For example, one of the files mentions
that Nwanua is working on ascp...

pps.  I've been lurking for a long while.  I used to help Nwanua on ascp
and I wrote the asmounter applet.

David (knet)
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users