LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2008, 12:10 AM   #1
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Rep: Reputation: 31
vmware-config.pl returns error but install is ok


I am having trouble with running the vmware-config.pl script for vmware server on Ubuntu Intrepid Ibex. Does anyone have any insight into the reason for the failure? I have found that the issue is usually related to not having the headers for my kernel, but I am pretty sure it has what I need.

Code:
bryanjp@bryantower:~/Desktop/vmware-server-distrib$ sudo vmware-config.pl 
Making sure services for VMware Server are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons? 
[/usr/share/icons] 

What directory contains your desktop menu entry files? These files have a 
.desktop file extension. [/usr/share/applications] 

In which directory do you want to install the application's icon? 
[/usr/share/pixmaps] 

/usr/share/applications/vmware-server.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning: value "vmware-server.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable 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.27-7-generic/build/include] 

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.27-7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/./include/machine.h:24,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/pda.h:8,
                 from include/asm/current.h:19,
                 from include/asm/processor.h:15,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config1/vmmon-only/linux/vmhost.h:13,
                 from /tmp/vmware-config1/vmmon-only/linux/driver.c:71:
/tmp/vmware-config1/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config1/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config1/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config1/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config1/vmmon-only/linux/driver.c:1670: error: too many arguments to function ‘smp_call_function’
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-headers-2.6.27-7-generic'
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.
Code:
bryanjp@bryantower:~/Desktop/vmware-server-distrib$ uname -r
2.6.27-7-generic
Code:
bryanjp@bryantower:~/Desktop/vmware-server-distrib$ dpkg -l | grep linux
ii  libselinux1                               2.0.65-2                              SELinux shared libraries
ii  libv4l-0                                  0.5.0-3~intrepid1                     Collection of video4linux support libraries
ii  linux-firmware                            1.2                                   Firmware for Linux kernel drivers
ii  linux-generic                             2.6.27.7.11                           Complete Generic Linux kernel
ii  linux-headers-2.6.27-7                    2.6.27-7.16                           Header files related to Linux kernel version
ii  linux-headers-2.6.27-7-generic            2.6.27-7.16                           Linux kernel headers for version 2.6.27 on x
ii  linux-headers-generic                     2.6.27.7.11                           Generic Linux kernel headers
ii  linux-image-2.6.27-7-generic              2.6.27-7.16                           Linux kernel image for version 2.6.27 on x86
ii  linux-image-2.6.27-7-server               2.6.27-7.16                           Linux kernel image for version 2.6.27 on x86
ii  linux-image-generic                       2.6.27.7.11                           Generic Linux kernel image
ii  linux-image-server                        2.6.27.7.11                           Linux kernel image on Server Equipment.
ii  linux-libc-dev                            2.6.27-7.16                           Linux Kernel Headers for development
ii  linux-restricted-modules-2.6.27-7-generic 2.6.27-7.12                           Non-free Linux kernel modules for version 2.
ii  linux-restricted-modules-common           2.6.27-7.12                           Non-free Linux 2.6.27 modules helper script
ii  linux-restricted-modules-generic          2.6.27.7.11                           Restricted Linux modules for generic kernels
ii  linux-server                              2.6.27.7.11                           Complete Linux kernel on Server Equipment.
ii  linux-sound-base                          1.0.17.dfsg-2ubuntu1                  base package for ALSA and OSS sound systems
ii  syslinux                                  2:3.63+dfsg-2ubuntu3                  Bootloader for Linux/i386 using MS-DOS flopp
ii  util-linux                                2.14-1ubuntu2                         Miscellaneous system utilities
 
Old 11-16-2008, 01:38 AM   #2
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Original Poster
Rep: Reputation: 31
didn't fix it

The any-any patch from this site did not work.

http://ubuntuforums.org/showthread.php?t=606020

- Jim
 
Old 11-16-2008, 01:55 AM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I used the info/patch here to get VMWare Workstation 5.5.8 working with kernel 2.6.27.5. I didn't have any luck with the last any-any patch either...
 
Old 11-16-2008, 03:43 AM   #4
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Original Poster
Rep: Reputation: 31
the patch at the link you provided worked. Thank you.

- Jim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware-config under ubuntu 8.10 vmmon module compilation error jkzfixme Linux - Software 7 05-06-2009 05:45 PM
vmware server install error, The VMware VmPerl Scripting API was not installed. fakie_flip Linux - Software 4 12-28-2008 05:49 AM
system-config-printer returns Index Error vishudh Linux - Newbie 1 02-23-2008 10:31 PM
yum -install returns error with repo giakhanh2487 Linux - Newbie 3 09-17-2006 08:54 PM
vmware server config error lordtweety Linux - Software 4 08-22-2006 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration