LinuxQuestions.org
Review your favorite Linux distribution.
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 10-31-2003, 12:17 AM   #1
spooodini
LQ Newbie
 
Registered: Sep 2003
Location: Idaho
Posts: 11

Rep: Reputation: 0
Problems with gcc


I am trying to install a gd library on a Mandrake 9.1 system, but am stuck on configuring it because I am given an error as I configure, gcc argument -V is missing. What is the problem with gcc which would cause this while I am configuring the gd library? Is it the cpp files?
 
Old 10-31-2003, 06:04 AM   #2
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
gcc is the GNU C-Compiler. it is required to compile program source code written in C.

You need to install it before you can compile software from source code. (I guess you have to look for development packages)
 
Old 10-31-2003, 10:21 AM   #3
spooodini
LQ Newbie
 
Registered: Sep 2003
Location: Idaho
Posts: 11

Original Poster
Rep: Reputation: 0
Yes I know. I have gcc installed. I am wondering why it is giving me that specific error because I do have gcc installed, I used rpm's.
 
Old 10-31-2003, 11:15 AM   #4
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
-V option for gcc is valid.
--- it causes each invoked subprocess to print its
version information to stdout, ie., version the linker, etc.
It is part of verbose output -v gives everything

What is the EXACT command you used to compile and the whole error message? What you posted must be missing something.
 
Old 10-31-2003, 11:21 AM   #5
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Well, not exactly. I believe that the -V option allows you to override the version to be used, if multiple versions are installed. Look at man gcc. The 'missing argument' complaint would seem to back that up; -V requires a version argument after it.

It sounds like this happened during ./configure. That would be a bit odd, unless it was -v, which prints the version. But that shouldn't complain about a missing argument.

Diagnosing this will probably require investigating config.log.
 
Old 10-31-2003, 12:40 PM   #6
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
musrum - you're right - wrong compiler on my part....
 
  


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
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
GCC problems natm Linux - Newbie 8 10-17-2004 09:42 PM
cc (gcc) problems malbery Debian 2 08-23-2004 12:55 PM
GCC problems garf12 Linux - Software 1 03-07-2004 09:59 PM
gcc problems? b0lt Slackware 2 11-19-2003 07:07 AM

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

All times are GMT -5. The time now is 06:54 PM.

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