[ gpsdrive ] compiling gpsdrive - gcc
Kevin Brown
kevin_brown at qwest.net
Sun Jul 29 20:23:06 AKDT 2007
>> 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
> _______________________________________________
> GPSdrive mailing list
> GPSdrive at lists.gpsdrivers.org
> http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive
>
>
Would be better to change it to:
if $CC -dumpversion|egrep -q "^[34]\.*"; then
More information about the GPSdrive
mailing list