LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-11-2004, 10:23 AM   #1
Plice
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Rep: Reputation: 0
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?

Last edited by Plice; 10-11-2004 at 10:33 AM.
 
Old 10-11-2004, 11:19 AM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
are you in /usr/src/linux?
 
Old 10-11-2004, 11:20 AM   #3
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
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?
 
Old 10-11-2004, 12:30 PM   #4
Plice
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
Old 10-11-2004, 12:34 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

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

Last edited by gbonvehi; 10-11-2004 at 12:36 PM.
 
Old 10-11-2004, 12:45 PM   #6
Plice
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Original Poster
Rep: Reputation: 0
I knew it! Is there any way to update my Slackware system or do I have to install Make and GCC separately now?
 
Old 10-11-2004, 12:52 PM   #7
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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.

Last edited by gbonvehi; 10-11-2004 at 12:59 PM.
 
Old 10-11-2004, 01:11 PM   #8
Plice
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Original Poster
Rep: Reputation: 0
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...
 
Old 10-11-2004, 01:14 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
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).
 
Old 10-11-2004, 01:29 PM   #10
Plice
LQ Newbie
 
Registered: Oct 2004
Posts: 17

Original Poster
Rep: Reputation: 0
It works! Thank you Gbonvehi, the patience with noobs in these forums always suprises me
 
Old 10-11-2004, 02:29 PM   #11
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
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 =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs write == super slow; read == super fast - problem? BrianK Linux - Networking 4 08-23-2007 10:59 PM
super newbie needs help ! kinghimself Linux - Software 5 11-09-2003 10:28 AM
Super-new newbie, need direction. ActionPlant Linux - Newbie 8 10-28-2003 02:54 PM
super newbie a45b22chp Linux - Newbie 11 05-04-2003 04:46 PM
Super small desktop debumux Linux - Newbie 3 12-03-2002 11:56 PM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration