[ gpsdrive ] compiling gpsdrive - gcc

Andreas Putzo andreas at putzo.net
Sun Jul 29 13:54:02 AKDT 2007


Hi,

On Jul 29, Andreas Meyer wrote:
> Hello!
> 
> I tried to compile gpsdrive-2.09 and gpsdrive-2.10pre2 on an opensuse10.2
> and with both version I get the following error with ./configure:
> 
> Using gcc compiler
> *****************************************
> You need a gcc >= 3.x to compile GpsDrive
> *****************************************
> 
> What could I do to compile gpsdrive with version 4.1.2?

Simply comment the corresponding lines in the configure script.
Should work then.

diff -urNad gpsdrive-2.10~pre2~/configure gpsdrive-2.10~pre2/configure
--- gpsdrive-2.10~pre2~/configure   2007-07-29 14:47:22.000000000 +0000
+++ gpsdrive-2.10~pre2/configure    2007-07-29 14:48:36.000000000 +0000
@@ -20853,20 +20853,6 @@

 echo "Using $CC compiler"

-if test "$CC" = "gcc" ; then
-
-if $CC -dumpversion|egrep -q "^3\.*"; then
-echo "GCC ok"
-else
-echo "*****************************************"
-echo "You need a gcc >= 3.x to compile GpsDrive"
-echo "*****************************************"
-exit
-fi
-
-fi
-
-
 UNAMEP=`uname -p`
 ARCHP=`arch`
 CFLAGS="$CFLAGS"

Cheers,
Andreas


More information about the GPSdrive mailing list