LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-24-2006, 02:26 PM   #1
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Rep: Reputation: 15
GCC missing?


Hello:

I'm trying to connect my newly installed Fedora3 laptop to my ISP. I need to install pppoe to connect to their system.

I downloaded a tarball and uncompressed it. When I was trying to compile it, I got back an error message which started:
'checking for gcc ... no'

I did 'whereis gcc' and it gave:
/usr/libexec/gcc
I had a look and there are a load of folders and a file called cc1.

Do I have gcc or not? I've a fresh install off a commercially produced Linux set so would be a tad disappointed if something so basic was missing.

What's the problem?

me!

Last edited by me!; 08-24-2006 at 02:29 PM.
 
Old 08-24-2006, 02:45 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie stretch buster
Posts: 1,769

Rep: Reputation: 107Reputation: 107
http://www.linuxquestions.org/questi...d.php?t=474491
 
Old 08-25-2006, 10:18 AM   #3
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Original Poster
Rep: Reputation: 15
file /usr/libeexec/gcc gives
/usr/libeexec/gcc: directory

As I said, it is one of a number of folders. When you open gcc, inside you find i386-redhat-linux, inside that 3.4.2, and inside that the cc1 file I mentioned in my first post.

So the question still remain whether or not I have gcc and whether or not it is working and why not?
 
Old 08-25-2006, 10:36 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If the error says gcc is not installed, then its not installed. The directories you show do not contain binaries, so even if they have a reference to gcc, the gcc compiler itself is not installed.
 
Old 08-26-2006, 01:49 AM   #5
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Original Poster
Rep: Reputation: 15
How then do I install gcc without having an internet connection?

I obviously can't yum gcc. I looked at http://gcc.gnu.org/ but it doesn't give a basic scenario. There is also a long list of prerequsities and I have a horrible feeling that if I don't have gcc I won't have these.

Worried,

me!
 
Old 08-26-2006, 01:58 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
If you still have your installation discs then install it using Add/Remove Software or download it from your distros package repositories and install it manually.
 
Old 08-28-2006, 11:57 AM   #7
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Original Poster
Rep: Reputation: 15
PPPOE Connection

Ah! I never would have thought there was an install option so lean that it did not include the necessary tools for instlling further programmes.

I seem to have got gcc and then pppoe installed OK. I type pppoe -start and its connects fine.

However, when I try to type an address in Mozilla it can't find the site. I also tried ping and it gives 'host unknown' even for google and yahoo.

I try pppoe-status and it gives the following, seemingly positive, response:

pppoe-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:85.196.174.10 P-t-P:212.50.3.130 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:458 (458.0 b) TX bytes:94 (94.0 b)

So near yet so far! Any suggestions?

me!
 
Old 08-28-2006, 01:34 PM   #8
noping
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by me!
I try pppoe-status and it gives the following, seemingly positive, response:

pppoe-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:85.196.174.10 P-t-P:212.50.3.130 Mask:255.255.255.255
This Mask 255.255.255.255 is strange. It masks everything!?
 
Old 08-29-2006, 02:07 AM   #9
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Original Poster
Rep: Reputation: 15
So what is the problem? And what is the solution?
 
Old 08-31-2006, 04:09 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The right mask would be something like 255.255.255.0.
 
Old 09-01-2006, 01:39 AM   #11
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Original Poster
Rep: Reputation: 15
But I didn't set any mask. PPPOE doesn't ask for anything more than username, password and host. So is the error on my ISPs side?

me!
 
Old 09-01-2006, 09:52 AM   #12
noping
LQ Newbie
 
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
What is the output of these commands?

netstat -rn

ifconfig

traceroute a_web_site
 
  


Reply


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
GCC 4.1.1 missing specs WontonSoup Linux From Scratch 7 08-09-2006 05:03 AM
Gcc Missing???? dj9928 Linux - Software 2 04-16-2005 11:02 AM
missing packages for gcc: i think. valsus Programming 2 11-09-2004 04:56 PM
missing gcc, cc, and cl hpglow Linux - Newbie 3 07-23-2003 01:07 PM
gcc missing?? cmoloney Linux - Software 3 05-18-2003 01:24 PM

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

All times are GMT -5. The time now is 07:06 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