LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2012, 02:29 PM   #1
david9004
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Rep: Reputation: Disabled
How to compile and Intall a driver???


Hi,

I have a .tar.gz file it contains the driver for my Wireless card but I do not how to install it, I try to use ./configure but it say command not found. In the readme file says that I just have to enter at top-level directory and use "make" and then "make install" but when i do that (make) it say there is no rule to build the objective inalambrica. I google it and says that i have to check that the folder contains a Makefile, there are severals Makefile in diferents folders and i try to use "make" in each of then but i got the same error (there is no rule to build the objective). What i have to do to install it? thank you all for the help.

Have a nice day.
 
Old 04-27-2012, 02:43 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,462

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Most packages will have a README or INSTALL file with information on how to build it.
 
Old 04-27-2012, 02:47 PM   #3
david9004
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
Most packages will have a README or INSTALL file with information on how to build it.
I already see the README but it just says that I have to use "make" and then "make install" but when I use make I got the error there is no rule to build the objective inalambrica.
 
Old 04-27-2012, 02:49 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,462

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Could you post the contents of the directory using "ls -l", as well as the location where you downloaded the driver?
 
Old 04-27-2012, 02:56 PM   #5
david9004
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
This is what you ask me, rigth?? Thank you

david@david-pc:~/Escritorio/Driver inalambrica Linux/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011$ ls -l
total 4576
-rwxr-xr-x 1 david david 50919 2011-12-30 03:32 base.c
-rwxr-xr-x 1 david david 5947 2011-12-30 03:32 base.h
-rwxr-xr-x 1 david david 10170 2011-12-30 03:32 cam.c
-rwxr-xr-x 1 david david 2093 2011-12-30 03:32 cam.h
drwxr-xr-x 5 david david 4096 2011-12-30 03:32 compat
-rwxr-xr-x 1 david david 2642 2011-12-30 03:32 compat.h
drwxr-xr-x 15 david david 4096 2012-04-27 13:37 compat-wireless-3.0-2
-rwxr-xr-x 1 david david 4238914 2011-12-30 03:32 compat-wireless-3.0-2.tar.bz2
-rwxr-xr-x 1 david david 37340 2011-12-30 03:32 core.c
-rwxr-xr-x 1 david david 1468 2011-12-30 03:32 core.h
-rwxr-xr-x 1 david david 23538 2011-12-30 03:32 debug.c
-rwxr-xr-x 1 david david 6493 2011-12-30 03:32 debug.h
-rwxr-xr-x 1 david david 33420 2011-12-30 03:32 efuse.c
-rwxr-xr-x 1 david david 3461 2011-12-30 03:32 efuse.h
drwxr-xr-x 3 david david 4096 2011-12-30 03:32 firmware
-rwxr-xr-x 1 david david 386 2011-12-30 03:32 Kconfig
-rwxr-xr-x 1 david david 2151 2011-12-30 03:32 Makefile
-rwxr-xr-x 1 david david 58404 2011-12-30 03:32 pci.c
-rwxr-xr-x 1 david david 7991 2011-12-30 03:32 pci.h
-rwxr-xr-x 1 david david 18805 2011-12-30 03:32 ps.c
-rwxr-xr-x 1 david david 2006 2011-12-30 03:32 ps.h
-rwxr-xr-x 1 david david 8097 2011-12-30 03:32 rc.c
-rwxr-xr-x 1 david david 1518 2011-12-30 03:32 rc.h
-rwxr-xr-x 1 david david 9198 2011-12-30 03:32 readme
-rwxr-xr-x 1 david david 12336 2011-12-30 03:32 regd.c
-rwxr-xr-x 1 david david 1963 2011-12-30 03:32 regd.h
-rwxr-xr-x 1 david david 2716 2011-12-30 03:32 release_note
drwxr-xr-x 2 david david 4096 2011-12-30 03:32 rtl8192ce
drwxr-xr-x 2 david david 4096 2011-12-30 03:32 rtl8192de
drwxr-xr-x 2 david david 4096 2011-12-30 03:32 rtl8192se
-rwxr-xr-x 1 david david 8399 2011-12-30 03:32 stats.c
-rwxr-xr-x 1 david david 1658 2011-12-30 03:32 stats.h
-rwxr-xr-x 1 david david 49974 2011-12-30 03:32 wifi.h
 
