Trouble building vmmon module for VMware Server with Slackware 10.2
My system is a clean install other than the upgraded 2.6.17.1 kernel and an upgraded gcc 4.1.1 since I read it caused trouble with this.
I've reinstalled Slackware more times than I can count trying to get this bugger to work and each time a new problem crops up. Any help would really be appreciated. Code:
root@lugh:~# which gcc Code:
Trying to find a suitable vmmon module for your running kernel. |
Sounds like the symbolic link needs changed.
Use find /usr -iname '*gcc*' to find your version 4.1.1 On my slackbox, I only have /usr/bin/i486-slackware-linux-gcc-3.3.6, so its likely in the same location only you've upgraded to 4.1.1 Once you find the gcc-4.1.1 executable Code:
ln -sf /usr/bin/<gcc-4.1.1> /usr/local/bin/gcc |
Thanks, but it didn't work.
This is what I did: Code:
root@lugh:~# find /usr -iname '*gcc*' Code:
Trying to find a suitable vmmon module for your running kernel. |
Looks to me like /usr/local/bin/i686-pc-linux-gnu-gcc-4.1.1 would be the gcc-4.1.1 executable. I can't verify that, so you should navigate to that directory and check the file permissions to verify that that file is the gcc executable. If it is, then create a symbolic link as suggested in vmware's error output
--EDIT-- Just for grins, gcc-config -l and verify that you have 4.1.1 as your current compiler. |
I'm not sure how to check file permisions, but I know that is the executable because:
Code:
root@lugh:~# /usr/local/bin/i686-pc-linux-gnu-gcc-4.1.1 I can do gcc -v and get Code:
root@lugh:~# gcc -v |
creating a symbolic link should be
Code:
ln -s /usr/local/bin/i686-pc-linux-gnu-gcc-4.1.1 /usr/local/bin/gcc As for checking file permissions, ls -l will give you something like: drwxrw-r-x D is directory, if its not a directory then the d would be a - the others are Read, Write, and eXecute. |
Code:
root@lugh:/usr/src/php-5.1.4# ln -s /usr/local/bin/i686-pc-linux-gnu-gcc-4.1.1 /usr/local/bin/gcc |
Post the output of ls -l /usr/local/bin/
|
Code:
root@lugh:/usr/src/php-5.1.4# ls -l /usr/local/bin/ |
Code:
lrwxrwxrwx 1 root root 42 2006-07-03 05:37 gcc -> /usr/local/bin/i686-pc-linux-gnu-gcc-4.1.1* If that doesn't work, then I'm thinking that it wants the symbolic link to be the older version of gcc. |
Code:
root@lugh:/usr/src/php-5.1.4# rm /usr/local/bin/gcc Code:
Using compiler "/usr/local/bin/gcc". Use environment variable CC to override. |
Could you post your PATH output. After re-reading, the gcc getting executed needs to be re-linked to /usr/local/bin/gcc, which means that there is probably another link to this link. We'll need to check each directory in your PATH in sequence until we find it and then verify that it links to /usr/local/bin/gcc.
|
I'm really sorry but had to go away for a little over a week and barely had enough time to tell my friends.
Anyways I tried typing PATH and path into the shell but got nothing. Googled Path but just got howtos on setting the path and adding stuff but not reading it. |
try echo $PATH
when you installed gcc-4 did you uninstall the old version. could be conflicts you might try export CC=/usr/local/bin/i686-pc-linux-gnu-gcc-4.1.1 |
Thanks.
Here's what I got. Code:
root@lugh:~# echo $PATH |
All times are GMT -5. The time now is 05:12 AM. |