Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I got a problem to compile on my new system Linux mandrake 8.2. I can't understand what package is missing can you help me to resolve it ? Thanks ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2003
    Posts
    6

    gcc tell me "Installation problems cannot exec 'ccc0' &


    Hi,

    I got a problem to compile on my new system Linux mandrake 8.2.
    I can't understand what package is missing can you help me to resolve it ? Thanks

    When i ask to compile hello.c with the commande : >make hello
    I receive the message installation problem cannot exec 'ccc0' but i have install the -
    gcc Package and i thought that the compiler was installed but perhaps a package steel missing.
    Do someone can tell me what is the package missing ?

    Best Regards.
    Olivier

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Try this command:

    Code:
    gcc -Wall hello.c -o hello
    And see if it works.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Oct 2003
    Posts
    6

    Thanks for your answhere but no it doesnt'.

    II have try before to ask the question.
    I think it is a installation problem but i don't know the package to install.
    Regards.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    It could also be the Makefile's fault

  6. #5
    Just Joined!
    Join Date
    Oct 2003
    Posts
    6

    It is not in the make file the source is very simple

    Thanks for your answhere but to precise my question i will tell you :

    The file i whant to compile is very simple that's the hello.c known by every beginer with an include of stdio.h and a simple printf() call. with no makefile.
    I got the same answhere from gcc with every source file i whant to compile and if i ask for the two commandes :
    >make hello
    or > gcc hello.c -o hello
    i receive the same answhere :

    Installation problem cannot exec 'cpp0'.

    Please tell me what is the package i need to have the cpp0 exec file called by gcc.

    Thanks.
    Regards.
    Olivier
    ( OdsiDev@mail.pf )

  7. #6
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    You could have a bunk install...I'd try reinstalling gcc.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  8. #7
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    i found a website last night as we were discussing this on IRC, it looks like a problem with the way Suse8.2 installs GCC - it fails to install it all.

    I cannot seem to find the site again now , i think the copy/pasted error message was put on IRC last night.

    Anyway, to solve: reinstall GCC

  9. #8
    Just Joined!
    Join Date
    Oct 2003
    Posts
    6

    the article on IRC

    Thanks all for your help.
    I have understood the problem now.
    I will find the Commercial Cd where there is the gcc compiler or download the new realease of gcc on the GNU web site.

    Thanks a lot.

    The link of the article was :

    http://lists.linux-wlan.com/pipermai...ne/006327.html

    Regards.
    Olivier

  10. #9
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    thats the one

    Hope it all works out.

    Out of interest, how long have you been programming C?

  11. #10
    Just Joined!
    Join Date
    Oct 2003
    Posts
    24
    This might help you:

    From:

    http://www.mit.edu/afs/sipb/project/...nfo/gcc.info-4

    ...

    Options for Debugging Your Program or GCC
    =========================================

    GCC has various special options that are used for debugging either
    your program or GCC:

    ...

    `-print-search-dirs'
    Print the name of the configured installation directory and a list
    of program and library directories gcc will search--and don't do
    anything else.

    This is useful when gcc prints the error message `installation
    problem, cannot exec cpp0: No such file or directory'. To resolve
    this you either need to put `cpp0' and the other compiler
    components where gcc expects to find them, or you can set the
    environment variable `GCC_EXEC_PREFIX' to the directory where you
    installed them. Don't forget the trailing '/'. *Note Environment
    Variables::.

    ...

    hth,

    Phed waves

Posting Permissions

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