Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: VMPLAYER cannot be installed - GCC version mismatch?

  1. #1
    Join Date
    Sep 2008
    Location
    Montevideo, Uruguay
    Posts
    80

    Question VMPLAYER cannot be installed - GCC version mismatch?

    Hi!

    I'm trying to install VMPLAYER, but I get an error, "A compatible version of gcc was not found", and the software says "GNU C Compiler (gcc) version 5.3.1 was not found." However, I have the latest version of gcc, as shown in:

    Code:
    > gcc --version
    gcc (SUSE Linux) 5.3.1 20160412 [gcc-5-branch revision 234894]
    Is there a way out of this? I'm using the latest VMware-Player-12.1.1-3770994.x86_64.bin version, which I just downloaded.

    Thanks!

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,934
    Blog Entries
    2

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    Last time I looked at VMware on TW issues was a long time ago, at that time I had to install gcc 4.6 and force that during the VMware install.

    It's hard to say if your error might be a more recent version of what I ran into before.

    I recommend you
    - post your TW version, you can do this by running the following command
    Code:
    cat /etc/os-release
    - Post your entire VMware install stdout. There may be a clue you didn't notice prior to the error you posted. You can post long bits of data like the stdout on a pastebin and provide the link your in your Forum post.

    A couple pastebins...
    http://paste.opensuse.org/
    http://pastebin.com/

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Sep 2008
    Location
    Montevideo, Uruguay
    Posts
    80

    Question Re: VMPLAYER cannot be installed - GCC version mismatch?

    Quote Originally Posted by tsu2 View Post
    Last time I looked at VMware on TW issues was a long time ago, at that time I had to install gcc 4.6 and force that during the VMware install.

    It's hard to say if your error might be a more recent version of what I ran into before.

    I recommend you
    - post your TW version, you can do this by running the following command
    Code:
    cat /etc/os-release
    - Post your entire VMware install stdout. There may be a clue you didn't notice prior to the error you posted. You can post long bits of data like the stdout on a pastebin and provide the link your in your Forum post.

    A couple pastebins...
    http://paste.opensuse.org/
    http://pastebin.com/

    TSU

    Hi!

    My Tumbleweed version:
    Code:
    > cat /etc/os-release  
    NAME=openSUSE
    VERSION="Tumbleweed"
    VERSION_ID="20160417"
    PRETTY_NAME="openSUSE Tumbleweed (20160417) (x86_64)"
    ID=opensuse
    ANSI_COLOR="0;32"
    CPE_NAME="cpe:/o:opensuse:opensuse:20160417"
    BUG_REPORT_URL="https://bugs.opensuse.org"
    HOME_URL="https://www.opensuse.org/"
    ID_LIKE="suse"
    and the output for VMPlayer doesn't appear on the console. You get a first window saying "A compatible version of gcc was not found" and then a second one saying "GNU C Compiler (gcc) version 5.3.1 was not found".

    I also tried:

    Code:
    # vmware-modconfig --console --install-all  
    Failed to get gcc information.


    Last edited by fkereki; 25-Apr-2016 at 17:39. Reason: Added vmware-modconfig call

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,934
    Blog Entries
    2

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    Need to see the exact wording of your gcc error.
    You can post your entire stdout to a pastebin as I described.

    There are many reasons why a "compatible version was not found," ie bad path, a version not recognized, a file missing.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Sep 2008
    Location
    Montevideo, Uruguay
    Posts
    80

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    Quote Originally Posted by tsu2 View Post
    Need to see the exact wording of your gcc error.
    You can post your entire stdout to a pastebin as I described.

    There are many reasons why a "compatible version was not found," ie bad path, a version not recognized, a file missing.

    TSU

    Hi!

    Sorry, but as I said, there is NO console output. When you run vmplayer, and it decides that it needs to build and install some modules, all output is sent to the screen. I tried the --console parameter (and other variations) but couldn't get any console output; it was always shown onscreen, without further details.

    My question is: how can I attempt to "make" the modules by hand? I think there was a way to create each one (vmmon, vmnet, etc.) by running "make" (possibly with some parameters...) in such and such directories, and then finishing the installation by copying, moving, or insmod'ding, or something like that.

    Best regards,
    FK

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,934
    Blog Entries
    2

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    Quote Originally Posted by fkereki View Post
    Hi!

    Sorry, but as I said, there is NO console output. When you run vmplayer, and it decides that it needs to build and install some modules, all output is sent to the screen.
    That screen output is what we need to see.

    Methods you can use to capture that windowed console output...
    Copy/Paste.
    If you are using a windowed console like Konsole or LXterminal or XFCEterminal, the screen buffer allows you to scroll to select more than what the screen displays at once. Once you have selected all you wish using something like SHFT-Click or the "mark" in the Edit menu or "click-down-scroll" or whatever else is provided you, you can copy either by using a Menu copy selection or adding a Shift to a normal copy keystroke function (often CTL-C). After copying to the clipboard you can then paste anywhere including a pastebin input box.

    Redirect output from screen to file
    Simply run the command followed by an angle bracket pointing to the right followed by some file name. The result is that you won't see the usual stdout, instead you'll simply see a working command and when it finishes you'll see the command prompt again. The result will be a textfile in the same location the console is in unless you described a path elsewhere (like /home/User/Documents). You can now open that file and post its contents in a Pastebin. In the following, substitute your vmplayer install command for "command"
    Code:
     command > textfile 
    The above methods should work in all openSUSE "enhanced" windowed consoles, the second method might be the only practical option if you're using an unenhanced terminal like xterm (or using some distro other than openSUSE). If you're running your command in a non-windowed console like a raw tty (eg init 3), then use the second method.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7
    Join Date
    Sep 2008
    Location
    Montevideo, Uruguay
    Posts
    80

    Question Re: VMPLAYER cannot be installed - GCC version mismatch?

    As I said, there is NO console output whatsoever. The window output is as follows:

    https://www.dropbox.com/s/ul8w657v81...ror_1.png?dl=0

    https://www.dropbox.com/s/0d9088c3qh...ror_2.png?dl=0

    https://www.dropbox.com/s/qrkrb5sket...ror_3.png?dl=0

    After you confirm on the third screen, it goes back to the 1st one.

    Thanks for your help!

  8. #8
    Join Date
    Sep 2008
    Location
    Montevideo, Uruguay
    Posts
    80

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    That screen output is what we need to see.
    Hi! I'm providing links (in a separate reply) to the windowed output; there's no output whatsoever on the console.

    Thanks!

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,650

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    Do you actually have gcc installed??

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,934
    Blog Entries
    2

    Default Re: VMPLAYER cannot be installed - GCC version mismatch?

    OK,

    First, let's get the package info for your existing gcc
    Code:
    zypper info gcc
    Also the package contents
    Code:
    rpm -ql gcc
    Just verifying that the gcc you're pointing to is actually what the VMware install is likely pointing to.
    Seems to me that if you are actually able to enter a path to the gcc the install wants, that should be sufficient even if the VMware install's default path to find the gcc is somehow incorrect.

    Consider also that although the VMware install might be asking for gcc 5.3.1, that version of gcc isn't actually compatible... That's what I found about a half(maybe slightly longer) year ago but don't know if that should still be the case today. My solution then was to compile with gcc46(installable from the TW repo).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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