Find the answer to your Linux question:
Results 1 to 2 of 2
Recently after many months of constant Windows problems I decided to do the full upgrade to Linux and roger off Windows for once and for all... Sadly as I am ...
  1. #1
    Just Joined! NeoSilverDagger's Avatar
    Join Date
    Jan 2007
    Location
    The Independent Republic of Jacko
    Posts
    1

    Question Installing a C compiler (GCC)

    Recently after many months of constant Windows problems I decided to do the full upgrade to Linux and roger off Windows for once and for all... Sadly as I am posting in this part of the forum it is quite obvious I am a bit of a n00b...

    Anywho... After installing my n00b friendly distro of Morphix I decided that I should install a few more programs, but whenever I try to install a program, I extract the source, use "su" to change to the root user in the command line terminal, after which I change directory to where the source was extracted and type "./configure"

    The typical response is this...
    checking build system type... i686-pc-linux-gnuoldld
    checking host system type... i686-pc-linux-gnuoldld
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.


    Here is a copy of the config.log

    Now due to this I was thinking that I should try and install an "acceptable C compiler". Which did I decide I should install? Quite obviously GCC. Hoping for the best I downloaded the source, extracted it to a folder and did my usual thing, to which the response was...
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnuoldld
    checking target system type... i686-pc-linux-gnuoldld
    checking build system type... i686-pc-linux-gnuoldld
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether ln works... yes
    checking whether ln -s works... yes
    checking for gcc... no
    checking for cc... no
    configure: error: no acceptable cc found in $PATH


    Now I have tried other means of installing programs (and have also read the How to install Linux software many times), I have tried the Synaptic Package Manager (will not install the packages) and my distro doesn't have RPM support (which I also can't install the source to obtain it). The only thing that works is Autopackages, but they are few and far between... Can somebody help me install GCC or am I forced to change distro's?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I think Morphix is based on Debian, so fire up a terminal emulator such as konsole or gnome-terminal and do
    Code:
    #apt-get update
    #apt-get install gcc

Posting Permissions

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