[Box Backup] Re: Make/install help
Ben Summers
boxbackup@fluffy.co.uk
Fri, 5 Aug 2005 12:56:52 +0100
On 5 Aug 2005, at 12:35, Remco Poelstra wrote:
> Ben Summers wrote:
>
>> Are you using gcc v4? (type gcc --version to see the version
>> number). If so, you'll need a small change to infrastructure/
>> BoxPlatform.pm:
>> $gcc_v3 = 1 if (m/version gcc [34]/ || m/gcc version
>> [34]/ || m/gcc \(GCC\) [34]/i || m/gcc.Version\s+[34]/i);
>>
>
> Hi,
>
> I've the same problem, so I was watching this thread for a
> solution. I'm using GCC 4 (FC 4), but fixing the above doesn't
> help. I get the attached errors.
> Furthermore, I would like to make an rpm, how can I make a tarball
> with the fix, so I can do rpmbuild -ta <tgz>?
It looks like the configure script still didn't realise that it's GCC
v4. Instead, wipe out your sources, then do
./configure compile:-DPLATFORM_GCC3
(that is correct to use 3, not 4)
And can you post the output of gcc --version? Maybe RedHat have
"customised" it again.
I do love Linux. Especially the way that all the distributions change
things subtly for no real good reason, making application authors
adjust for every single distribution.
There is an rpm description file in the contrib directory, but
whether it'll work on RedHat's latest wonder, who knows? Hopefully
the Linux experts on this list will help out.
Ben