Re: [newbie] Kernel Make Commands
On Tuesday 04 September 2001 06:44 pm, you wrote: Alex, thank you very much for your help. In fact, I was not sitting in the correct directory as you politely pointed out in your note. Glad to help, after all, that is what this list is here for. One point of confusion that I've had is how to reconcile differences between distributions with regard to where pieces of the system are located. I've have the O'Reilly Running Linux book which says that the subdirectory for 'make' is something different; there are a lot of I assume that you mean the subdirectory for the linux source. I have the second edition of that book and it has the source located in /usr/src/linux these distribution differences that really get in the way of efficient learning. I've scouted the on-line Mandrake documentation for a similar information about 'make', but, if it is there, clearly I missed it and I apologize in advance for doing so. the man page for make is one of the worst that ther is, try the info page type info make at a command line. O'Reilly also publishes a whole book on make. While I suppose the economics aren't yet with Mandrake, talking one of the computer publishing houses into doing a Mandrake-Linux book [having an author would be good too :-)] which points to these distribution differences would be a really big help. I have seen one book specifically for Mandrake, IIRC, it was one of those Learn xyzzy in 24 Hours books (substitute xyzzy for the technology du jour), and was aimed at newbies. I believe that it was for an older Mandrake distro also, possibly 7.0. As for where things are located, Mandrake is pretty close to RedHat, and very different from Suse, so take a look at a RedHat book (of which there are plenty), and with Linux Standard Base coming along, hopefully all distros will be looking in the same places for the same things. -- Alex Steve Balmer, CEO of Microsoft, recently referred to LINUX as a cancer. Unsurprisingly, that's incorrect; LINUX was released on August 25th, 1991 and is therefore a Virgo. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Kernel Make Commands
Bill, I think maybe you have misunderstood what the make command actually does. I think you were attempting to roll your own kernel, and you were calling 'make menuconfig' and suchlike, but with no luck. Probably getting a No rule to make menuconfig or similar... What 'make' actually does is read a file, usually called makefile (note lowercase) which contains instructions on how to compile a particular product. It specifies which compiler to use, what flags to pass to the compiler, what the files to compile are, which files are dependent upon other files and so forth. You could issue all of the these commands yourself, but when you have, say, 3000 files to compile which all have to be done together to cerate a fully linked kernel it's a major problem. Makefiles were invented to take the tedium out of compiling large complex programs like the linux kernel. Anyway, make doesn't care what it's compiling, it just wants to know HOW to compile it. Therefore, if you want to compile a new kernel, make must be ale to see the makefile which defines the method of compiling that new kernel. If you want to compile your own version of Konqueror, make must be able to see the makefile which defines how to compile Konqueror and so on. All you were doing wrong was telling make to make a target called menuconfig, but you weren't in the directory which contained the makefile which defined HOW to build menuconfig. In your post below you say that O'Reilly's Running Linux says the subdirectory for make is something different. Do you mean that Running Linux used a different directory than /usr/src/linux/ to compile a kernel from? Steve Flynn NOP Data Migration Ops Analyst * 01603 687386 -Original Message- From: Bill Cole and Virginia Morton [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 10:45 PM To: [EMAIL PROTECTED] Subject:Re: [newbie] Kernel Make Commands Alex, thank you very much for your help. In fact, I was not sitting in the correct directory as you politely pointed out in your note. One point of confusion that I've had is how to reconcile differences between distributions with regard to where pieces of the system are located. I've have the O'Reilly Running Linux book which says that the subdirectory for 'make' is something different; there are a lot of these distribution differences that really get in the way of efficient learning. I've scouted the on-line Mandrake documentation for a similar information about 'make', but, if it is there, clearly I missed it and I apologize in advance for doing so. While I suppose the economics aren't yet with Mandrake, talking one of the computer publishing houses into doing a Mandrake-Linux book [having an author would be good too :-)] which points to these distribution differences would be a really big help. I really like the Mandrake product and approach to customers. I hope that the company has a business plan that makes a profit for the investors and keeps the company viable. Bill ** This email and any files sent with it are intended only for the named recipient. If you are not the named recipient please telephone/email the sender immediately. You should not disclose the content or take/retain/distribute any copies. ** Norwich Union Life Pensions Limited Registered Office 2 Rougier Street York YO90 1UU Registered in England Number 3253947 A member of the Norwich Union Marketing Group which is regulated by the Personal Investment Authority. Member of the Association of British Insurers. For further Enquires 01603 622200 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel Make Commands
Alex, thank you very much for your help. In fact, I was not sitting in the correct directory as you politely pointed out in your note. One point of confusion that I've had is how to reconcile differences between distributions with regard to where pieces of the system are located. I've have the O'Reilly Running Linux book which says that the subdirectory for 'make' is something different; there are a lot of these distribution differences that really get in the way of efficient learning. I've scouted the on-line Mandrake documentation for a similar information about 'make', but, if it is there, clearly I missed it and I apologize in advance for doing so. While I suppose the economics aren't yet with Mandrake, talking one of the computer publishing houses into doing a Mandrake-Linux book [having an author would be good too :-)] which points to these distribution differences would be a really big help. I really like the Mandrake product and approach to customers. I hope that the company has a business plan that makes a profit for the investors and keeps the company viable. Bill
[newbie] Kernel Make Commands
Having upgraded from 7.1 to 8.0 I wanted to change a couple of kernel settings and so typed in (at root) make menuconfig. The message returned was No rule to make target 'menuconfig'. Stop. I also tried xconfig with the same result. I don't understand this because I had no trouble doing this in 7.1. A clue would be greatfully appreciated. Thanks very much, Bill Cole Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Kernel Make Commands
On Sunday 02 September 2001 08:16 pm, you wrote: Having upgraded from 7.1 to 8.0 I wanted to change a couple of kernel settings and so typed in (at root) make menuconfig. The message returned was No rule to make target 'menuconfig'. Stop. I also tried xconfig with the same result. I don't understand this because I had no trouble doing this in 7.1. Do you have the kernel source installed ? what is the output of ls -la /usr/src/ did you remember to cd /usr/src/linux before trying to make config -- Alex Steve Balmer, CEO of Microsoft, recently referred to LINUX as a cancer. Unsurprisingly, that's incorrect; LINUX was released on August 25th, 1991 and is therefore a Virgo. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com