Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I'm trying to install Ktorrent and I keep getting that error. I installed gcc-4.1 from synaptic, and it still gives me this error. What do I do? Edit: Synaptic also ...
  1. #1
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    359

    Error: no acceptable C compiler found in $PATH

    I'm trying to install Ktorrent and I keep getting that error. I installed gcc-4.1 from synaptic, and it still gives me this error. What do I do?

    Edit: Synaptic also says gcc 3.4 is installed. Also installed is cpp 4:4.1.1-15. How many c compilers do I need lol. Also when I type gcc into a shell I get "command not found".

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    you could try and install gcc-devel and see if that fixes it.

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Just execute this
    Code:
    sudo apt-get update
    sudo apt-get install build-essential
    It will install all necessary packages required to compile.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    359
    That worked. However, now I get the error
    Code:
    configure:  error:  Can't find X libraries.  Please check your installation and add the correct paths!
    I know I have X installed, so what does this mean?

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    You probably need to install libx11-dev.

  6. #6
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    359
    That didn't do it. I still get the same error.

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,343
    Try xserver-xorg-dev.

  8. #8
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    359
    Still no. There isn't some way I could just get all the "X libraries" or something is there?

  9. #9
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Are you getting this error while Ktorrent Installation?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #10
    kbk
    kbk is offline
    Linux User kbk's Avatar
    Join Date
    Jun 2005
    Location
    Ohio, USA
    Posts
    359
    No it's while running ./configure.

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
  •