Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Software Installation, Im a n00b
wookmaster
post Feb 12 2004, 02:08 PM
Post #1


./configure
***

Group: Members
Posts: 82
Joined: 4-February 04
From: Michigan
Member No.: 2,290



I downloaded a program called wmlaptop, I want to use it on my laptop so i can see how much battery power I have, I am running redhat 9.

It comes all in source code, .c and header files, I try using make install and make commands in the terminal but I keep getting an error that refers to gcc, so I searched and downloaded GCC, I tried using ./configure to install GCC I get this error

Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/wookmaster/gcc-3.3.2 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.

I thought GCC was the compiler I was trying to install but it looks like its telling me to install a compiler for the compiler, but im probably wrong, anyone help me out with this?

Thanks


--------------------
Go to the top of the page
 
+Quote Post
shaggy999
post Feb 13 2004, 03:02 AM
Post #2


Grub-er
**

Group: Members
Posts: 27
Joined: 18-January 04
Member No.: 2,170



What is the initial GCC-related error that you got when trying to compile the wmlaptop package? Perhaps you have GCC, but something isn't set correctly?

Another option: I believe there is a utility in Red Hat 9 which allows you to install packages off of the installation CDs anytime after installation. And the utility looks just like the initial installer... you select the packages you want to add and then just hit go. There are compiler packages on there so all you have to do is select the packages and hit go.

BTW, perusing the gcc website shows that you need a bootstrap compiler installed and they provide lots of information there, but it looks like a harrowing process. wacko.gif
Go to the top of the page
 
+Quote Post
shaggy999
post Feb 13 2004, 03:09 AM
Post #3


Grub-er
**

Group: Members
Posts: 27
Joined: 18-January 04
Member No.: 2,170



This command will tell you if you have GCC installed or not, btw:

rpm -q gcc
Go to the top of the page
 
+Quote Post
hughesjr
post Feb 13 2004, 08:01 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



The default install of RH doesn't install gcc ... there are many ways to get it ... the easiest is:

menu - System Settings - Add/Remove Applications

then

go to the Development section and pick Development Tools.

Then, if you are using up2date (or yum or apt-get) to do system updates ... and you should be ... update to the latest version of the installed software.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 08:39 AM