Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 08-09-2012, 09:27 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,672

Rep: Reputation: 55
Is it a bug?

Hi all,

Fedora 17 64bit

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

$ sudo ./
[sudo] password for satimis:
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
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

Old 08-09-2012, 09:48 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,838
Blog Entries: 14

Rep: Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092Reputation: 1092
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.
Old 08-09-2012, 09:59 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,635

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

# yum install kernel-devel
Old 08-09-2012, 11:56 AM   #4
Senior Member
Registered: Apr 2003
Posts: 3,672

Original Poster
Rep: Reputation: 55
Hi all,

Thanks for your advice.

I need following packages
- kernel-devel
- gcc

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

then it works.



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
Bug#314905 bug fix for Ubuntu and gcc is 4.4.1 bostan Linux - General 1 12-11-2010 12:35 PM
No bug status is available on bug creation prayag_pjs Linux - Newbie 0 12-11-2009 05:41 AM
[BUG] Current pkgtools installpkg bug jazzor Slackware 7 04-16-2009 05:30 AM
LXer: 2008 CES: Bug Labs Introduces BUG, BUGbase. So Cool! LXer Syndicated Linux News 0 01-09-2008 01:21 AM
2038 bug-Is Debian Bug-Proof? deepclutch Debian 1 08-02-2007 10:59 AM

All times are GMT -5. The time now is 04:26 PM.

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