Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-23-2003, 01:09 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Angry Installing GDB-5.3

Hey im trying to install GDB-5.3. a debugging program..but it wont seem to's what it says in the terminal..

[root@localhost root]# cd gdb-5.3
[root@localhost gdb-5.3]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/gdb-5.3 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@localhost gdb-5.3]#

Old 08-23-2003, 01:12 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
O yeah another note....What does it mean by host? I know its suppose to be the place where I'm suppose to run the program...but im not sure i know the command.....I'm installing Counter-Strike server and its in

So how would I configure that?

./configure host(what do i put to replace host?)
Old 08-24-2003, 09:56 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Old 08-24-2003, 10:20 PM   #4
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
First of all, you have to specify what are you exactly doing. So,
your first query is about installing gdb. Ok, here are the steps.

Your output says that you have to specify the name of a working compiler. Just do the following,

$ set $CC=gcc
$ export CC

and I think that your gdb will be installed.

If you want the settings to be permanent , add the above lines to your .bashrc file located in your home directory.

Regarding your second query, host is the name of your system. Host means that your system has the ability to act as both a server and a client(atleast that is what I was taught in my computer classes), and you have nothing to worry about setting it.
Old 08-25-2003, 10:01 AM   #5
LQ Newbie
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I'm a total noob...when you put the "$" ...i dont write that in the terminal right? that substituting something?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 04:15 PM
normal gdb and spec gdb for kgdb Igor007 Linux - Newbie 1 09-23-2005 01:41 PM
Make failure in BFD while installing GDB salmatele Linux - Software 0 08-15-2005 01:53 AM
gdb .. looking for 32 bit gdb.. for ia64 suse.. nkshirsagar SUSE / openSUSE 0 12-09-2004 03:02 AM
using the gdb varala_kanth Linux - Software 1 04-01-2004 06:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:37 AM.

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