vmware HOW-TO install on Puppy 2

How to do things, solutions, recipes, tutorials
Message
Author
BAD PENGUIN
Posts: 6
Joined: Sat 30 Jun 2007, 02:38

#21 Post by BAD PENGUIN »

perhaps someone can help me here, i am trying to install VMWARE Workstation 5.5.2 build-29772 on puppy 2.15ce, full HD install, my compiler comes from the devx215.sfx file installed on my system with sfs installer.

i did everything that was recomended in this thread, and ran the vmware-install.pl script

and this is what happens when the script tries to compile vmware
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? [/usr/src/linux-2.6.18.1/include]

****sorry, rxvt will only scroll up but so much so this is the last part****

function)
/tmp/vmware-config6/vmmon-only/linux/driver.c: In function `LinuxDriverError':
/tmp/vmware-config6/vmmon-only/linux/driver.c:2055: error: `current' undeclared (first use in this function)
/tmp/vmware-config6/vmmon-only/linux/driver.c: At top level:
include/linux/elf.h:364: warning: array '_DYNAMIC' assumed to have one element
include/linux/sched.h:314: error: storage size of `mmap_sem' isn't known
include/linux/sched.h:360: error: storage size of `action' isn't known
include/linux/sched.h:389: error: storage size of `shared_pending' isn't known
include/linux/sched.h:409: error: storage size of `real_timer' isn't known
include/linux/sched.h:453: error: storage size of `rlim' isn't known
include/linux/sched.h:464: error: storage size of `pacct' isn't known
include/linux/sched.h:848: error: storage size of `start_time' isn't known
include/linux/sched.h:878: error: storage size of `thread' isn't known
include/linux/sched.h:891: error: storage size of `pending' isn't known
include/linux/stat.h:68: error: storage size of `atime' isn't known
include/linux/stat.h:69: error: storage size of `mtime' isn't known
include/linux/stat.h:70: error: storage size of `ctime' isn't known
include/linux/file.h:62: error: storage size of `fd_array' isn't known
include/linux/fs.h:299: error: storage size of `ia_atime' isn't known
include/linux/fs.h:300: error: storage size of `ia_mtime' isn't known
include/linux/fs.h:301: error: storage size of `ia_ctime' isn't known
include/linux/quota.h:226: error: storage size of `dq_dqb' isn't known
include/linux/fs.h:416: error: storage size of `bd_mutex' isn't known
include/linux/fs.h:417: error: storage size of `bd_mount_mutex' isn't known
include/linux/fs.h:510: error: storage size of `i_atime' isn't known
include/linux/fs.h:511: error: storage size of `i_mtime' isn't known
include/linux/fs.h:512: error: storage size of `i_ctime' isn't known
include/linux/fs.h:519: error: storage size of `i_mutex' isn't known
include/linux/fs.h:520: error: storage size of `i_alloc_sem' isn't known
include/linux/fs.h:546: error: storage size of `inotify_mutex' isn't known
include/linux/fs.h:687: error: storage size of `f_owner' isn't known
include/linux/fs.h:875: error: storage size of `s_umount' isn't known
include/linux/fs.h:876: error: storage size of `s_lock' isn't known
include/linux/fs.h:905: error: storage size of `s_vfs_rename_mutex' isn't known
/tmp/vmware-config6/vmmon-only/linux/driver.c:151: error: storage size of `vmuser_fops' isn't known
/tmp/vmware-config6/vmmon-only/./include/compat_kernel.h:21: warning: '_syscall1' declared `static' but never defined
{standard input}: Assembler messages:
{standard input}:415: Error: symbol `seq' is already defined
{standard input}:463: Error: symbol `sem_nsems' is already defined
{standard input}:485: Error: symbol `lock' is already defined
{standard input}:616: Error: symbol `name' is already defined
{standard input}:687: Error: symbol `lock' is already defined
{standard input}:1466: Error: symbol `flags' is already defined
{standard input}:1573: Error: symbol `tasks' is already defined
{standard input}:1806: Error: symbol `files' is already defined
{standard input}:2140: Error: symbol `blocks' is already defined
{standard input}:2850: Error: symbol `d_flags' is already defined
{standard input}:3358: Error: symbol `inotify_watches' is already defined
{standard input}:3489: Error: symbol `owner' is already defined
{standard input}:3559: Error: symbol `s_type' is already defined
{standard input}:3775: Error: symbol `mmap' is already defined
{standard input}:3817: Error: symbol `lock' is already defined
{standard input}:3888: Error: symbol `data' is already defined
make[2]: *** [/tmp/vmware-config6/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.1'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config6/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.html".

Execution aborted.
I installed vmware without a glitch onto openSUSE 10.2, without using a pre-built rpm package since i could not download rpm package pre-built but instead used the same one you guys are using. I dont know much about compiling kernels and programs from source, i have only done it, with success a few times, so i would much appreciate if someone could give me a remote clue what is going on, sincerly, bad-penguin

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#22 Post by John Doe »

BAD PENGUIN wrote: What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.18.1/include]
You need the kernel source also (not all apps require it and most will just need devx to compile.

http://www.puppyos.net/test/

2006-Nov-11
Linux kernel source, pre-patched, for Puppy 2.12:

is what you want, I'm pretty sure that is the same one in 2.15

There is also a squash file of it around.

Put it in /usr/src/ rename linux-2.6.18.1 to linux-2.6.18.1.old and untar the source there.

BAD PENGUIN
Posts: 6
Joined: Sat 30 Jun 2007, 02:38

#23 Post by BAD PENGUIN »

John Doe wrote:
BAD PENGUIN wrote: What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux-2.6.18.1/include]
You need the kernel source also (not all apps require it and most will just need devx to compile.

http://www.puppyos.net/test/

2006-Nov-11
Linux kernel source, pre-patched, for Puppy 2.12:

is what you want, I'm pretty sure that is the same one in 2.15

There is also a squash file of it around.

Put it in /usr/src/ rename linux-2.6.18.1 to linux-2.6.18.1.old and untar the source there.


i thought devx215.sfx did contain the kernel source so this clears things up alot, i'll give it a go tomorrow
cheers and thanks for the help

Komodo
Posts: 20
Joined: Fri 30 Mar 2007, 13:03

#24 Post by Komodo »

I have installed VMware server version 1.0.2 build 39867 with the virtual machines on a ext2 HD partition using puppy 2.14 and I did not have to install any kernel source other than what came with the Devx-214.sfs package. Apparently, either different versions of Puppy Devx packages have a different set of kernel source files or other versions of vmware require additional source files. Something sure seems to be different from my system and what others are using.

If you successfully install vmware server or player would you please make a post detailing what was required for your particular version of Puppy and vmware? For the sake of other puppians who wish to install vmware in the future.

Komodo

maddog
Posts: 37
Joined: Thu 08 Dec 2005, 19:12

kernel src for v4.00?

#25 Post by maddog »

Trying to install VMware server v1.0.5 but I haven't a clue where Puppy's kernel src is located. I suspect it isn't included on the CD. If so, where can I download it?

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

--Ray.

maddog
Posts: 37
Joined: Thu 08 Dec 2005, 19:12

#26 Post by maddog »

I have learned elsewhere that I needed the devx sfs for my kernel but I suspect that I have the wrong one for puppy v4.00. I downloaded +devx-k2.6.25_400.sfs and 'cat /etc/issue' claims I am running, "Puppy Linux Linux 2.6.25 [i686 arch]" and 'uname -a' agrees. Do I have the correct src? Where is it in the sfs? When I gave the vmware installer the two most likely places it replied with .....

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /mnt/+devx-k2.6.25_400.sfs/usr/include

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.25). Even if the module were to compile successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /mnt/+devx-k2.6.25_400.sfs/usr/dietlibc/include

The path "/mnt/+devx-k2.6.25_400.sfs/usr/dietlibc/include" is a kernel header file directory, but it does not contain the file "linux/version.h" as expected. This can happen if the kernel has never been built, or if you have invoked the "make mrproper" command in your kernel directory. In any case, you may want to rebuild your kernel.

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

...

Anyone have any ideas?
--Ray.

maddog
Posts: 37
Joined: Thu 08 Dec 2005, 19:12

#27 Post by maddog »

Downloaded the other v400 sfs (devx_400.sfs) and had the same results. It doesn't look like this is possible with Puppy Linux. :(

--Ray.

Post Reply