Results 1 to 9 of 9

Thread: Installation ERROR: unable to find command "g++"

  1. #1

    Default Installation ERROR: unable to find command "g++"

    Hello,

    I've just downloaded a free evaluation version of Intel Fortran compiler 10.1.015. When I install it to openSUSE 10.2, after the commond "./install.sh", I get a warning as below:

    ERROR: unable to find command "g++" !

    It appears that one of the missing commands is the 'g++' command.
    Some Linux distributions do not include 'g++' as a part of the 'gcc' installation.
    Please locate and install the proper 'g++' package for your system and restart the installation process for this Intel software product.
    Please add the location to the above commands to your PATH and re-run the script.
    Please press Enter to continue...

    Anyone could tell me how to solve this problem? Thanks!

    seb

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Installation ERROR: unable to find command "g++"

    In my Suse, if I open a console session and enter sudo whereis g++, I get this:
    john@suse110:~> sudo whereis g++
    root's password:
    g++: /usr/bin/g++ /usr/bin/X11/g++ /usr/share/man/man1/g++.1.gz
    john@suse110:~>
    That shows me I have it installed. Do you have it installed as shown by that method?
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,894

    Default Re: Installation ERROR: unable to find command "g++"

    I have openSUSE 10.3.

    I opened YaST > Software > Software Managment
    Typed g++ in the search field
    checked: RPM "Provides" below it (unchecked Name and Summary to speed up a little)
    And clicked Search.

    Now it seems that the package gcc-cc++ contains g++ (the package is on the OSS repo).

    You could do the same and then check the package for intstall and ....

    Edit: you beat me by one minute!
    Last edited by hcvv; 16-Jul-2008 at 12:50. Reason: talking to Swerna
    Henk van Velden

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Installation ERROR: unable to find command "g++"

    Quote Originally Posted by hcvv View Post
    You could do the same and then check the package for intstall and ....

    Edit: you beat me by one minute!
    Well of course.............

    And I think your advice is good to just go ahead and install gcc-c++
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  5. #5

    Default Re: Installation ERROR: unable to find command "g++"

    I beat you to it not requiring sudo.

  6. #6
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Installation ERROR: unable to find command "g++"

    Quote Originally Posted by jengelh View Post
    I beat you to it not requiring sudo.
    OK, here's the prize:
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  7. #7

    Default Re: Installation ERROR: unable to find command "g++"

    Thank you all for your kind advice.

    I've tried to search it using sudo. But it looks like that I didn't have g++ installed as the return is just "g++: ".

    I also search g++ in the software management but returns no gcc or something like g++.

    Could you tell me where can I find a source of g++ to install? Thanks a lot.

  8. #8
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Installation ERROR: unable to find command "g++"

    Search in yast for gcc and install these: gcc and gcc-c++
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  9. #9

    Default Re: Installation ERROR: unable to find command "g++"

    Thanks a lot. I've installed them and the compiler as well.

Posting Permissions

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