LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2004, 08:44 AM   #1
Allahh
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
gcc installation


I have installed linux mandrake 10.0 yesterday and im TOTAL Newbie on this... i have tried to install several programs but it seems to need some c compiler so i looked some forums and i downloaded gcc 3.4.2 now i have to problem to install it.

when i try to ./configure i get message:

./configure: line 2332: 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@Allah gcc-3.4.2]#

or if i try to make install:

make: *** No rule to make target `install'. Stop.
 
Old 09-22-2004, 08:45 AM   #2
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
try
urpmi gcc
urpmi g++

in the console as root
 
Old 09-22-2004, 09:44 AM   #3
Allahh
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
that works i think but it ask Installion CD 1

Riippuvuuksien täyttämiseksi seuraavat paketit asennetaan (20 Mt):
gcc-3.3.2-6mdk.i586
glibc-devel-2.3.3-10mdk.i586
Sopiiko tämä? (K/e) k
umount: /mnt/cdrom: laite on varattu
umount: /mnt/cdrom: laite on varattu
eject: unmount of `/dev/ide/host0/bus1/target0/lun0/cd' failed
Aseta media nimeltään "Installation CD 1 (x86) " laitteeseen [/dev/ide/host0/bus1/target0/lun0/cd]
Paina Enter kun olet valmis...
umount: /mnt/cdrom: laite on varattu
umount: /mnt/cdrom: laite on varattu

my friend computer with windows cd works fine and other than linux cds works with me???
 
Old 09-22-2004, 09:58 AM   #4
Allahh
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
now i get ./configure works but make install got some problems:

/bin/sh ./mkinstalldirs /usr/local /usr/local
make[1]: Entering directory `/home/atte/gcc-3.4.2/gcc-3.4.2/fastjar'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/home/atte/gcc-3.4.2/gcc-3.4.2/fastjar'
make: *** [install-fastjar] Error 2
 
Old 09-22-2004, 12:35 PM   #5
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
well,

check whether you've got gcc3.4.2.... and if not go to rpmfind.net
and get it :+

Next time please put some english outputs instead of Finnish (???) in your posts
 
  


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
Installation of GCC bjsmith Linux - Software 3 07-06-2005 07:49 AM
GCC installation I_forgot Linux - Newbie 2 07-01-2005 12:35 AM
gcc and bc installation Solzhenitsyn Mandriva 0 08-12-2004 02:53 PM
Need help with gcc installation BajaNick Linux - Software 2 10-04-2003 04:49 PM
gcc installation exigent Linux - Software 13 09-03-2002 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:26 AM.

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