[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem building Neon RPMS on RH9

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2003-06-26 06:44:29 CEST

On Wed, 25 Jun 2003, Chris Croome wrote:

> I'm probably doing somthing daft here... :-)
>

[snip]

> So I have checked out the latest version of neon from your site [3] and
> tried to build it:
>
> [chris@snowball neon]$ find ./ -name neon.spec
> ./trunk/neon.spec
> ./tags/neon-0.23.5-1/neon.spec
> ./tags/neon-0.23.9-1/neon.spec
> ./tags/neon-0.22.0-1/neon.spec
> ./tags/neon-0.21.2-1/neon.spec
> ./tags/neon-0.21.3-1/neon.spec
> ./tags/neon-0.23.2-1/neon.spec
> ./tags/neon-0.21.3-2/neon.spec
> ./tags/neon-0.21.3-3/neon.spec
>
> I guess I should use the latest tagged version?
>
> [chris@snowball neon]$ rpm -ba ./tags/neon-0.23.9-1/neon.spec
> -ba: unknown option
>
> Ah, the -ba is for older versions of rpm I think, try again...
>
> [chris@snowball neon]$ rpmbuild ./tags/neon-0.23.9-1/neon.spec
> error: File /usr/local/src/rpms/sources/neon-0.23.9-1/neon-0.23.9.tar.gz: No such file or directory

Hmm, I don't think I've EVER tried to build an RPM from OUTSIDE the RPM
Source directory before.....I don't know what that will do.
 
> This is where I'm stuck -- do I need to manually create the tgz file
> before building the RPM?

Nope, see below.
 
> Sorry if this is a stupid question...
>
> Cheers
>
> Chris

$ cd $HOME/rpms/sources
$ svn co http://summersoft.fay.ar.us:81/repos/neon/tags/neon-0.23.9-1
[it checks out the tag]
$ cd neon-0.23.9-1
$ make

.......Yep, seems to work fine for me on RedHat 9.

So.......what was it you were getting confused about? :-)

Maybe you were expecting an already generated tar.gz file? Just look in
the directory you checked out and you'll see the checked out neon tree.
The Makefile in the top-level generates the neon.tar.gz file necessary for the RPM build and
automatically calls the rpmbuild *.spec after it generates the *.tar.gz
file.

Hopefully that clears everything up?

How could it be made clearer, maybe a README file or something?

If you can figure out how to get apr/apr-util/apache to build under RedHat
9, please send me patches diffed against my current httpd-2.0.46-0.1 tree
in Subversion. I think I've got an angle of attack but haven't yet had
time to try it. Until then, I can't compile a completely RedHat 9
generated RPM.

Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 26 07:00:54 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.