Find the answer to your Linux question:
Results 1 to 3 of 3
I have got Mandrake 10.1 official , when I tried to run the program called forum.c in my home directory ,,,I wrote : # gcc forum.c------------the output was: command not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2002
    Posts
    139

    Mandrake 10.1 Official and gcc command


    I have got Mandrake 10.1 official , when I tried to run the program called forum.c in my home directory ,,,I wrote :

    # gcc forum.c------------the output was:
    command not found


    How can I verify that gcc has been installed with Mandrake ?

  2. #2
    Linux Newbie
    Join Date
    Nov 2002
    Posts
    139
    I downloded Mandrake OS official 10.1 ,,,Test media was ok, and SHA1 was ok for all 4 CDs.
    software manager-->select the development program group-->install GCC.
    I received the message blow during installation:

    Verifying Oackage Installation :
    The following package have bad signatures:libstdctts-devel-3.3.4mak.i586.rpm. Invalid signature ( (SHA1) DSA sha1 md5 (GPG) (MISSING KEY) GPG # 78d019f5 NoT ok ).
    Do you want to continue installation
    -------I pressed yes.

    When I checked these command:

    1- which gcc
    2- gcc --version

    3- rpm -q gcc

    It showed me that It has not been installed.
    How can I overcome this issue ?

  3. #3
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Quebec, Canada
    Posts
    100
    Go here: http://easyurpmi.zarb.org/ and set up urpmi on your box.
    Then when your done type this command (as root): urpmi gcc
    That should work, I hope you have a good internet connection because you're going to have to download 70 - 100mb of files to set that all up, but it's worth it.

    nikosapi

  4. $spacer_open
    $spacer_close

Posting Permissions

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