LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-20-2006, 12:26 PM   #1
mutyalarao
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
Problem with installing gcc 3.3 on fedora core 4


hi all,

I am a newbie to linux. I have Fedora core4 installed on my machine. As i had downloaded XMMS player source rpm and tried to install that, it was throwing a error saying it needs gcc 3.x to be installed (not even 4.0 which was already installed!). So i had got the GCC 3.3.1 from GNU .org and extracted the filed. Then I ran "./configure" in the shell. it did some processing displaying a bunch of messages(nothing like errors) and ended(successfully). THen i ran "make" which gave out the following error:

Quote:
[root@localhost gcc-3.3]# make
make[1]: Entering directory `/usr/mutyalu/mutyam_backup/gcc-3.3/libiberty'
make[2]: Entering directory `/usr/mutyalu/mutyam_backup/gcc-3.3/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/mutyalu/mutyam_backup/gcc-3.3/libiberty/testsuite'
make[1]: Leaving directory `/usr/mutyalu/mutyam_backup/gcc-3.3/libiberty'
make[1]: Entering directory `/usr/mutyalu/mutyam_backup/gcc-3.3/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/sh /usr/mutyalu/mutyam_backup/gcc-3.3/install-sh -c" "INSTALL_DATA=/bin/sh /usr/mutyalu/mutyam_backup/gcc-3.3/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /usr/mutyalu/mutyam_backup/gcc-3.3/install-sh -c " "INSTALL_SCRIPT=/bin/sh /usr/mutyalu/mutyam_backup/gcc-3.3/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --no-split " "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=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/usr/mutyalu/mutyam_backup/gcc-3.3/zlib'
make[1]: Entering directory `/usr/mutyalu/mutyam_backup/gcc-3.3/fastjar'
make[1]: Leaving directory `/usr/mutyalu/mutyam_backup/gcc-3.3/fastjar'
make[1]: Entering directory `/usr/mutyalu/mutyam_backup/gcc-3.3/gcc'
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I. -I./. -I./config -I./../include ./read-rtl.c -o read-rtl.o
In file included from ./read-rtl.c:24:
./rtl.h:132: warning: type of bit-field ‘code’ is a GCC extension
./rtl.h:135: warning: type of bit-field ‘mode’ is a GCC extension
./read-rtl.c: In function ‘fatal_with_file_and_line’:
./read-rtl.c:53: warning: traditional C rejects ISO C style function definitions
./read-rtl.c: In function ‘read_rtx’:
./read-rtl.c:653: error: invalid lvalue in increment
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/usr/mutyalu/mutyam_backup/gcc-3.3/gcc'
make: *** [all-gcc] Error 2

I am unable to figure out whats the problem. Can anybody please help me out in this problem?

I also have a copule of general questions:

Why does Fedora have this complicated method of package management?
If Fedora core 5 is out, Can i update my Fedora core 4 installation without any loss of data?

Replies and suggestion are most welcome!!!

Thanks

Mutyala Rao
 
Old 04-20-2006, 12:30 PM   #2
inescapeableus
Member
 
Registered: Feb 2004
Location: Canada
Distribution: GNU/Linux Debian (Etch)
Posts: 319

Rep: Reputation: 30
Hello, have you attempted to use Fedora's YUM to install applications? If you find the command to be a bit to intimidating you should install YUMEX. This way you can keep track of all your software and provide yourself with a simple method of installation. If you need anymore help just post a message and I will try my best to give you a hand.
 
  


Reply



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
installing gcc on fedora core 2 TempleOwl1999 Linux - Newbie 9 12-14-2006 06:04 AM
Problem installing Fedora Core 4 hacabrera071 Fedora 1 10-06-2005 11:36 AM
Problem with installing Fedora Core 3 OrangeSoda Fedora - Installation 5 08-20-2005 09:52 PM
Problem Installing Fedora Core 4 azuiden Fedora 2 06-19-2005 03:03 AM
problem installing fedora core 1 Fraxxis Fedora - Installation 4 05-04-2004 04:49 AM

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

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