Tiny Core Linux
General TC => Tiny Core on Virtual Machines => Topic started by: sebus on January 06, 2013, 09:41:18 AM
-
Trying to install VmWare Tools on TC pure64, but can not even attempt without headers
Thanks
sebus
-
Things will compile using compiletc and the kernel source
-
Well, vmware-config.pl asks specifically for headers location...
-
Once you've unpacked and prepared the kernel source (in the location of your choice), you can let mware-config.pl know where they are ;)
-
And where do I get kernel source, is it this one ?
http://tinycorelinux.net/4.x/x86_64/src/kernel/linux-3.0.21-patched.txz
"prepared the kernel source" - what do you mean?
Thanks
sebus
-
Hi sebus
Go to the search page and enter "make prepare" including the quotes.
-
Hi sebus
And where do I get kernel source, is it this one ?
Yes. And you also want config-3.0.21-tinycore64
-
Absolutely, takes a bit of searching. Have that all going, but no path (tried many) to prepared kernel does gets accepted during vmware tools install.
So I am in same place...
sebus
-
Hi sebus
This is probably what you are looking for:
http://www.backtrack-linux.org/forums/showthread.php?t=40790
Read post #7
-
Thanks Rich, slowly getting there but still strugling.
Now the linked /usr/scr/linux/include gets recognized, but during vmware-config.pl run I get an error
depmod: ./kernel.tclocal: No such file or directory
which is "fixable" by following this: http://forum.tinycorelinux.net/index.php/topic,12836.msg70452.html#msg70452
But then install just fails (as per attached screenshot)
sebus
-
Hi sebus
It looks like gcc can't find the assembler. Did you install compiletc.tcz? What happens when you enter:
as --help
-
It gives the usage options, it definitely is found.
sebus
-
Hi sebus
In the line right above gcc: error does the file /tmp/modconfig-........./linux/driver.o exist?
-
But then install just fails (as per attached screenshot)
From your screenshot, the kernel source has not been prepared properly, otherwise Modules.symvers would be present - using "make modules" on the kernel source will fix this.
-
OK, if I do run make modules, I get rid of the error about missing Modules.symvers, but it makes no difference to the other gcc error (as attached)
And there is NO /tmp/modconfig...
-
Can you confirm that compiletc and all of it's deps are loaded (check under /tmp/tcloop)?
-
Yes, compiletc is installed
And all deps are installed as well:
bison.tcz
diffutils.tcz
file.tcz
findutils.tcz
flex.tcz
gawk.tcz
gcc.tcz
grep.tcz
m4.tcz
make.tcz
patch.tcz
pkg-config-lite.tcz
sed.tcz
e2fsprogs_base-dev.tcz
eglibc_base-dev.tcz
fltk_base-dev.tcz
freetype_base-dev.tcz
gcc_base-dev.tcz
imlib2_base-dev.tcz
jpeg_base-dev.tcz
libpng_base-dev.tcz
linux-3.0.21_api_headers.tcz
util-linux_base-dev.tcz
zlib_base-dev.tcz
sebus
-
I'd guess that "make"/the Makefile/"execvp" is either:
hard coded to look for "as" in /usr/bin rather than use $PATH - a symlink should fix this
or
looking for bash and/or perl and cannot find them - a symlink should fix this
or
looking for a file/folder that does not exist
-
OK, slowly getting more:
I had to add a single /usr/local/bin in the vmare-config-tools.pl
It runs OK (modules get build), but in the end it fails anyway (with different issue)
-
If the modules get built I guess it's just a question of copying them to the appropriate place in the tinycore filesystem?
-
Hi Juanito
This thread seems to be less about Corepure64 and more about vmware. Maybe it belongs under
Tiny Core on Virtual Machines?
-
Most likely no, as I expect to have the same steps needed if TCL Pure64 is a HOST for Vmware Workstation
So far services do not start, the created modules are in lib/modules/3.0.21-tinycore64/misc (which is expected location, same as on any other linux flavour)
-
This thread seems to be less about Corepure64 and more about vmware. Maybe it belongs under
Tiny Core on Virtual Machines?
Please go ahead and move it
-
Apart from move, does anybody have any more ideas why the tools just fail & not load (even when they seems to install OK)
-
Often out-of-kernel modules installation scripts look for a specific filesystem arrangement, which is not present in tinycore.
In order for the modules to end up in the standard tinycore locations under /usr/local, you will almost always have to put them there yourself.
-
I have this:
kb.vmware.com/kb/1023185
Is 32-bit glibc-common installed in Pure64
sebus
-
Is 32-bit glibc-common installed in Pure64
I'm not sure what you're asking, but corepure64 has (as its name suggests) nothing that is 32-bit.
-
So I have no more ideas why it does not work, maybe somebody else is interested in it & will be able to help
-
I understood that the modules compiled without error. If this is the case, then I presume any associated apps also compiled without error.
Can you confirm if the above is correct? If so, it's just a matter of copying the modules/apps to the correct place in the filesystem.
-
Yes, all compiled without an error. App does not get compiled (only modules)
They all seems to be in correct places in filesystem already
sebus
-
I re-run the vmware-tools install one more time paying close attention to all the output
It seems that vmblock will not install unless there is fuse or fuse-util installed, yet I can not find tcz for it
-
There isn't one, but please feel free to submit :)
-
I had to admit defeat (as I had no more time to dedicate to this)
Could not make as simple process like installing tools work as expected...