[ gpsdrive ] compiling gpsdrive - gcc
Andreas Meyer
anmeyer at anup.de
Sun Jul 29 23:24:19 AKDT 2007
Kevin Brown <kevin_brown at qwest.net> schrieb:
> >> 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,
>
> Would be better to change it to:
>
> if $CC -dumpversion|egrep -q "^[34]\.*"; then
I did it like this an it worked out, great!
Thank you!
--
Andreas Meyer
Internet-Tel.: 06341620317
Mein öffentlicher GPG-Schlüssel unter:
http://gpg-keyserver.de/pks/lookup?search=anmeyer&fingerprint=on&op=index
More information about the GPSdrive
mailing list