LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-21-2006, 07:31 PM   #1
nicky43
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
GCC installation problem


I downloaded gcc-4.1.1.tar.bz2, extracted it, type "./configure", and type "make".

But, my machine seems to do nothing.

I am attaching the text

[root@gain-tech1 gcc-4.1.1]# make
make[1]: Entering directory `/root/Download/gcc-4.1.1'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc32" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "tooldir=/usr/local/i686-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc32" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/zlib'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty'
make[3]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[3]: `all'를 위해 할 일이 없습니다
make[3]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc32" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local" "AR=ar" "AS=as" "CC=gcc32" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" all-am
make[3]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[3]: `all-am'를 위해 할 일이 없습니다
make[3]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[2]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/fastjar'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/fixincludes'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/fixincludes'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/intl'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/intl'
make[2]: Entering directory `/root/Download/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty'
make[3]: Entering directory `/root/Download/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty/testsuite'
make[3]: `all'를 위해 할 일이 없습니다
make[3]: Leaving directory `/root/Download/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/root/Download/gcc-4.1.1/build-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/root/Download/gcc-4.1.1/build-i686-pc-linux-gnu/fixincludes'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/root/Download/gcc-4.1.1/build-i686-pc-linux-gnu/fixincludes'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/libcpp'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/libcpp'
make[2]: Entering directory `/root/Download/gcc-4.1.1/host-i686-pc-linux-gnu/gcc'
gcc32 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -c insn-attrtab.c \
-o insn-attrtab.o
 
Old 07-21-2006, 10:06 PM   #2
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
After make you need to type "make install" to install anything you're trying to install from source. I don't see anything that looks like an error except maybe the last line saying "-Wmissing" but I don't think that's an error, so it looks like it compiled all right to me. However I'm getting some weird fonts on my side of things that I can't read that may be something I'm missing (nothing to do with you).

You may be making things harder for yourself. You don't have anything saying what distro you use, but most have some kind of package manager that you can use to install things. You should be able to install gcc with your package manager. Since that's a compiler I figure you're trying to install something else and it's asking for gcc. Whatever that other thing is might be able to be installed with a package manager as well. I'd recommend installing with the package manager whenever possible. Other than just being quicker to install, they can usually include any missing dependencies. It's also easier to update or remove packages, and if you later use a package manager and it's looking for something that you installed by compiling can sometimes cause errors.
 
Old 07-22-2006, 01:48 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by mcmillan
I don't see anything that looks like an error except maybe the last line saying "-Wmissing" but I don't think that's an error
Yeah, they're not errors. They are gcc options to give warnings if things are missing.
 
Old 07-22-2006, 05:59 AM   #4
nicky43
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your answer.

I was impatient.

Like your answers, there was no error.
 
  


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
Suse 9.3 gcc-g++ Installation Problem limneos Linux - Newbie 4 09-30-2005 06:27 PM
GCC upgrading/installation problem mcrexx Linux - Newbie 5 09-17-2005 12:33 PM
GCC 2.95 nagging installation problem cutesneakers Linux - Software 2 04-13-2005 07:40 AM
Problem with installation of gcc 3.4.3 lxeye Programming 5 01-16-2005 11:03 AM
Gcc installation problem Agileuk Linux - Newbie 2 09-28-2003 06:11 PM


All times are GMT -5. The time now is 05:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration