Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    problem with C compiler!!!!!need help

    when i write .....
    rpm -q gcc
    it shows...

    but when i try to install PHP,it shows......

    Loading cache ./config.cache
    checking for Cygwin environment... no
    checking for mingw32 environment... no
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking host system type... i686-pc-linux-gnulibc1
    checking target system type... i686-pc-linux-gnulibc1
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... no
    configure: error: installation or configuration problem: C compiler cannot create executables.

    ........plz need help.

  2. #2
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Salem, Mass
    Try installing as root.
    Powered by Fedora

  3. #3
    i m using redhat enterprize 4 ws ......and always do that as a root.

  4. $spacer_open
  5. #4
    What happens when you try to compile a program?

    I wonder if You can just reinstall that one package.

  6. #5
    Just check the relative packages


    check all packages belong to gcc
    if u have yum

    then just
    # yum install gcc*

  7. #6
    thanzz for the reply worked.

Posting Permissions

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