LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Small super-newbie problem (http://www.linuxquestions.org/questions/slackware-14/small-super-newbie-problem-241334/)

Plice 10-11-2004 11:23 AM

Small super-newbie problem
 
I'm trying to follow the "Kernel compiling guide for newbies..." thread in this forum and I've come to the "make menuconfig" part. The problem is that the make command doesn't work - all I get is command not found. If someone could point me to a tutorial I'll appreciate it (I've read the Slack-book, but couldn't find an answer).

Edit: Upon further investigation I've found out that the ./configure command isn't working either, do these two command errors have to do with a missing developer package?

kodon 10-11-2004 12:19 PM

are you in /usr/src/linux?

secesh 10-11-2004 12:20 PM

http://www.gnu.org/software/make/make.html

now './configure' will not work, because and executable file named configure is not included in the kernel source. -- ./<filename> is a way to execute a program (usually some sort of script) located in the current working directory. do 'ls /usr/src/linux' and you'll see that there is no executable file named 'configure'.

make
yup, if you want to build/compile things from source, you're going to need this. do: 'which make' and you'll see that you don't have it.

what distro do you use?

Plice 10-11-2004 01:30 PM

I'm using Slackware 10 and am about to install the GNU make that you recommended. What boggles me (and my friends) is that such an elementary function/program as Make isn't included in Slackware, isn't it one of the most important functions in Linux?

gbonvehi 10-11-2004 01:34 PM

Plice, it's is included if you made a full install. http://www.slackware.com/pb/searchfi...ng=+make&w=off

Plice 10-11-2004 01:45 PM

I knew it! Is there any way to update my Slackware system or do I have to install Make and GCC separately now?

gbonvehi 10-11-2004 01:52 PM

There is a easy way, just put your slackware cd in, goto the d directory inside slackware dir, and installpkg (see: man installpkg) the packages you need.
You'll need to install more packages than make and gcc, I'd recommend you to install all in the d dir except you want to save some space, exclude python and/or j2sdk (if you're not going to use it although a lot of things nowadays depends on them). The rest is just small to keep it or necessary to compile lot of things.

Plice 10-11-2004 02:11 PM

Linux problems just seem to rain down on me - I tried to use Installpkg in "/mnt/cdrom/slackware/d#" and it goes through every package but displays

Cannot install bison-1.35-i386-1.tgz.asc: package does not end in .tgz
Cannot install bison-1.35-i386-1.txt: package does not end in .tgz

after every single package. I did Google it but there seems to be no definite answer on what to do...

gbonvehi 10-11-2004 02:14 PM

Well that's because each package is accompanied by 2 other files .asc file has the checksum to see if the file is corrupted or not, and .txt has it's description. You shouldn't worry about that, try cd /mnt/cdrom/slackware/d and there run: pkgtool and choose the first option (install packages from the current directory). pkgtool is a front-end to installpkg (any doubt, again see the man page :P).

Plice 10-11-2004 02:29 PM

It works! Thank you Gbonvehi, the patience with noobs in these forums always suprises me :D

xushi 10-11-2004 03:29 PM

Practice makes perfect =)

Don't forget to type
rm -fr /
after each kernel compile before you reboot =)
.
.
.
.
.
.
.
.
(joking.. for anyone else out there.. do NOT type that =)


All times are GMT -5. The time now is 10:04 PM.