Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
hello, I download the full distribution of gcc-4.4.0 from the web, and try to install it on my Fedora 10 linux platform, but failed. Could anyone be kind to tell ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    6

    how to install gcc-4.4.0 in Fedora 10

    hello,
    I download the full distribution of gcc-4.4.0 from the web, and try to install it on my Fedora 10 linux platform, but failed. Could anyone be kind to tell me how to install it step by step in detail?
    Thanks so much!

  2. #2
    Linux Newbie
    Join Date
    Jul 2006
    Posts
    106
    why dont u use yum? try " yum install gcc" in fedora 10 it shud do it!

  3. #3
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    That's what did it for me.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  4. #4
    Just Joined!
    Join Date
    May 2009
    Posts
    6

    I use the common way to configure and make and them make install it

    Hello
    After I download gmp-x.x.x.tar.gz and mpfr-x.x.x.tar.gz and put them in /home/naishi/gcc-4.4.0/; and configure gmp and install it first and then mpfr. Then configure gcc and make install it on root directory, but the error message is as follows:
    --------------------
    --------------------
    libtool: compile: /home/naishi/gcc-4.4.0/gcc-4.4.0/host-i686-pc-linux-gnu/gcc/gcj -B/home/naishi/gcc-4.4.0/gcc-4.4.0/i686-pc-linux-gnu/libjava/ -B/home/naishi/gcc-4.4.0/gcc-4.4.0/host-i686-pc-linux-gnu/gcc/ -ffloat-store -fomit-frame-pointer -Usun -fclasspath= -fbootclasspath=../.././libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -fsource-filename=/home/naishi/gcc-4.4.0/gcc-4.4.0/i686-pc-linux-gnu/libjava/classpath/lib/classes -fjni -findirect-dispatch -fno-indirect-classes -c @javax-imageio.list -o javax-imageio.o >/dev/null 2>&1
    make[3]: *** [javax-imageio.lo] Error 1
    make[3]: Leaving directory `/home/naishi/gcc-4.4.0/gcc-4.4.0/i686-pc-linux-gnu/libjava'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/naishi/gcc-4.4.0/gcc-4.4.0/i686-pc-linux-gnu/libjava'
    make[1]: *** [all-target-libjava] Error 2
    make[1]: Leaving directory `/home/naishi/gcc-4.4.0/gcc-4.4.0'
    make: *** [all] Error 2

    How to fix this problem?

  5. #5
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    I'm confused
    What are you trying to do? If all you want is gcc installed on Fedora, and want it to work, the best way is to use the package manager.
    Code:
    yum install gcc
    All dependencies resolved, everything where it needs to be. Installing from source when the package is already available is only adding complication.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    gcc-4.4.0 is the latest (and unstable) version of gcc being developed. That it doesn't build doesn't surprise me at all. I can only ask why you are trying to build this version of the compiler suite? Building compilers is not for newbs. One would expect you to be able to deal with any errors you get building it by your own effort or research. IE, compilers are operating system kernels are the "rocket science" of computer science to a great extent. People who try to build rockets without the requisite training and experience can expect to get blown up...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    D'oh! I didn't even pay attention to the version number!
    In which case I agree with Rubberman's summary. Why build an-unstable development tool if the errors are going to throw you?
    I would advise sticking with the stable branch for now.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  8. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Indeed. I think that the previous version before 4.4.0 is 4.3.6 or something like that.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  9. #9
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    I'm posting from Fedora 10, gcc was update about a week or so ago and I've got 4.3.2-7.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  10. #10
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by jayd512 View Post
    I'm posting from Fedora 10, gcc was update about a week or so ago and I've got 4.3.2-7.
    Even the latest Fedora probably isn't using the latest GCC! I think it's a chicken and turkey egg problem...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...