Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 :
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.
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:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.