public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vmware install fails
@ 2006-07-13 19:02 Jorge Almeida
  2006-07-13 19:50 ` Mauro Faccenda
  2006-07-13 22:02 ` Neil Bothwick
  0 siblings, 2 replies; 5+ messages in thread
From: Jorge Almeida @ 2006-07-13 19:02 UTC (permalink / raw
  To: gentoo-user

I'm giving vmware a try. I emerged app-emulation/vmware-workstation,
which compiled without problems. The problem is with the script
vmware-config.pl. I accepted the default location for C headers and I
checked it corresponds to the current kernel. /usr/src/linux is the
correct symlink, and include/version.h seems right.
I added root to the vmware group.
The forums show similar problems, but no solution.
The links at the end of the error message seem useless.
What can I try?


$ /opt/vmware/workstation/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.

  * ERROR:  "vmware" has not yet been started.

Configuring fallback GTK+ 2.4 libraries.

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitab                                                        le for your
running kernel.  Do you want this program to try to build the vmmon                                                         module for
your system (you need to have a C compiler installed on your system)                                                        ? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16-gentoo-r7/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: execvp: ./getversion.pl: Permission denied
make: Entering directory `/tmp/vmware-config1/vmmon-only'
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.16-gentoo-r7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'
make[2]: execvp: /tmp/vmware-config1/vmmon-only/./getversion.pl: Permission denied
   CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
/tmp/vmware-config1/vmmon-only/linux/driver.c:107: error: syntax error before ';' token
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] vmware install fails
  2006-07-13 19:02 [gentoo-user] vmware install fails Jorge Almeida
@ 2006-07-13 19:50 ` Mauro Faccenda
  2006-07-13 21:51   ` Jorge Almeida
  2006-07-13 22:02 ` Neil Bothwick
  1 sibling, 1 reply; 5+ messages in thread
From: Mauro Faccenda @ 2006-07-13 19:50 UTC (permalink / raw
  To: gentoo-user; +Cc: Jorge Almeida

On Thursday 13 July 2006 16:02, Jorge Almeida wrote:
> I'm giving vmware a try. I emerged app-emulation/vmware-workstation,
> which compiled without problems. The problem is with the script
> vmware-config.pl. I accepted the default location for C headers and I
> checked it corresponds to the current kernel. /usr/src/linux is the
> correct symlink, and include/version.h seems right.
> I added root to the vmware group.
> The forums show similar problems, but no solution.
> The links at the end of the error message seem useless.
> What can I try?
>
>
> $ /opt/vmware/workstation/bin/vmware-config.pl
> Making sure services for VMware Workstation are stopped.
>
>   * ERROR:  "vmware" has not yet been started.
>
> Configuring fallback GTK+ 2.4 libraries.
>
> Trying to find a suitable vmmon module for your running kernel.
>
> None of the pre-built vmmon modules for VMware Workstation is suitab       
>                                                 le for your running kernel.
>  Do you want this program to try to build the vmmon                        
>                                 module for your system (you need to have a
> C compiler installed on your system)                                       
>                 ? [yes]
>
> Using compiler "/usr/bin/gcc". Use environment variable CC to override.
>
> What is the location of the directory of C header files that match your
> running kernel? [/lib/modules/2.6.16-gentoo-r7/build/include]
>
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> make: execvp: ./getversion.pl: Permission denied
> make: Entering directory `/tmp/vmware-config1/vmmon-only'
> Using 2.6.x kernel build system.
> make -C /lib/modules/2.6.16-gentoo-r7/build/include/.. SUBDIRS=$PWD
> SRCROOT=$PWD/. modules make[1]: Entering directory
> `/usr/src/linux-2.6.16-gentoo-r7'
> make[2]: execvp: /tmp/vmware-config1/vmmon-only/./getversion.pl: Permission
> denied CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
> /tmp/vmware-config1/vmmon-only/linux/driver.c:107: error: syntax error
> before ';' token make[2]: ***
> [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1 make[1]: ***
> [_module_/tmp/vmware-config1/vmmon-only] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
> make: *** [vmmon.ko] Error 2
> make: Leaving directory `/tmp/vmware-config1/vmmon-only'
> Unable to build the vmmon module.
>
> For more information on how to troubleshoot module-related problems, please
> visit our Web site at "http://www.vmware.com/download/modules/modules.html"
> and
> "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html"

do you have something like noexec on your /tmp partition?

[]'s
	.m
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] vmware install fails
  2006-07-13 19:50 ` Mauro Faccenda
@ 2006-07-13 21:51   ` Jorge Almeida
  0 siblings, 0 replies; 5+ messages in thread
From: Jorge Almeida @ 2006-07-13 21:51 UTC (permalink / raw
  To: gentoo-user

On Thu, 13 Jul 2006, Mauro Faccenda wrote:
>
> do you have something like noexec on your /tmp partition?
>
Indeed, and that was it. Remounting solved the problem.

Thank you.
-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] vmware install fails
  2006-07-13 19:02 [gentoo-user] vmware install fails Jorge Almeida
  2006-07-13 19:50 ` Mauro Faccenda
@ 2006-07-13 22:02 ` Neil Bothwick
  2006-07-13 22:18   ` Jorge Almeida
  1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2006-07-13 22:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

On Thu, 13 Jul 2006 20:02:37 +0100 (WEST), Jorge Almeida wrote:

> $ /opt/vmware/workstation/bin/vmware-config.pl

[snip]

> make: execvp: ./getversion.pl: Permission denied

Are you running vmware-config.pl as root? You should be.


-- 
Neil Bothwick

NOTICE:
  --  THE ELEVATORS WILL BE OUT OF ORDER TODAY  --
  (The nearest working elevators are in the building
   across the street.)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] vmware install fails
  2006-07-13 22:02 ` Neil Bothwick
@ 2006-07-13 22:18   ` Jorge Almeida
  0 siblings, 0 replies; 5+ messages in thread
From: Jorge Almeida @ 2006-07-13 22:18 UTC (permalink / raw
  To: gentoo-user

On Thu, 13 Jul 2006, Neil Bothwick wrote:

> On Thu, 13 Jul 2006 20:02:37 +0100 (WEST), Jorge Almeida wrote:
>
>> $ /opt/vmware/workstation/bin/vmware-config.pl
>
> [snip]
>
>> make: execvp: ./getversion.pl: Permission denied
>
> Are you running vmware-config.pl as root? You should be.
>
Yep. But the problem was solved by Mauro's suggestion (/tmp was mounted
noexec).

Thanks.
-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-13 22:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 19:02 [gentoo-user] vmware install fails Jorge Almeida
2006-07-13 19:50 ` Mauro Faccenda
2006-07-13 21:51   ` Jorge Almeida
2006-07-13 22:02 ` Neil Bothwick
2006-07-13 22:18   ` Jorge Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox