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

Re: rpm building experience

From: David Summers <david-dated-1028983569.376f23_at_summersoft.fay.ar.us>
Date: 2002-08-05 14:46:03 CEST

Thanks for your feedback over the last few days....I realized I hadn't
kept up-to-date on my apache RPM. It should be tagged at 0.8 now and
development on 0.9 is in the works.

You helped prod me to get the neon problem resolved and found an error in
bdb that I still don't understand how it got past the build but it is
fixed now.

I'll try to make sure things are up-to-date in the repository.

On Fri, 2 Aug 2002, Scott Harrison wrote:

> Date: Fri, 2 Aug 2002 19:27:30 -0400
> From: Scott Harrison <sharrison@users.sourceforge.net>
> To: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
> Subject: rpm building experience
>
> Dear All:
>
> My experience building rpms...
> (a few suggested bug fixes, notes, and unresolved bugs)
>
> NOTE the rpms I build (after retrieving from the svn repository)
> are things like
> apache-2.0.40-0.6.i386.rpm
>
> Whereas, what is posted on the web site is
> apache-2.0.40-0.7.i386.rpm
>
> WHY IS svn:apache (from http://summersoft.fay.ar.us:81/)
> LESS UP TO DATE THAN A BINARY CREATED ON THE WEBSITE
> A WEEK AGO?
>
> NOTE that the *.spec files are sensitive to the naming of the *.tar.gz
> files as well as the initial internal directory name stored
> inside (to be placed in /usr/src/redhat/SOURCES/.)
>
> NOTE that you will discover additional rpm dependencies
> as you run 'rpm -ba' (okay... should grep for PreReq and Requires)
>
> *******************************************
> rpm -ba neon.spec
> for neon
>
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28590
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd neon-0.21.3
> + make
> Makefile:33: *** missing separator. Stop.
> error: Bad exit status from /var/tmp/rpm-tmp.28590 (%build)
>
> line 33 is this:
> @SET_MAKE@
>
> hrmmmm...????????? What is going on here, anybody?
>
> *******************************************
> rpm -ba db.spec
> for bdb
>
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd db-4.0.14
> + cd build_unix
> + CFLAGS=-O2 -march=i386 -mcpu=i686
> + ../dist/configure --prefix=/usr --enable-compat185 --enable-dump185 --enable-shared --enable-static --enable-rpc --enable-cxx
> /var/tmp/rpm-tmp.83854: ../dist/configure: bad interpreter: Permission denied
> error: Bad exit status from /var/tmp/rpm-tmp.83854 (%build)
>
> so let's fix this bugger...
>
> cd db-4.0.14/dist
> chmod a+rx
>
> try again
>
> yeah!
>
> *******************************************
> rpm -ba apache.spec
> for apache
>
> works... (be sure to copy ALL the right files
> in the right way into /usr/src/redhat/SOURCES)
>
> ********************************************
>
> subversion/packages/rpm; make
>
> autoconf253 >= 2.53 is needed by subversion-0.14.0-2864
> libtool >= 1.4.2 is needed by subversion-0.14.0-2864
>
> ??
>
> oh.. I'm on RH72, need to be on RH73
>
> okay.. fixing everything...
> type "make"
>
> uh-oh error here
> checking for Apache module support via DSO through APXS... ./configure: /usr/local/apache2/usr/bin/apxs: No such file or directory
>
> but /usr/local/apache2/bin/apxs
> exists
>
> softlinking is my friend
> ln -s /usr/local/apache2 /usr/local/apache2/usr
>
> YEAH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> ********************************************
>
> So bugs with bdb and subversion (via apache file structure)
> were found.
>
> Regards,
> Scott
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for 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 Tue Aug 6 19:38:55 2002

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.