LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-09-2007, 11:26 PM   #1
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Rep: Reputation: 30
Issue during VMWare Installation???


I installed ubuntu 7.10 and tried to intsall Vmware.It threw the error:
-------------
vjs@saturn:~$ sudo apt-get install build-essential linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.22-14-generic is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.1.1) but 4:4.0.3-1 is to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
g++: Depends: g++-4.0 (>= 4.0.3) but it is not installable
Depends: gcc-4.0 (>= 4.0.3) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
vjs@saturn:~$
-----------------------

When I ran the script vmware-config.pl and select the option:
--------------------------------------------------------------:
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)? [no]

Execution Aborted??

-----------------------------------------------------------
 
Old 12-09-2007, 11:38 PM   #2
Eliaquim
LQ Newbie
 
Registered: Dec 2007
Location: Cebu, Phillippines
Posts: 6

Rep: Reputation: 0
(you need to have a C compiler installed on your system)
I'm a newbie but in this problem you have to type this command
in the terminal, first log in as root,

yum install gcc gdb
yum install gcc-c++
just try it..........
 
Old 12-10-2007, 01:58 AM   #3
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 97
yum is yellow dog update manager and is generally for redhat style distros.

As you are using Ubuntu try:

sudo apt-get install libc6-dev
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install dpkg-dev

Then retry the vmware install
 
Old 12-10-2007, 02:23 AM   #4
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
Have a look at my new most recent thread....I tried to do installation through Fiesty thsi time as It just need some source.list update....I put it in another new thread...
The command in the above post dint worked...I need update and that too not working...Can anyone send me updated sources.list from where I can proceed???
 
Old 12-10-2007, 03:55 AM   #5
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
--------------------------------------------------------------------------------
The follwoing error has been monitored:
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes] yes

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]



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.20-15-generic/build/include]

Extracting the sources of the vmmon module.


Building the vmmon module.


Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PW D/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config3/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config3/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config3/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config3/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config3/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/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.

Any idea??
 
Old 12-10-2007, 05:09 AM   #6
ajeetraina
Member
 
Registered: Jun 2007
Location: India
Distribution: Ubuntu,Red Hat, Fedora
Posts: 292

Original Poster
Rep: Reputation: 30
I got it done.I first added the #apt get-cdrom and then runthe update command for build -essential..It finally worked..Anyway Thanks to you people.
 
  


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 server issue jdbj Debian 6 03-05-2009 04:46 AM
VMWare and Activesync 4.2 issue Fegenbush Linux - Software 2 01-28-2008 04:26 AM
openSUSE 10.2 vmware tools issue (vmware fusion) ln3wb13 SUSE / openSUSE 2 09-20-2007 11:11 AM
Vmware webserver issue king111 Linux - Software 1 12-04-2005 05:51 PM
vmware 4.5.1 issue... kurrupt Linux - Software 2 10-29-2004 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration