Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-07-2002, 05:14 PM   #1
Registered: Aug 2002
Location: England
Distribution: SuSE 8.1
Posts: 84

Rep: Reputation: 15
Setting Up GCC

Hi, I need to install the C language stuff so I can get Samba to work on my SuSE 8 system. I downloaded the GCC files and I've read through the installation info but I am having difficulty in understanding how I can install it.

Can anyone help?
Old 09-07-2002, 07:04 PM   #2
Registered: Aug 2002
Location: England
Distribution: SuSE 8.1
Posts: 84

Original Poster
Rep: Reputation: 15
ok I think I am doing the right thing (after finding another post)

This is what I did...

SuSE:~ # cd /etc/gcc
SuSE:/etc/gcc # /home/Downloads/gcc-3.2/configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /etc/gcc using "mt-frag"
/home/Downloads/gcc-3.2/configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
SuSE:/etc/gcc #

Can anyone tell me what is going wrong?
Old 09-07-2002, 07:12 PM   #3
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Get gcc as an RPM, obviously you don't have a compiler installed, go over to and search for gcc, get plain rpms, RH ones would do it. And when you'll attempt to install it you might face dependencies problems, note them aside and go over to rpmfind again to hunt them down. Also all the packages you need might be located on SuSE installation CD's.
Old 09-07-2002, 09:16 PM   #4
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Don't get gcc 2.96-RH RPMs.

Here r some rpms i found:
Old 09-07-2002, 10:12 PM   #5
Registered: Aug 2002
Location: England
Distribution: SuSE 8.1
Posts: 84

Original Poster
Rep: Reputation: 15
when I clicked those links I got the following error message?

"Could not create view for application/x-rpm
The diagnostics is" then 'Ok'

The problem started with trying to get Samba server.

This is what started me off to download gcc

SuSE:/home/Downloads/samba-2.2.5/source # ./configure
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
SuSE:/home/Downloads/samba-2.2.5/source #

I am trying to setup Samba so I can get to see the computer in network places on my win2k domain, can anyone help?

I found the link now and I'm downloading the rpm


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up gcc Captain Morgan Linux - Newbie 1 06-28-2005 03:09 PM
Trouble with updating in FC3 and setting up GCC habanerosky Linux - Newbie 3 02-27-2005 06:47 PM
Setting up includes and libs for gcc Keenan Linux - Software 1 12-12-2004 12:33 PM
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 04:59 AM
Setting up GCC for cross-compile ugenn Linux - Software 0 02-20-2003 09:08 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration