LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 10-24-2009, 01:52 AM   #1
sudo_homeboy
LQ Newbie
 
Registered: Oct 2009
Posts: 1
Thanked: 0
make: *** No rule to make target 'install'. Stop.


[Log in to get rid of this advertisement]
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 03:18 AM.. Reason: Additional Info:
windows_98_nt_2000 sudo_homeboy is offline  
Tag This Post , ,
Reply With Quote
Old 10-24-2009, 04:56 AM   #2
dracuss
Member
 
Registered: May 2006
Location: Chisinau, Moldova
Distribution: Gentoo, Debian squeeze
Posts: 88
Thanked: 4
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
linuxdebian dracuss is offline     Reply With Quote
Old 10-24-2009, 05:19 AM   #3
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,898
Thanked: 267
*
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
linuxpclinuxos knudfl is offline     Reply With Quote
Old 10-24-2009, 02:58 PM   #4
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 13.0
Posts: 510
Thanked: 11
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.
windows_xp_2003 MQMan is offline     Reply With Quote
Old 10-25-2009, 10:10 AM   #5
onebuck
Guru
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 5,438
Blog Entries: 1
Thanked: 202
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 10:12 AM.. Reason: warning!
linuxslackware onebuck is offline     Reply With Quote
Thanked by:

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:25 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration