Announcement

Collapse
No announcement yet.

C compiler cannot create executables

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    C compiler cannot create executables

    I've installed from source in the past but it's been awhile and I would consider myself a noob in this arena.

    I'm trying to build a deb pkg of Kmymoney2 .9.3 for Hardy using checkinstall. However when I try to ./configure I get "C compiler cannot create executables" error. What's the problem here?

    As an aside, is there a way to get a package from the Intrepid repos and install it on Hardy? If so would this be problematic mixing pkgs from intrepid? Is there a way to browse repos with a web browser?

    Edit: Answered this one.
    Code:
    http://packages.ubuntu.com/intrepid
    Edit: Just found the answer to my question about C compiler also.
    Code:
    sudo apt-get install build-essential
    Now I'm getting
    Code:
    checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
    I think I may have a dependency problem. Probably Intrepid X libraries. I was looking at dependencies for Kmymoney2 .9.2 in the Intrepid repos and at least one of them is too old in Hardy.
    I knew it couldn't be easy :P

    #2
    Re: C compiler cannot create executables

    you might try

    sudo apt-get build-dep kmymoney

    To get packages from a newer distribution you can add the lines from the newer repository to your sources.list and set the default release in /etc/apt/apt.conf like this
    APT {
    Default-Release "hardy";
    };


    You could then try

    sudo aptitude install kmymoney/intrepid

    and it will try to do that for you. You may be running into a KDE and Kmymoney version issue here though.

    Comment


      #3
      Re: C compiler cannot create executables

      Now I'm getting

      checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!

      Maybe > FAQ: Installing from source
      Packages for DIY compilers - errors and solutions
      ...
      Error message:
      checking for X... configure: error: Can't find X includes.
      or
      checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!

      This package helpped here: kdebase-dev

      development files for the KDE base module
      This package contains headers and other development files needed to
      compile software based on the KDE base module.
      ...
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment

      Working...
      X