Results 1 to 3 of 3

Thread: mandrake 8.1 c compiler question

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Posts
    65

    mandrake 8.1 c compiler question

    hi i just installed mandrake 8.1 .i need vi editor, a c compiler and unix itself for my classes unix/linux (im a first year student graduate computing. i use kde and a user login(not root i mean) i can get vim to work, write and save an exercise, but when i use cc or gcc i get 'commands not found'
    can anyone help me out here, im a total linux newbie.
    i only installed from cd1 . coud it be that i didnt install a c compiler? how do i install this?
    many thanks in advance

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re:mandrake 8.1 c compiler question

    You need to install the compiler, on disc 2 (or three if it comes with that) theres a gcc-<some version>mdk.i586.rpm file, this is the c compiler.
    Now I've never used mandrake, but there are a few tools to install it with, I think mandy comes with urpmi, or gnorpm else theres the good old rpm tool ie: rpm -i <filename>
    In order to get the full functioning of gcc, then you'll need to install the other packages it provides and is dependent on. The following comes to mind:
    gcc
    gcc-c++
    gcc-g77
    gcc-chill
    libstdc++
    libstdc++-compat
    libstdc++-devel
    cpp


    The gcc-g77 and gcc-chill isn't needed for C/C++ code.

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Posts
    65

    Re:mandrake 8.1 c compiler question

    hi many thanks for the info redhead, i m searhing like mad for that.
    i tried doing the right klick, software installer (kde desktop)
    then it tells me about those dependencies, i select to install them all, but when it says 'wait while installing'. my second cdrom opens and i get a message asking for cd 1. i insert 1, press ok, but it keeps reopening and asking for disc 1.
    im going to try the tools you told me. hope that will work better.


Similar Threads

  1. Mandrake urpmi/drakconf question
    By doria in forum Linux - General Topics
    Replies: 9
    Last Post: 05-12-2005, 02:45 PM
  2. Mandrake question from new convert
    By tetrahymenix in forum Linux - General Topics
    Replies: 5
    Last Post: 10-02-2002, 10:11 PM
  3. c compiler
    By 10Dedfish in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 09-17-2002, 11:14 AM
  4. Post-upgrade of XFCE on Mandrake question....
    By chadm1967 in forum Linux - General Topics
    Replies: 2
    Last Post: 02-11-2002, 11:08 AM
  5. Mandrake 8.0 cd question
    By boblucci in forum General Chat
    Replies: 1
    Last Post: 11-26-2001, 02:06 PM

Bookmarks

Posting Permissions

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