[Box Backup] Build problem on Debian Linux

Jérôme Schell boxbackup@fluffy.co.uk
Mon, 31 May 2004 12:05:25 +0200


Hello all,

I'm just giving a try at boxbackup that seems to have all the features 
I've always dream of :)

Just noticed a problem while trying to build on Debian GNU/Linux 
(testing) with gcc 3.3.3. I had to modified the file 
infrastructure/BoxPlatform.pm in this way :

-------------------------
--- boxbackup-0.06.mod/infrastructure/BoxPlatform.pm    2004-05-31 
12:02:01.000000000 +0200
+++ boxbackup-0.06/infrastructure/BoxPlatform.pm        2004-05-20 
17:19:49.000000000 +0200
@@ -63,7 +63,7 @@
         open COMPILER,"gcc -v 2>&1 |" or die "Can't open gcc -v";
         while(<COMPILER>)
         {
-               $gcc_v3 = 1 if (m/version gcc 3/ or m/gcc version 3/);
+               $gcc_v3 = 1 if m/gcc version 3/;
         }
         close COMPILER;
-------------------------

It seems that "gcc -v" returns "version gcc 3.3.3 (Debian 20040401)".
I don't know why, perhaps a Debian touch :)
-- 
Jérôme