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 |
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 |
*
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 |
Quote:
Just install the kernel source and kernel headers packages. Cheers. |
Hi,
Welcome to LQ! Quote:
Quote:
Quote:
:hattip: 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. |
All times are GMT -5. The time now is 08:42 AM. |