Announcement

Collapse
No announcement yet.

error during installation

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

    error during installation

    while trying to install anything from command line the following error occurs:

    when i try to run ./configure after checking dependencies, it shows this -

    C compiler cannot create executables.

    how to fix this problem? is there some configuration required in gcc compiler. Using adept or synaptic i have always been able to install a software but i don't why not with command line.

    #2
    Re: error during installation

    parsing error

    You are trying to do what ?

    Are you trying to install a .deb package ?

    Or are you trying to compile/build an executable and install it ?


    About configure (snap from an INSTALL file)
    The `configure' shell script attempts to guess correct values for
    various system-dependent variables used during compilation. It uses
    those values to create a `Makefile' in each directory of the package.
    It may also create one or more `.h' files containing system-dependent
    definitions. Finally, it creates a shell script `config.status' that
    you can run in the future to recreate the current configuration, a file
    `config.cache' that saves the results of its tests to speed up
    reconfiguring, and a file `config.log' containing compiler output
    (useful mainly for debugging `configure')...


    The simplest way to compile this package is:

    1. `cd' to the directory containing the package's source code and type
    `./configure' to configure the package for your system. If you're
    using `csh' on an old version of System V, you might need to type
    `sh ./configure' instead to prevent `csh' from trying to execute
    `configure' itself.

    Running `configure' takes a while. While running, it prints some
    messages telling which features it is checking for.

    2. Type `make' to compile the package.

    3. Type `make install' to install the programs and any data files and
    documentation...

    Links:

    > FAQ: Installing from source
    > Repositories/Kubuntu
    > How to install ANYTHING in Ubuntu!
    > Installing Software in Ubuntu
    > AdeptHowto (Kubuntu default package manager)
    > Synaptic Package Manager (Ubuntu default package manager)
    > FAQ: Package Managers
    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


      #3
      Re: error during installation

      i was trying to install mysql-5 from the source code.
      it came in .tar.gz package. i un-tarred it
      and then tried to run ./configure. then this error occured which i have mentioned above:

      c compiler cannot create executables.

      i hope this much information is sufficient to figure out what must have gone wrong.

      Comment


        #4
        Re: error during installation

        Do you have "build-essential" installed ?

        If you have - could you post more information, what it exactly says when you type ./configure and what is in the config.log. You can attach text files in the "Additional Options".


        Search with the: "c compiler cannot create executables" reveals:

        > C compiler cannot create executables
        > "C compiler cannot create executables" how do i fix it?
        > error: C compiler cannot create executables - Ubuntu (Solution)
        + lot of more...
        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


          #5
          Re: error during installation

          thanks for the support
          i didn't have build-essential installed, so I installed it.

          Comment

          Working...
          X