Kris Deugau wrote:
>>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
>>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
>>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.
Closely, but not closely enough. There isn't much info about -fpie but
I found something.
Apparently the -fpie switch requires gcc 3.3 whereas RH9.0 is only at 3.2.2.
> 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.
I've been working with Dag Wieers, trying a few things. His SRPM
doesn't run as many tests as the one from David Summers. Will have more
info in a bit.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Thu Feb 10 02:59:36 2005