11.05.2024, 10:11 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
rich.bradshaw
Titel: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 14.04.2006, 17:50 Uhr



Anmeldung: 14. Jan 2006
Beiträge: 287

After upgrading to Linux 2.6.16.2-slh-1 i686 I need to reconfigure vmplayer, using the perl script vmware-config.pl. It asks

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

But if I accept the default it can't find them... where are they?

Thanks!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 14.04.2006, 18:17 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
You have to do two things:
1. hack /usr/bin/vmware-config.pl
2. apply a patch

1. The hack

- edit as root /usr/bin/vmware-config.pl (or wherever it is)
- go to line 1982, this should be a line with "return" in it
- add a comment to the beginning of that line with #

Should look like that:
Code:
. "\n" . $pattern . ' __PAGE_OFFSET') . ' | '
       . shell_string($gHelper{'gcc'}) . ' ' . shell_string('-I' . $answer)
       . ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
       . shell_string($pattern));
     chomp($header_page_offset);
     $header_page_offset =~ s/^$pattern \(0x([0-9a-fA-F]{8}).*$/$1/;
     if ($header_page_offset =~ /[0-9a-fA-F]{8}/) {
       # We found a valid page offset
       if (not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
         if ($source eq 'user') {
           print wrap('The kernel defined by this directory of header files
           does ' . 'not have the same address space size as your
           running ' . 'kernel.' . "\n\n", 0);
         }
#         return '';
       }
     }


Note the "#" - it was not there before.

2. The patch

You get the patch from there:
http://ftp.cvut.cz/vmware/vmware-any-an ... 101.tar.gz

Unpack it and find the folder with runme.pl in it.
Do as root (you have to be in this folder):
# ./runme.pl

That's it, worked for me, vmwareplayer compiled again like a charm.

Best of luck
hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 14.04.2006, 18:55 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
franknq just posted in the german forum that for him it worked just pasting this path at the moment you were stuck as well:
/lib/modules/2.6.16.5-kanotix-1/build/include

For you it would be:
/lib/modules/2.6.16.2-slh-1/build/include

Try this one first.

Greetings
hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 15.04.2006, 02:26 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
I just buillt vmware against 2.6.16.2-slh-1 and only the patch needs to be applied. No hacking of any script was required.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
slam
Titel: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 15.04.2006, 10:42 Uhr



Anmeldung: 05. Okt 2004
Beiträge: 2069
Wohnort: w3
Agree, no hack needed - and the patch is usefull, anyway.
Greetings,
Chris

_________________
"An operating system must operate."
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen AIM-Name Yahoo Messenger MSN Messenger ICQ-Nummer 
Antworten mit Zitat Nach oben
rich.bradshaw
Titel: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 16.04.2006, 11:16 Uhr



Anmeldung: 14. Jan 2006
Beiträge: 287

brilliant, just used patch... everything works fine!

Thank you!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
markb
Titel: Re: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 16.04.2006, 11:52 Uhr



Anmeldung: 09. Aug 2004
Beiträge: 121
Wohnort: Brisbane Australia
slam hat folgendes geschrieben::
Agree, no hack needed - and the patch is usefull, anyway.

Other than allowing vmware to run on a 2.6.16 kernel, why is the patch useful?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
craigevil
Titel: RE: Re: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 02.06.2006, 22:31 Uhr



Anmeldung: 29. Mar 2005
Beiträge: 96
Wohnort: Terra
Sweet thanks for the patch. Stupid me should have searched the forum before posting an error msg. Installed and runs just fine.

_________________
Easter Rc4 IceWeasel 2.6.18.3-slh-up-1
How to Learn and Use GNU/Linux
My Debian sources.list
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen Yahoo Messenger MSN Messenger ICQ-Nummer 
Antworten mit Zitat Nach oben
SANotix
Titel: RE: Re: Reconfiguring vmplayer after upgrading kernel  BeitragVerfasst am: 20.06.2006, 10:30 Uhr



Anmeldung: 18. Jun 2006
Beiträge: 1

VMPlayer Installed OK on my machine with 2.6.16.16-kanotix-1 but failed config even after patching with http://ftp.cvut.cz/vmware/vmware-any-an ... 01.tar.gz. Error indicated mismatch of kernel and compiler. Upgraded kernel with kernel-2.6.16.20-slh-up-1 then re-ran player install, patch and config with no problem. VMPlayer playing well now with several appliances.
Thanks for the great distro Kano!

_________________
If you fear change, you fear life........
Embrace change, live free!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.