LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-22-2006, 10:44 AM   #1
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Rep: Reputation: 15
Exclamation Problems with GCC


Hi,

I've downloaded The Debian and installed it in a Linux Partition in my PC (along with a FAT32, a swap, and a ntfs where the windows XP is).
Now my problem - so to speak - is where the hell is the C/C++ compiler (gcc, I think)? Where should I install it in order to compile the FAT32's files into linux language? And how?
I've tried install it using "apt-get install gcc" but I've got an error regarding a conflict with e2fs...

Another thing: how do I know the name of the partitions I want to mount (I only know the major ntfs - hda1)?

I'm very confused here - and this is quite urgent.

So I ask for your help.

Kind regards,

Rigel_Kent
 
Old 04-22-2006, 10:48 AM   #2
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by rigel_kent
Hi,

I've downloaded The Debian and installed it in a Linux Partition in my PC (along with a FAT32, a swap, and a ntfs where the windows XP is).
Now my problem - so to speak - is where the hell is the C/C++ compiler (gcc, I think)? Where should I install it in order to compile the FAT32's files into linux language? And how?
I've tried install it using "apt-get install gcc" but I've got an error regarding a conflict with e2fs...
Try doing "apt-get install build-essential", which will install the compiler and some stuff that goes with it. If it doesn't work, post the errors here.
Quote:
Originally Posted by rigel_kent
Another thing: how do I know the name of the partitions I want to mount (I only know the major ntfs - hda1)?
Run "fdisk -l /dev/hda", and you will see the partition map.
 
Old 04-22-2006, 11:19 AM   #3
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Original Poster
Rep: Reputation: 15
Almost there...

Hi,

Regarding the fdisk, the list appears - thanks.
As for the other command, "apt-get install build-essential", I get the error "Temporary failure resolving 'mirrors.kernel.org', etc."

Rigel_kent
 
Old 04-22-2006, 12:14 PM   #4
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by rigel_kent
As for the other command, "apt-get install build-essential", I get the error "Temporary failure resolving 'mirrors.kernel.org', etc."
You have a network issue, probably. Are you able to do normal internet things successfully?
 
Old 04-22-2006, 12:26 PM   #5
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Original Poster
Rep: Reputation: 15
Hi,

Yes, without a problem.

Rigel_Kent
 
Old 04-22-2006, 05:46 PM   #6
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Can you ping mirrors.kernel.org? If so, post your /etc/apt/sources.list for us.
 
Old 04-23-2006, 05:25 AM   #7
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Original Poster
Rep: Reputation: 15
Troubles

Hi,

Well, the problem is that I receive:

Quote:
ping: unknown host mirrors.kernel.org
I tested other addresses, with the same result. In Windows it works fine, but in the Linux partition it seems that I don't have internet - it wasn't a problem before.

The sources.list is:

Quote:
#deb file:///cdrom/ sarge main

deb ftp://mirrors.kernel.org/debian/ testing main
deb-src ftp://mirrors.kernel.org/debian/ testing main

deb http://security.debian.org/ testing/updates main
Someone told me that I must configure the resolv.conf file. But how? Using wich IPs? Using wich IPs ( there's the IP, the DNS, the Gateway...)? One of the lines is unknown to me:

Quote:
nameserver 81.92.192.3
Kind regards,

Rigel_Kent

Last edited by rigel_kent; 04-23-2006 at 05:47 AM.
 
Old 04-23-2006, 07:58 AM   #8
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Original Poster
Rep: Reputation: 15
Gcc, G++, etc not recognized

Well, case closed. I've reinstalled Debian again. It seems that it was using the wrong network interface.

Thanks anyway. But I still have a problem

Kind regards,

Rigel_Kent
 
Old 04-23-2006, 10:19 AM   #9
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by rigel_kent
Thanks anyway. But I still have a problem
So what problem is this, now?
 
Old 04-23-2006, 10:45 AM   #10
rigel_kent
Member
 
Registered: Nov 2004
Posts: 64

Original Poster
Rep: Reputation: 15
http://www.linuxquestions.org/questi...d.php?t=437983

 
  


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
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
gcc problems? b0lt Slackware 2 11-19-2003 07:07 AM
Problems with gcc spooodini Linux - Software 5 10-31-2003 12:40 PM
gcc problems 2k. Linux From Scratch 1 07-19-2003 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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