Re: [expert] Stupid Question Time
Thanks Alan and Michael: I had always heard there are no stupid questions, but there are a LOT of inquisitive idiots around. Peace, Dennis Alan W Jurgensen wrote: > > Remember: > > There are no stupid questions; Only stupid people asking questions! > > hah. kiddin. > Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Stupid Question Time
On Wed, 31 Oct 2001 09:23:19 -0500 dmyhand <[EMAIL PROTECTED]> wrote: > Hi Group: > > I am progressing in the patch work. Can someone point me to the > location of the kernel on my system? The patch asked which file I > wanted to patch, and I assume that would be the kernel, but I cannot > find that on my 8.0 system. Thanks, again, Dennis in Victoria > > assuming that you have the kernel source installed... /usr/src/linux (or /usr/src/linux-2.4) -- Michael Osten Reefedge Inc. -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org mQGhBDuxPdYRBADzFXgIcmDpZXOxYeplGQQdv1HONlLFxis5YiR2R7dQ6KAmZG/X 5xcXPcbrstXPuUJz4DPVaWTF59e1oXFuBFX/BSeyat45diu/cUZVLHjsEDqdodiG BPfsTNtaW3ZP245ZZVr3m4jedssXuboKNOlLX166N0aWqXGo3ncGXnR7dwCg6978 ZnAbBmOZg8zD+3Z9alWwa0MD/A2IlkVNg0K19jJuRvGOd3neXjESqQ/84d6NvGEG yKaTUMzESZEuF4hPynpSFkUPLSE+1tZ4hqkIzP2IYrD74ObZnkKVtcjNNB4GAdk/ kYsuEo6TNQC7xuTky3Slc/sXQL5YFFYeIO3Wdt0+L/E1vU3YVfPDhcnMe6lalGQH 5YwfA/dfU8o2x7JsS0eF3YiQhXQ2kHYfCTkmyD5QZZosHdmUmPGaMyTXvancHbNl cLDe9ZQubYSQQTBTmDBF8MfRmxInGTGn6jnVOc8dYVfkG7mVeQqI0hwYpAVj4TLp IMLddL0N1HBDI1R5h9xtXMGsj8rh85ZHAdhjWmXfRky4XQuqtCNNaWNoYWVsIE9z dGVuIDxtb3N0ZW5AcmVlZmVkZ2UuY29tPohXBBMRAgAXBQI7sT3WBQsHCgMEAxUD AgMWAgECF4AACgkQK9WwSrQMCYkpEgCg6g1gvlGn0E2FcQrPpP0+IP5FGzMAoNKB n2q/sJf35ugdDSef/uD+vYNVuQENBDuxPdgQBADG+SfLco3vL583je7Bz+n82X6w cgeS6tm4EqGb6NXcEa+FvniBefBueRssBzaEqhluUV9rzn5W+N7nf7VGoLI2oGhg ZFhVdNqR8SNofZue8lEqWMkIMdFlXRqojlzbejOXa54WVXEfSZybsuitKsfoDREO QDKa7MTPtnwEedaJIwADBgQAgcZ5nFJoZhGHfnqsz4LHjldFnr5PaeEiWYrYjBcz drLLaLf2EI5oAnMwDIN3apXb2MRMp1gD93kWcbY6DsVQMgGIXvNYjHR8mwuH/6l5 VNGVQOdiouXf1LqXjFlO+Ld0PqvDyILZPktDz8vd+rnhzv3u8GZduMytuJvPN9hQ L+WIRgQYEQIABgUCO7E92AAKCRAr1bBKtAwJiWnbAJ4wHX/ejEwC3VLJjFZyg+SN ORdi/QCfbY1VFUL0hTZtCdpXQ/W7rMxRq/s= =mqPG -END PGP PUBLIC KEY BLOCK- PGP signature
Re: [expert] Stupid Question Time
Remember: There are no stupid questions; Only stupid people asking questions! hah. kiddin. Kernel is always at: /usr/src/linux I always start with a fresh kernel from: kernel.org It is a tar extrating to current dir linux dir. cd /usr/src ; tar xzvf /tmp/kernel*gz Ill typically rename the dir pertinantly: mv linux linux-2.4.13 ln -s linux-2.4.13 linux Then patching is usually as such: cd /usr/src/linux ; patch -p1 wrote: > Hi Group: > > I am progressing in the patch work. Can someone point me to the > location of the kernel on my system? The patch asked which file I > wanted to patch, and I assume that would be the kernel, but I cannot > find that on my 8.0 system. Thanks, again, Dennis in Victoria > > -- -- Alan W. Jurgensen - Berbee Information Networks - [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Stupid Question Time
Hi Group: I am progressing in the patch work. Can someone point me to the location of the kernel on my system? The patch asked which file I wanted to patch, and I assume that would be the kernel, but I cannot find that on my 8.0 system. Thanks, again, Dennis in Victoria Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Stupid question
On Thursday 22 February 2001 11:27 am, you wrote: > Marsden MacRae wrote: > > I'm having a "duh" moment herehow do I tell which version of > > Mandrake I've installed? Augh! Stop Laughing > > > > M > > check > > /etc/mandrake-release > > That should do it Or uname -a -- Ken Thompson Electrocom Computer Services Payette, Idaho 83661 (208) 642-11701 Web: http://www.nwaa.com Email: [EMAIL PROTECTED]
RE: [expert] Stupid question
cat /proc/version > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Marsden MacRae > Sent: Thursday, February 22, 2001 12:31 PM > To: [EMAIL PROTECTED] > Subject: [expert] Stupid question > > > I'm having a "duh" moment herehow do I tell which version of > Mandrake I've installed? Augh! Stop Laughing > > M >
Re: [expert] Stupid question
On Thu Feb 22, 2001 at 09:30:36AM -0800, Marsden MacRae wrote: > I'm having a "duh" moment herehow do I tell which version of > Mandrake I've installed? Augh! Stop Laughing cat /etc/mandrake-release =) -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD - Danen Consulting Serviceswww.danen.net, www.freezer-burn.org - MandrakeSoft, Inc. Security www.linux-mandrake.com Current Linux kernel 2.4.1-15mdk uptime: 5 days 20 hours 20 minutes.
[expert] Stupid question
I'm having a "duh" moment herehow do I tell which version of Mandrake I've installed? Augh! Stop Laughing M
Re: [expert] Stupid question
Marsden MacRae wrote: > I'm having a "duh" moment herehow do I tell which version of > Mandrake I've installed? Augh! Stop Laughing > > M check /etc/mandrake-release That should do it
Re: [expert] Stupid Question
> Check if you have /usr/include/linux symlinked to > /usr/src/linux/include/linux werewolf:~# ll /usr/include/linux > lrwxrwxrwx1 root root 26 Jun 8 02:09 /usr/include/linux > -> ./src/linux/include/linux/ > Same with /usr/include/asm. Or you can have both dirs "real" instead of > symlinked, that depends on the dsitro. (And a round of applause is heard echoing throughout the mailing list) The /usr/include/asm link was broken. Odd, this was a fresh install. At any rate everything seems to be working great now. Thanks so much! -Chris Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
On Wednesday 01 November 2000 02:06, you wrote: > To the original poster: > > Is there a sym link from /usr/include/linux to > /usr/src/linux/include/linux/ ? If not, add it, and you should be set. > > Alexander Skwar Yes, that symlink is there. Everything appears to be in order I just have no idea why it isn't picking the source location up. Any other ideas? :) -Chris Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
On Wed, 01 Nov 2000 04:29:12 Chris Spencer wrote: > On Tuesday 31 October 2000 19:57, you wrote: > > > > Why do you need /usr/src/linux in the $PATH? Chances are the files that Finding includes has nothing to do with PATH. > > are missing are in some devel package. Do a web search for the missing > > file and see what package it looks like it is in. You can always check > > rpmfind.net for the most up to date package and build that *.src.rpm or > > install the binary rpm. Now try to rebuild wine. > > I have the file in question...and the package. The file is part of the kernel > source. Thats not the issue. The issue is why it is when I try to compile a > SRPM it is not picking anything up from /usr/src/linux. > Check if you have /usr/include/linux symlinked to /usr/src/linux/include/linux werewolf:~# ll /usr/include/linux lrwxrwxrwx1 root root 26 Jun 8 02:09 /usr/include/linux -> ./src/linux/include/linux/ Same with /usr/include/asm. Or you can have both dirs "real" instead of symlinked, that depends on the dsitro. If some SRPM needs including kernel headers, they use ; If you have the above link, gcc finds the include under default include paths (/usr/include), else you have to manually add -I/usr/src/linux/include. (NOTE: in the latter form, the last "/include" matters; I don't have your previous posts, but you seem to be refering always /usr/src/linux only). -- Juan Antonio Magallon Lacarta mailto:[EMAIL PROTECTED] Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
> So sprach Larry Marshall am Tue, Oct 31, 2000 at 04:55:50PM -0500: > > If you don't have the kernel source you need to download the rpm and > > install it. > > But you won't need the full kernel source. The kernel headers rpm is good > enough. Interesting to know (I've never had need to compile Wine) but when I've gotten a complete kernel (not a patch) it's all come together. The whole mess isn't that much stuff. Cheers --- Larry Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
So sprach Gerald Williams am Wed, Nov 01, 2000 at 03:07:32PM +0700: > Uh...another dumb question. You are root when trying to compile the SRPM?(G) He shouldn't have to be, if that was what you were suggesting. About all of the mandrake SRPMs are made so that a normal user can rebuild them. Alexander Skwar -- Homepage: http://www.digitalprojects.com | http://www.dp.ath.cx Sichere Mail? Mail an [EMAIL PROTECTED] fuer GnuPG Keys ICQ:7328191 Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
So sprach Sarang Lakare am Tue, Oct 31, 2000 at 06:57:43PM -0500: > or something.. remember that the directory structure has changed a bit with > 7.2.. now its FSH complient. Well, yes, but the location of the kernel header files did not change. To the original poster: Is there a sym link from /usr/include/linux to /usr/src/linux/include/linux/ ? If not, add it, and you should be set. Alexander Skwar -- Homepage: http://www.digitalprojects.com | http://www.dp.ath.cx Sichere Mail? Mail an [EMAIL PROTECTED] fuer GnuPG Keys ICQ:7328191 Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
On Wednesday 01 November 2000 04:11, you wrote: > > Argh. I feel dumb. > > I just did a clean install of 7.2. I noticed that when I have tried to > compile something (for example, the latest Wine SRPM) that it has been > crashing with a file not found error. > > I have narrowed the problem down to the fact that /usr/src/linux is not > in the path, or include path, or whatever. How can I add it? > > -Chris Uh...another dumb question. You are root when trying to compile the SRPM?(G) Jerry -- Gerald Williams -- Words Matter! Bangkok, Thailand Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
So sprach Larry Marshall am Tue, Oct 31, 2000 at 04:55:50PM -0500: > If you don't have the kernel source you need to download the rpm and > install it. But you won't need the full kernel source. The kernel headers rpm is good enough. Alexander Skwar -- Homepage: http://www.digitalprojects.com | http://www.dp.ath.cx Sichere Mail? Mail an [EMAIL PROTECTED] fuer GnuPG Keys ICQ:7328191 Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
On Tuesday 31 October 2000 19:57, you wrote: > > Why do you need /usr/src/linux in the $PATH? Chances are the files that > are missing are in some devel package. Do a web search for the missing > file and see what package it looks like it is in. You can always check > rpmfind.net for the most up to date package and build that *.src.rpm or > install the binary rpm. Now try to rebuild wine. I have the file in question...and the package. The file is part of the kernel source. Thats not the issue. The issue is why it is when I try to compile a SRPM it is not picking anything up from /usr/src/linux. -Chris Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
Why do you need /usr/src/linux in the $PATH? Chances are the files that are missing are in some devel package. Do a web search for the missing file and see what package it looks like it is in. You can always check rpmfind.net for the most up to date package and build that *.src.rpm or install the binary rpm. Now try to rebuild wine. Mike Ronnie Whipp wrote: > > Chris Spencer wrote: > > > Argh. I feel dumb. > > > > I just did a clean install of 7.2. I noticed that when I have tried to > > compile something (for example, the latest Wine SRPM) that it has been > > crashing with a file not found error. > > > > I have narrowed the problem down to the fact that /usr/src/linux is not in > > the path, or include path, or whatever. How can I add it? > > > > -Chris > > > > > > Keep in touch with http://mandrakeforum.com: > > Subscribe the "[EMAIL PROTECTED]" mailing list. > > If that's all that's necessary: > PATH="$PATH:/usr/src/linux" > in either /etc/profile or your own .bashrc > > > Keep in touch with http://mandrakeforum.com: > Subscribe the "[EMAIL PROTECTED]" mailing list. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
Chris Spencer wrote: > Argh. I feel dumb. > > I just did a clean install of 7.2. I noticed that when I have tried to > compile something (for example, the latest Wine SRPM) that it has been > crashing with a file not found error. > > I have narrowed the problem down to the fact that /usr/src/linux is not in > the path, or include path, or whatever. How can I add it? > > -Chris > > > Keep in touch with http://mandrakeforum.com: > Subscribe the "[EMAIL PROTECTED]" mailing list. If that's all that's necessary: PATH="$PATH:/usr/src/linux" in either /etc/profile or your own .bashrc Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
go into the makefile and add /usr/src/linux.. maybe its looking at /src/linux or something.. remember that the directory structure has changed a bit with 7.2.. now its FSH complient. -sarang On Tuesday 31 October 2000 17:22, you wrote: > > On Tuesday 31 October 2000 15:55, you wrote: > > Do you have the kernel source code in a directory with a name similar to > > /usr/src/linux-2.2.xx or do you have the source for the kernel stored > > elsewhere? You need that directory tree (and its files) somewhere. Then > > you need to make a link from /usr/src/linux to its location. Use: > > > > ln -s /usr/src/linux-2.2.16 /usr/src/linux > > Thanks for the reply, however I guess I didn't articulate myself well > enough. > > :) > > I have the sources installed and the link points to the correct sources. > What I *think* the problem is that there is a system variable that is not > set. > > For example, when I try to compile Wine I get an error telling me that it > cannot find the file 'sigcontext.h'. Well this file is located under > /usr/src/linux/include/adm-i386. > > This is why I am thinking that there is a global variable that is not being > set. Any ideas? > > -Chris Content-Type: text/plain; charset="iso-8859-1"; name="message.footer" Content-Transfer-Encoding: 8bit Content-Description: -- - Sarang Lakare Viatronix Inc. Stony Brook, NY Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
On Tuesday 31 October 2000 15:55, you wrote: > Do you have the kernel source code in a directory with a name similar to > /usr/src/linux-2.2.xx or do you have the source for the kernel stored > elsewhere? You need that directory tree (and its files) somewhere. Then > you need to make a link from /usr/src/linux to its location. Use: > > ln -s /usr/src/linux-2.2.16 /usr/src/linux Thanks for the reply, however I guess I didn't articulate myself well enough. :) I have the sources installed and the link points to the correct sources. What I *think* the problem is that there is a system variable that is not set. For example, when I try to compile Wine I get an error telling me that it cannot find the file 'sigcontext.h'. Well this file is located under /usr/src/linux/include/adm-i386. This is why I am thinking that there is a global variable that is not being set. Any ideas? -Chris Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] Stupid Question
> I just did a clean install of 7.2. I noticed that when I have tried to > compile something (for example, the latest Wine SRPM) that it has been > crashing with a file not found error. > > I have narrowed the problem down to the fact that /usr/src/linux is not in > the path, or include path, or whatever. How can I add it? Do you have the kernel source code in a directory with a name similar to /usr/src/linux-2.2.xx or do you have the source for the kernel stored elsewhere? You need that directory tree (and its files) somewhere. Then you need to make a link from /usr/src/linux to its location. Use: ln -s /usr/src/linux-2.2.16 /usr/src/linux If you don't have the kernel source you need to download the rpm and install it. Cheers --- Larry Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
[expert] Stupid Question
Argh. I feel dumb. I just did a clean install of 7.2. I noticed that when I have tried to compile something (for example, the latest Wine SRPM) that it has been crashing with a file not found error. I have narrowed the problem down to the fact that /usr/src/linux is not in the path, or include path, or whatever. How can I add it? -Chris Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.