[Grml] Installing Vmware v71 under grml

T o n g mlist4suntong at yahoo.com
Mon Oct 4 05:25:29 CEST 2010


Hi, 

I'm having difficulties installing Vmware v71 under grml -- I always get 

 gcc and kernel headers must be installed

Even though I got everything installed, I think. 

Please take a look at the last several line of the strace output:

 26621 open("/usr/include/linux/version.h", O_RDONLY|O_NOCTTY) = 0
 26621 fstat(0, {st_mode=S_IFREG|0644, st_size=97, ...}) = 0
 26621 read(0, "#define LINUX_VERSION_CODE 13264"..., 97) = 97
 26621 close(0)                          = 0
 26621 write(1, "# 1 \"<stdin>\"\n# 1 \"<built-in>\"\n#"..., 146) = 146
 26614 <... read resumed> "# 1 \"<stdin>\"\n# 1 \"<built-in>\"\n#"..., 4096) = 146
 26621 close(1 <unfinished ...>
 26614 close(8 <unfinished ...>
 26621 <... close resumed> )             = 0
 26614 <... close resumed> )             = 0
 26621 munmap(0x7fcffdd98000, 4096 <unfinished ...>
 26614 wait4(26618,  <unfinished ...>
 26621 <... munmap resumed> )            = 0
 26621 exit_group(0)                     = ?
 26620 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 26621
 26620 --- SIGCHLD (Child exited) @ 0 (0) ---
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/collect2", {st_mode=S_IFREG|0755, st_size=117968, ...}) = 0
 26620 access("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/collect2", X_OK) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/libexec/gcc/x86_64-linux-gnu/4.4.5/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/libexec/gcc/x86_64-linux-gnu/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/4.4.5/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../x86_64-linux-gnu/bin/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/4.4.5/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../x86_64-linux-gnu/lib/../lib/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/.", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
 26620 stat("/lib/x86_64-linux-gnu/4.4.5/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/lib/../lib/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/x86_64-linux-gnu/4.4.5/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/../lib/.", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
 26620 stat("/usr/lib/x86_64-linux-gnu/x86_64-linux-gnu/4.4.5/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/x86_64-linux-gnu/../lib/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../x86_64-linux-gnu/lib/.", 0x7fff24471c60) = -1 ENOENT (No such file or directory)
 26620 stat("/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../.", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
 26620 stat("/lib/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 stat("/usr/lib/.", {st_mode=S_IFDIR|0755, st_size=65536, ...}) = 0
 26620 stat("/usr/lib/x86_64-linux-gnu/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 26620 exit_group(0)                     = ?
 26618 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 26620
 26618 --- SIGCHLD (Child exited) @ 0 (0) ---
 26618 exit_group(0)                     = ?
 26614 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 26618
 26614 --- SIGCHLD (Child exited) @ 0 (0) ---
 26614 munmap(0x7f6f5d143000, 4096)      = 0
 26614 write(2, "gcc and kernel headers must be i"..., 41) = 41

I don't know what vmware is trying to do. Seems that it
successfully open the version.h file, them moved on probing the
directories. This is where I lost. What the code is trying to do?

I googled, and seems that VmWare-Workstation 7 has been at least
successfully installed on openSUSE 11.2 [1] & openSuSe 11.3 [2]. 

[1] http://u-random.blogspot.com/2010/01/vmware-workstation-7.html
[2] http://communities.vmware.com/message/1576675#1576675

Please help me have vmware installed under grml. 
The last 84K of trace log is posted in 
http://paste.grml.org/85/

$ uname -a
Linux coral 2.6.35-grml64 #1 SMP PREEMPT Fri Sep 3 22:06:00 UTC 2010 x86_64 GNU/Linux

Thanks a lot. 

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/



More information about the Grml mailing list