Find the answer to your Linux question:
Results 1 to 5 of 5
Hi When i use : cat /proc/version i get : Code: linux 2.6.9-uc0 (root'at'debian)(gcc version 3.3.2) But when i try to ./configure python insall i get : Code: configure: error: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2013
    Posts
    6

    C compiler installed, but get error no c compiler installed


    Hi

    When i use : cat /proc/version i get :

    Code:
    linux 2.6.9-uc0 (root'at'debian)(gcc version 3.3.2)
    But when i try to ./configure python insall i get :

    Code:
    configure:  error: no acceptable C compiler found in $PATH
    I cant seem to find the file i need to add to path even if i do

    find / -name gcc

    it brings nothing, any advice?

    Thanks in advance

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    896
    I'm not sure why you believe looking at /proc/version tells you that a C compiler is installed.

    You need to install the compiler.
    apt-get install gcc

    Most likely there will be other packages you will have to install to get that software to compile. If you get stuck, come back and we'll try to help you.

  3. #3
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris
    Posts
    1,288
    Hi, RedEyedDog.

    The file /proc/version can be confusing. However:
    Code:
           /proc/version
                  This string identifies the kernel version that is currently
                  running.
    -- excerpt from man 5 proc
    so other than indicating what edition of gcc compiled the kernel, it was (for you) a red herring.

    I have often installed package build-essential for compiling and software development, but that may be over-kill for many people. On the other hand, it doesn't usually hurt to have a few more items installed -- disk and CPU power are cheap these days.

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  4. #4
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    486
    I would suggest installing build-essential. That gives you everything you need, and you will need more than just gcc to compile packages.

  5. #5
    Just Joined!
    Join Date
    Oct 2013
    Posts
    6
    Quote Originally Posted by drl View Post
    Hi, RedEyedDog.

    The file /proc/version can be confusing. However:
    Code:
           /proc/version
                  This string identifies the kernel version that is currently
                  running.
    -- excerpt from man 5 proc
    so other than indicating what edition of gcc compiled the kernel, it was (for you) a red herring.

    I have often installed package build-essential for compiling and software development, but that may be over-kill for many people. On the other hand, it doesn't usually hurt to have a few more items installed -- disk and CPU power are cheap these days.

    Best wishes ... cheers, drl

    Thanks for that drl it helped alot. i found the real verson by using uname -a.

Posting Permissions

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