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

rpm building experience

From: Scott Harrison <sharrison_at_users.sourceforge.net>
Date: 2002-08-03 01:27:30 CEST

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

-- 
Scott Harrison, sharrison@users.sourceforge.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 5 08:52:28 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.