Old 04-28-2012, 01:01 AM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
It looks like there is a Makefile in there, so in principle make should work. Are you sure you had changed into the extracted directory when you ran make?Since it's a driver, also be sure that you have your kernel development packages installed. If you let us know what distro you're using, someone can tell you how to install them.
 
Old 04-28-2012, 11:01 AM   #7
david9004
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by btmiller View Post
It looks like there is a Makefile in there, so in principle make should work. Are you sure you had changed into the extracted directory when you ran make?Since it's a driver, also be sure that you have your kernel development packages installed. If you let us know what distro you're using, someone can tell you how to install them.
Ok I'm shoure I'm runing the "make" in the extracted directory, how can I see if I have kernel development packages installed?
 
Old 04-28-2012, 11:21 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,214

Rep: Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696Reputation: 2696
make is used to build a software and make install will install it. make install will work only if the first make command successfully completed.
 
Old 04-28-2012, 01:48 PM   #9
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
you are probably missing some of the developer libraries. That will include the latest GCC and other stuff.

Good luck to you
 
Old 04-28-2012, 05:16 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
david9004
what operating system is this ?
and
What make/model of wireless card is this ?

most are already supported and do not need a "driver"
 
Old 04-28-2012, 06:44 PM   #11
sagy
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Rep: Reputation: Disabled
well i think i have the same problem with realtek rtl8188cu driver
and here is what i got

http://img210.imageshack.us/img210/9793/sagy.png


can you help plz

Last edited by sagy; 04-28-2012 at 06:45 PM.
 
Old 04-28-2012, 06:47 PM   #12
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You're definitely missing the kernel development packages needed to build drivers. You need to install them, but no one can tell you how to do that unless you help us and say what distribution you are using and what hardware you have! You need to answer John VV's questions, or no one will be able to help you.
 
Old 04-28-2012, 07:13 PM   #13
sagy
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Rep: Reputation: Disabled
ok
i am using vmware player ..backtrack 5
and Realtek RTL8188CU Wireless LAN 802.11n USB 2.0 Network Adapter (USB)

thanks in advance
 
Old 04-28-2012, 07:39 PM   #14
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Hmmm ... sounds like you're running Backtrack in a VM then. Have you set the host to pass through control of the wireless NIC directly to the guest (not sure if this is the correct terminology). Most VM infrastructures I've seen use a virtual Ethernet NIC that any Linux should support out of the box. All communication to/from the VM would occur over this virtual NIC, not the real hardware in the host system, unless you some how passed the host hardware through and gave the VM exclusive control of it. Therefore, I'm not sure if what you're trying to do even can work (I don't use VMWare much; mostly KVM).

In case I'm mistaken, though, you might find this thread on the Backtrack forum useful: http://www.backtrack-linux.org/forum...hp/t-9559.html .
 
Old 04-28-2012, 08:01 PM   #15
sagy
LQ Newbie
 
Registered: Apr 2012
Posts: 17

Rep: Reputation: Disabled
yes i am running Backtrack in a VM (vm workstation)
and i just clicked a usb wireless device connect button (disconnect from host)
but i got this

http://img684.imageshack.us/img684/4333/btlsysb.jpg



http://img10.imageshack.us/img10/5803/bt2vk.jpg


and about your link .. it provide more links but unfortunately its not working .

"You're definitely missing the kernel development packages needed to build drivers"

can you tell me now how can i install them, to get that build directory ?

thanks
 
  


Reply


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
Is it posible to intall FC5 with just 3 intall CD's ponky2x Fedora - Installation 1 07-26-2006 10:08 AM
driver compile rcarlino Mandriva 0 08-25-2003 07:22 AM
how intall driver luucorp Linux - Newbie 4 05-30-2003 10:34 PM
How do I compile a driver lexy Linux - Newbie 3 12-16-2002 04:35 PM
intall non-rpm video driver enlazador Linux - Newbie 1 05-16-2002 09:06 PM


All times are GMT -5. The time now is 04:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration