> Kris Deugau wrote:
> > As an aside to this, I would recommend snagging the .src.rpm from
> > Dag Wieers' apt/yum repository, and trying to rebuild that; I
> > found I had trouble rebuilding the particular packages you're
> > trying as well. (Listed at
> > http://dag.wieers.com/packages/subversion/, may need minor
> > tweakage for RH9.)
Steve Cohen wrote:
> Minor tweakage? Care to give me a pointer as to where to look? Glad
> to see I'm not the only one having trouble with these packages.
It's been a while since I bothered rebuilding from source; the binaries
provided work find for me.
To be a little more specific about what to do, you have to indicate
which RH version or variant you're building on. For instance, I could
use "rpmbuild --rebuild --define 'dist el3'
subversion-1.1.3-0.1.rf.src.rpm" on my systems, because I'm running
White Box (derived from RHEL3). For RH9, use --define 'dist rh9'
As far as I can tell from reading the spec file, this just disables
something with respect to SWIG. However, from your other message:
> rpmbuild --rebuild subversion-1.1.3-0.1.rf.src.rpm brought back this
> error message:
> gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -D_SVID_SOURCE -D_GNU_SOURCE -O2 -g -pipe -march=i386 -mcpu=i686
> -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/include
> -I./subversion -I/usr/include/neon -I/usr/include/apr-0
> -I/usr/include/apr-0 -fpie -o subversion/clients/cmdline/add-cmd.o
> -c subversion/clients/cmdline/add-cmd.c
> cc1: unrecognized option `-fpie'
> make: *** [subversion/clients/cmdline/add-cmd.o] Error 1
> make: *** Waiting for unfinished jobs....
> error: Bad exit status from /var/tmp/rpm-tmp.70695 (%build)
This looks like some sort of compiler-related error. I can say that the
build should succeed on a stock RHEL3 or any derivative; I just tried
that on my system. In particular, the line "cc1: unrecognized option
`-fpie'" needs further investigation: cc1 is supposedly a component of
gcc, and as far as I can tell should support that option. RH9 should
work as well, as RHEL3 was closely based on RH9 IIRC.
Try with --define 'dist rh9' and see if that fixes the error; if that
works you should then be able to modify the spec file as needed to build
the extra components you're looking for.
Get your mouse off of there! You don't know where that email has been!
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Feb 9 18:27:00 2005