LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Is it a bug? (https://www.linuxquestions.org/questions/fedora-35/is-it-a-bug-4175421216/)

satimis 08-09-2012 09:27 AM

Is it a bug?
 
Hi all,

Fedora 17 64bit

When I tried installing the driver for TP-Link Gigabit NIC

$ sudo ./autorun.sh
[sudo] password for satimis:
Code:


Check old driver and unload it.
Build the module and install
make: *** /lib/modules/3.5.0-2.fc17.x86_64/build: No such file or directory.  Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 2

$ sudo yum install make
Code:

Loaded plugins: langpacks, presto, refresh-packagekit
Package 1:make-3.82-9.fc17.x86_64 already installed and latest version
Nothing to do

Any advice? TIA

B.R.
satimis

MensaWater 08-09-2012 09:48 AM

The message you got came from make so it was already installed.

The message tells you what the error is:

/lib/modules/3.5.0-2.fc17.x86_64/build: No such file or directory.

If you run "ls -l /lib/modules/3.5.0-2.fc17.x86_64/build" what do you see? My guess is the same message because the one above is telling you it doesn't exist. What you need to do is install the above file.

You can run "yum provides /lib/modules/3.5.0-2.fc17.x86_64/build" to see what package (if any) would contain the missing file/directory then run yum install on that package.

Often when you install systems you're installing "run time" packages. To "make" things you often need another development package which will often have the same name as the run time with "-devel" appended to it.

knudfl 08-09-2012 09:59 AM

Quote:

/lib/modules/3.5.0-2.fc17.x86_64/build: No such file or directory

# yum install kernel-devel

satimis 08-09-2012 11:56 AM

Hi all,

Thanks for your advice.

I need following packages
- kernel-devel
- gcc

After finish ran;
$ sudo /usr/sbin/NetworkManager start

then it works.

B.R.
satimis


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