Parallels Tools won't install - Oracle 8.7 Linux

Discussion in 'Linux Virtual Machine' started by LeighT1, May 24, 2023.

  1. LeighT1

    LeighT1 Bit poster

    Messages:
    6
    Tried several times, no luck - last log entries look like compiler errors (I watched the installer log during the first attempt and all dependencies at the beginning were installed OK with no errors, but the first attempt ended up with the same compiler errors):
    ---------------------------------------------------------------------------------------------------------------------------
    Start installation or upgrade of Guest Tools
    installer:%10.000000
    installer:%20.000000
    Installed Guest Tools were not found
    Register service to install new Guest Tools
    installer:%30.000000
    Perform installation into the /usr/lib/parallels-tools directory
    installer:%40.000000
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    Will use compiler CC="cc".
    Compiler version "cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18.0.2)"
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    1: /lib/modules/5.15.0-3.60.5.1.el8uek.x86_64/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20230524
    4: 1.10.2
    Start compile prl_tg...
    make -C /lib/modules/5.15.0-3.60.5.1.el8uek.x86_64/build M=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg CC=cc modules
    make[2]: Entering directory '/usr/src/kernels/5.15.0-3.60.5.1.el8uek.x86_64'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9.1.0.2)
    You are using: cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18.0.2)
    1: /lib/modules/5.15.0-3.60.5.1.el8uek.x86_64/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20230524
    4: 1.10.2
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    cc: error: unrecognized command line option '-ftrivial-auto-var-init=zero'
    cc: error: unrecognized command line option '-fzero-call-used-regs=used-gpr'
    make[3]: *** [scripts/Makefile.build:288: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    make[2]: *** [Makefile:1974: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    make[2]: Leaving directory '/usr/src/kernels/5.15.0-3.60.5.1.el8uek.x86_64'
    make[1]: *** [Makefile:44: prl_tg] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make: *** [Makefile.kmods:49: compile] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-3.60.5.1.el8uek.x86_64
    modprobe: FATAL: Module prl_tg not found in directory /lib/modules/5.15.0-3.60.5.1.el8uek.x86_64
    Error: failed to install Parallels Guest Tools!
     
  2. SebastianG4

    SebastianG4 Bit poster

    Messages:
    5
    Same Problem here
     
  3. m31

    m31 Bit poster

    Messages:
    1
    I've just got the same problem on Oracle Linux 8.9.
     
  4. DirkM14

    DirkM14 Bit poster

    Messages:
    4
    Same issue here. (Oracle Linux 8.9)
     
  5. DirkM14

    DirkM14 Bit poster

    Messages:
    4
  6. Gpsc6

    Gpsc6

    Messages:
    1
    Tried several times, no luck - last log entries look like compiler errors (I watched the installer log during the first attempt and all dependencies at the beginning were installed OK with no errors, but the first attempt ended up with the same compiler errors):
    ---------------------------------------------------------------------------------------------------------------------------
    Start installation or upgrade of Guest Tools
    installer:%10.000000
    installer:%20.000000
    Installed Guest Tools were not found
    Register service to install new Guest Tools
    installer:%30.000000
    Perform installation into the /usr/lib/parallels-tools directory
    installer:%40.000000
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    Will use compiler CC="cc".
    Compiler version "cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18.0.2)"
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    1: /lib/modules/5.15.0-3.60.5.1.el8uek.x86_64/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
     
  7. DirkM14

    DirkM14 Bit poster

    Messages:
    4
    Did you notice the following part:
    "Symlinked the new gcc to /usr bin/gcc:
    cd /usr/bin
    mv gcc gcc-8
    ln -s /opt/rh/gcc-toolset-12/root/usr/bin/gcc gcc
    "

    Your log says you're still using gcc 8.5.0: "Compiler version "cc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18.0.2)""
     

Share This Page