mandark Posted December 14, 2007 Report Share Posted December 14, 2007 I hope someone can help me! I am an experience linux user. I started with redhat 5.2 in the late 90's. I moved to Mandrake as other distros had severe problems with stability on my newer and linux unfriendly laptop. Mandrake live cd got ALL my drivers on the install. wow. Problem is, it didn't ship with make, or any dev tools! I need to build from source. I tried all kinds of directions online, countless rpms. The basic C libraries have a little 'lock' on them in the package manager. When i use urpmi or download them, they install but I still get errors like 'no kernel headers'. Please tell me where to get all the packages for a dev environment for Mandrake live cd 2008. And is there some trick to getting them installed? I have done all I have done for years, and its just not working. thanks! Linux shipping w.o make kind of creeps me out! And I did try the full MDK 2008 dvd install, and it crashed over and over. It would not install cleanly on my machine. [moved from Tips & Tricks by spinynorman - welcome aboard :)] Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 14, 2007 Report Share Posted December 14, 2007 (edited) Devel tools are a must for a running system, but for a live CD they are rather an oddity... usually gcc and GNU Make are omitted to save valuable CD space. But once the system is installed to HD, they are only an su -c "urpmi gcc make" away. For the kernel-source problem, simply urpmi kernel-laptop-latest kernel-laptop-devel-latest After that, touching your Grub's menu.lst so that the newly installed kernel is the default and rebooting should be enough for most compiling tasks (the ones which need just kernel headers and not full source)- still if something is missing while compiling complex kernel modules (or rolling a custom kernel) then urpmi kernel-source-latest Edited December 14, 2007 by scarecrow Quote Link to comment Share on other sites More sharing options...
mandark Posted December 14, 2007 Author Report Share Posted December 14, 2007 (edited) yeah I tried those exact steps, still getting errors like this on compile attempts What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The directory of kernel headers (version 2.6.22.12-1mdvcustom) does not match your running kernel (version 2.6.22.9-desktop586-1mdv). 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] thanks much for the help, though. Edited December 14, 2007 by mandark Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 14, 2007 Report Share Posted December 14, 2007 The above error message comes from a VMWare Workstation/Server installation routine, or not? Quote Link to comment Share on other sites More sharing options...
mandark Posted December 14, 2007 Author Report Share Posted December 14, 2007 yes, vmware. but i can't build anything else either. vmware requires a build, nothing else builds...had vmware installed fine on many other linux builds. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted December 14, 2007 Report Share Posted December 14, 2007 For VMWare you have to use the latest any-any patch from Petr. http://knihovny.cvut.cz/ftp/pub/vmware/ It's needed in most distros witrh fresh kernels, not just Mandriva. As for not being able to build anything, I have no great RECENT experience with Mandriva, as I'm an Archer since more than three and a half years ago (I only use the devel Cooker branch, and that only on a virtual machine, not a real one...), but I had no problems building a few kernel modules on Cooker (including the vmware client tools ones!). Quote Link to comment Share on other sites More sharing options...
mandark Posted December 14, 2007 Author Report Share Posted December 14, 2007 I added a pile of random dev libraries, and i can now compile! Still having problems with vmware, aware of the patch. But that isn't all that important. thanks!!! Quote Link to comment Share on other sites More sharing options...
mandark Posted December 14, 2007 Author Report Share Posted December 14, 2007 where are the kernel headers located in Mandriva? I have hunted about, and I can't find them. And I did install kernel src. thanks! Quote Link to comment Share on other sites More sharing options...
mandark Posted December 14, 2007 Author Report Share Posted December 14, 2007 this link appears relevant to the vmware issue, but its not working as they got it to... http://forum.mandriva.com/viewtopic.php?t=...3814431b9af5cb5 Quote Link to comment Share on other sites More sharing options...
lavaeolus Posted December 17, 2007 Report Share Posted December 17, 2007 kernel headers are in the kernel-devel package, kernel-source contains the complete kernel source-code Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.