LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2005, 08:26 PM   #1
SteveON
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Rep: Reputation: 0
Gpsdrive


I'm having a problem configuring gpsdrive on my FC4 box.

It's looking for GCC 3.0, I've got GCC 4.0 as part of the distro and the confiuration is busting out on me.

Anyone got a fix?

I edited configure.ac

if test "$CC" = "gcc" ; then

if $CC -dumpversion|egrep -q "^4\.*"; then
^3^ Was
echo "GCC ok"
 
Old 11-22-2005, 01:43 PM   #2
skunkburner
Member
 
Registered: Mar 2004
Distribution: Fedora Core 17 & 18, Debian Wheezy
Posts: 137

Rep: Reputation: 16
search through the configure file for the lines

echo "*********************************"
echo "You need a gcc>= 3.x to compile GpsDrive"
echo "*********************************"
exit


if you remove line that tells it to 'exit' it'll compile and run (at least it did for me on FC4)
 
Old 11-23-2005, 08:42 AM   #3
SteveON
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Figure out

Quote:
Originally posted by skunkburner
search through the configure file for the lines

echo "*********************************"
echo "You need a gcc>= 3.x to compile GpsDrive"
echo "*********************************"
exit


if you remove line that tells it to 'exit' it'll compile and run (at least it did for me on FC4)
Actually I fixed it the right way:

Edited Configure.sc thus:

if $CC -dumpversion|egrep -q "^4\.*"
#if $CC -dumpversion|egrep -q "^3\.*"

Ran like a champ!

Although I'm not sure if the arguments passed to version 3 are the same as the arguments passed to 4, or rather if there are other better arguments that could have been invoked.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suitable iPAQ for UMTS and GPSdrive hl05 Linux - Laptop and Netbook 0 11-22-2005 07:45 AM
garmin driver for gpsdrive CLOSETGEEK Linux - Networking 1 06-03-2005 12:47 PM
Kismet gpsdrive issue Rich04 Linux - Software 1 08-14-2004 02:30 PM
Navigation software - not GPSDrive! frogrocker Linux - Software 1 04-05-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration