Working on compiling
ok i went to the tutorial on the main site
and ive finished steps: tar zxf linuxquestions.tar.gz and cd linuxquestions i get to ./configure and it says file or directory does not exist, i have tried looking for where it really is but i cannot find it. i have Linux: Mandrake 10.0(probley) and I'm using gnome. any answers or links to awnsers would be greatly appreciated THANKS : |
|
thats the tutorial i went to and got stuck at but thanks anyway.
|
Are you actually trying to compile a package called linuxquestions.tar.gz? Its only an example in that tutorial. More clarification of the package your trying to compile would be helpful.
|
alright sorry i was kinda going somewhere when i posted that what i was doing was compiling a kernel, linux-2.6.8.1 i believe. so i typed
tar zxf linux-2.6.8.1.tar.gz witch didn't work so i did /usr/src/linux-2.6.8.1.tar.gz witch did work then i did cd linux-2.6.8.1 then i got [root@----------- linux-2.6.8.1]# (----------- being my CPU name) so then then i typed in ./configure. i got the error: bash: ./configure: No such file or directory so i thought "hmm weird" i looked it up then gave up and tried just continuing to the step: make then i got the error message: Makefile:415: .config: No such file or directory /root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found /root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found HOSTCC scripts/basic/fixdep /bin/sh: line 1: gcc: command not found make[2]: *** [scripts/basic/fixdep] Error 127 make[1]: *** [scripts_basic] Error 2 make: *** [include/linux/autoconf.h] Error 2 then i did make test and i got: Makefile:415: .config: No such file or directory /root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found /root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found make: *** No rule to make target `test'. Stop. so finally i did make installer and i got: Makefile:415: .config: No such file or directory /root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found /root/linux-2.6.8.1/scripts/gcc-version.sh: line 1: gcc: command not found make: *** No rule to make target `test'. Stop. and thats how i ended up here heh |
Compiling a kernel is a little different, see:
http://wiki.linuxquestions.org/wiki/Compiling_a_Kernel |
ok i get to.
Basic config from terminal, a long list of questions you answer make config For ncurses GUI in the terminal make menuconfig For X-based GUI with modular explanations (QT Based) make xconfig Same as above, but for 2.6.x kernel only (GTK Based, and might be still buggy) make gconfig? and then i get an error on everyone PS:Thank you very much I'm broke(:eek: :cry: ) other wise i would donate sorry. |
Please post the exact error message you get, as that will help people here help you. Make sure you're running the make command from the top level of the kernel source directory.
|
First off, you only need to issue one "make *config" meaning you either issue
make menuconfig make config make xconfig -or- make gconfig you issue *one* of the above. Secondly, do you have a C/C++ compiler (gcc) installed? The reason I ask is because you got these errors multiple times: Quote:
|
All times are GMT -5. The time now is 11:53 PM. |