Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hi.... Bash cannot find g++ command.....what should i do?? which package should i install?? please help me The version is 10.1 community......
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    6

    g++ command cannot be found


    Hi....

    Bash cannot find g++ command.....what should i do??

    which package should i install??

    please help me

    The version is 10.1 community...

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Install g++?

    www.rpmfind.net
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    6
    Can u explain in detail please?? cause i don't know enough how to handle with it....

    thank u...

  4. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Sorry I was a bit hasty;

    I'm not a mankdake buff, but try using urpm in the Mandrake Controle Center.

    Instructions on how to do this are here, and remember to spscefy a name like g++ and/or gcc

    But lso check if these are on your install cd's, I believe you do this in the mandrake Controle Center,

    call back if you want any more help;

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  5. #5
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Posts
    6
    I downloaded gcc-c++ , but when I tried to install it gave error.......what shoul i do?

  7. #7
    Linux Engineer
    Join Date
    Nov 2004
    Location
    Montreal, Canada
    Posts
    1,267
    earthshrine I'dd like to teach you a concept of troubleshooting...
    what if I return the question around to you and tell you.

    my car doesnt work, what do you think will fix it... well... the answers can be unlimited since you have jack-**** of the actual malfunction im having, on TOP of that, I gave nothing to work on.. no error message, no symptom, nothing... what will you says... give me something to your on!..

    I'm only trying to make ou aware of the post you've just made...
    I downloaded gcc-c++ , but when I tried to install it gave error.......what shoul i do?
    what can we work on with this...
    Whats the error your getting mate?


    Im not trying to piss you of or to put you down in any matter, I'm just trying to teach you something i've learned...
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  8. #8
    Just Joined!
    Join Date
    Jan 2005
    Posts
    6
    well.....when I click the button "install it" a statement like below came out :

    "Some package requested cannot be installed:
    gcc-c++-3.4.1-4mdk.i586 (not enough because of gcc[== 3.4.1-4mdk])
    Are you accept ?"

    and it did not work....


    Actually by saying "it gave error" i meant it didn't work.......I'm sorry not explaining the problem explicitly....

  9. #9
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    That means you need to install the gcc package, which g++ depends on.

  10. #10
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907
    Since you're using Mandrake, set up URPMI and it will sovlve package dependencies for you. There are detailed instructions on how to set it up here (scroll down to the Mandrake section).

    After you've done that, run the command (as root)

    Code:
    urpmi gcc-c++
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

Page 1 of 2 1 2 LastLast

Posting Permissions

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