Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: GCC Error Help Please!!




  1. #1
    Join Date
    Nov 2001
    Posts
    448

    Default

    I am tring to compile a program and keep getting this error:

    configure: error: installation or configuration problem: C compiler cannot create executables.

    I know that gcc is installed. Can anyone help

  2. #2
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    Can you run through the steps your doing and post the exact error message.

  3. #3
    Join Date
    Nov 2001
    Posts
    448

    Default

    Ok i am untarring the file as follows:
    tar -xzf barcode.tar.gz
    once in that folder I am making the make files:
    sh ./configure

    and that is where I am having the error

  4. #4
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    Ok, try it without the "sh". The correct order is,
    untar the file
    "tar -xzf barcode.tar.gz"
    cd to the directory created
    "cd barcode/"
    run configure
    "./configure"
    if configure completes without any errors run make
    "make"
    if make completes without any errors do (as root)
    "make install"
    and then it's a good idea to do "ldconfig" to update any shared libs.

  5. #5
    Join Date
    Nov 2001
    Posts
    448

    Default

    even without the sh it still gives me the same error, could my compiler be FUBAR

  6. #6
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    Could be, what version of gcc do you have installed? ( do "gcc --version").

  7. #7
    Join Date
    Nov 2001
    Posts
    448

    Default

    2.95

  8. #8
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    Thats a good version, try reinstalling it and also have a look at the config.log file in the top level directory of the source code for any configure errors.

  9. #9
    Join Date
    Nov 2001
    Posts
    448

    Default

    thanks bern my man

  10. #10
    Join Date
    Nov 2001
    Location
    Brisvegas
    Posts
    832

    Default

    yw. all good now?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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