LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-24-2009, 12:52 AM   #1
sudo_homeboy
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
make: *** No rule to make target 'install'. Stop.


hi there!
I am a slackware newbie (using version 12) and am trying to install from the igb-1.3.28.4.tar.gz and configure the network card. (netconfig refuses to detect

After extraction, when i run the "make install", the below error shows up:
make: *** No rule to make target 'install'. Stop.

I changed to the /src folder and executed "make install" again to see:
Makefile 69: *** Linux Kernel source not found in any of these locations:
Makefile 70:
Makefile 71: *** Install the appropriate kernel development package, e.g.
Makefile 72: *** kernel-devel, for building kernel modules and try again. Stop.



Here's the snippet from "/src/Makefile" which has ref' to the lines 69 through 72.

Is my linux installation incomplete/broken, due to which Make Install is unable to find the required kernel modules? If yes, how do i fix it. I am unable to see the USB Stick or CD Rom contents under the /mnt & /media folders.


DRIVER_NAME=igb
###########################################################################
# Environment tests

# Kernel Search Path
# All the places we look for kernel source
KSP := /lib/modules/$(BUILD_KERNEL)/build \
/lib/modules/$(BUILD_KERNEL)/source \
/usr/src/linux-$(BUILD_KERNEL) \
/usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \
/usr/src/kernel-headers-$(BUILD_KERNEL) \
/usr/src/kernel-source-$(BUILD_KERNEL) \
/usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/usr/src/linux

# prune the list down to only values that exist
# and have an include/linux sub-directory
test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
KSP := $(foreach dir, $(KSP), $(test_dir))

# we will use this first valid entry in the search path
ifeq (,$(KSRC))
KSRC := $(firstword $(KSP))
endif

ifeq (,$(KSRC))
$(warning *** Linux kernel source not found in any of these locations
$(warning $(KSP))
$(warning *** Install the appropriate kernel development package, e.g.)
$(error kernel-devel, for building kernel modules and try again)
else
ifeq (/lib/modules/$(shell uname -r)/source, $(KSRC))
KOBJ := /lib/modules/$(shell uname -r)/build
else
KOBJ := $(KSRC)
endif
endif


Thanks

----
p.s - I also have all the installables (extracted from the DVD) in /home/DVD-Sources, if I need to re-install any libs/sources

Last edited by sudo_homeboy; 10-24-2009 at 02:18 AM. Reason: Additional Info:
 
Old 10-24-2009, 03:56 AM   #2
dracuss
Member
 
Registered: May 2006
Location: Chisinau, Moldova
Distribution: Gentoo, Debian sid
Posts: 151

Rep: Reputation: 29
As much as I understand, you must get the linux-headers and linux-source packages. and afterwards configure the linux-source package. I don't know anything about Slackware's package manager, here is how to configure linux-source (suppose it is extracted in /usr/src/linux):
Code:
cd /usr/src/linux 
zcat /proc/config.gz>>./.config
make menuconfig
 
Old 10-24-2009, 04:19 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
*
Slackware 12 , disk 2 , slackware/k/kernel-source-2.6.27.7_smp-noarch-1.tgz

.. or ..
ftp://ftp.heanet.ie/mirrors/ftp.slac...0/slackware/k/

ftp://ftp.heanet.ie/mirrors/ftp.slac...p-noarch-2.tgz
 
Old 10-24-2009, 01:58 PM   #4
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Quote:
Originally Posted by dracuss View Post
As much as I understand, you must get the linux-headers and linux-source packages. and afterwards configure the linux-source package.
There is no reason to "configure" the source package, unless you are going to compile the kernel.

Just install the kernel source and kernel headers packages.

Cheers.
 
Old 10-25-2009, 09:10 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Welcome to LQ!

Quote:
Originally Posted by homeboy@sdf.lonestar.org View Post
hi there!
I am a slackware newbie (using version 12) and am trying to install from the igb-1.3.28.4.tar.gz and configure the network card. (netconfig refuses to detect
First, 'netconfig' does not detect the device. Just provides your network configuration for selected device. Your kernel detects the device during the initialization.

Quote:
Originally Posted by homeboy@sdf.lonestar.org View Post
After extraction, when i run the "make install", the below error shows up:
make: *** No rule to make target 'install'. Stop.

I changed to the /src folder and executed "make install" again to see:
Makefile 69: *** Linux Kernel source not found in any of these locations:
Makefile 70:
Makefile 71: *** Install the appropriate kernel development package, e.g.
Makefile 72: *** kernel-devel, for building kernel modules and try again. Stop.
The errors you got state what is needed! If you had done a 'FULL' install as recommended for a 'Newbie' then you would not have this problem.

Quote:
Originally Posted by homeboy@sdf.lonestar.org View Post
Here's the snippet from "/src/Makefile" which has ref' to the lines 69 through 72.

Is my linux installation incomplete/broken, due to which Make Install is unable to find the required kernel modules? If yes, how do i fix it. I am unable to see the USB Stick or CD Rom contents under the /mnt & /media folders.

Code:
DRIVER_NAME=igb
###########################################################################
# Environment tests

# Kernel Search Path
# All the places we look for kernel source
KSP :=  /lib/modules/$(BUILD_KERNEL)/build \
        /lib/modules/$(BUILD_KERNEL)/source \
        /usr/src/linux-$(BUILD_KERNEL) \
        /usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \
        /usr/src/kernel-headers-$(BUILD_KERNEL) \
        /usr/src/kernel-source-$(BUILD_KERNEL) \
        /usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
        /usr/src/linux

# prune the list down to only values that exist
# and have an include/linux sub-directory
test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
KSP := $(foreach dir, $(KSP), $(test_dir))

# we will use this first valid entry in the search path
ifeq (,$(KSRC))
  KSRC := $(firstword $(KSP))
endif

ifeq (,$(KSRC))
  $(warning *** Linux kernel source not found in any of these locations:)
  $(warning $(KSP))
  $(warning *** Install the appropriate kernel development package, e.g.)
  $(error kernel-devel, for building kernel modules and try again)
else
ifeq (/lib/modules/$(shell uname -r)/source, $(KSRC))
  KOBJ :=  /lib/modules/$(shell uname -r)/build
else
  KOBJ :=  $(KSRC)
endif
endif
Thanks

----
p.s - I also have all the installables (extracted from the DVD) in /home/DVD-Sources, if I need to re-install any libs/sources
Please notice how I placed your long lists with the vbcode tag 'code' (# at the top of the replay window). It will make things cleaner therefore easier to read.




Just a few links to aid you;

SlackwareŽ Essentials
SlackwareŽ Basics
Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Virtualiation- Top 10

These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

EDIT: 'homeboy@sdf.lonestar.org' can cause you to get a lot of unsolicited mail/problems. You may wish to contact 'jeremy' to change it.

Last edited by onebuck; 10-25-2009 at 09:12 AM. Reason: warning!
 
  


Reply

Tags
install, make, slackware12


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
make: *** No rule to make target `mrproper'. Stop. dauphinfay Linux - General 7 11-24-2014 07:35 AM
make: *** No rule to make target `install-headers'. Stop. NightHorse Linux - Newbie 9 06-21-2009 05:16 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM
make: *** No rule to make target 'gconfig'. Stop. cswake Slackware 4 10-10-2004 12:13 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration