Debian :: Can't Compile A Driver From Source (make Cmd Fails)
Nov 14, 2010
I'm trying to compile the D-Link netcard driver from the official source, and when I first ran "make," I got an error that "make" couldn't be found. So I installed "apt-get install make," then make told me that it needed gcc, I installed "apt-get install gcc." Now make says: make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory. Stop. make: *** [LINUX] Error 2 and exits.
I suspect that I need to install some package group which will handle the make and make install (rather than manually trying to fix one hole after another)
View 7 Replies
ADVERTISEMENT
Feb 16, 2011
I've been trying to make/compile the driver for a wireless card. The card is usb, it's titled Micronext MN-WD550M and seems to use the rtl8712 driver.Firstly, though I did this once two years ago I seem to have completely forgotten how to install a driver in ubuntu.
Secondly, I'm not sure I have the right driver anyway since in the notes in the readme it says it is for i386 (I run amd 64). The driver is here [URL] Thirdly, after clicking through various readmes and documentation without feeling any more intelligent, I then tried using ndiswrapper to install a windows driver and ubuntu would crash if the usb wireless card was plugged in. Blarg.I feel like this should be so simple I'm going to make a clean installation of ubuntu 10.10 shortly (for various unrelated reasons) so anything I messed up with ndiswrapper should be back to normal.
View 1 Replies
View Related
Jun 1, 2015
I can't compile using the instructions on the package... the package in question is this: [URL] ....
Just trying to play with old and good windowmaker. When running make it just says "make: nothing to be done for 'all'.
View 5 Replies
View Related
Dec 29, 2010
For sake of a clear picture of the problem, pretend I don't know anything about compiling.
How would I re-compile my current kernel's source? It's the i686 optimized kernel I selected from the install disc.
View 10 Replies
View Related
Nov 13, 2009
I hope I'm in the right section, if I'm not, please forgive me, I just installed Debian 5.0, and I want to install firefox, and then install graphics drivers, etc, I downloaded firefox, but I don't know how to compile programs from source, I googled how to compile firefox but the results are very vague and some are very outdated. I downloaded FF from their site, the file name is firefox-3.5.5.tar.bz2, how do I compile this?
View 11 Replies
View Related
Dec 21, 2015
So I am new to linux and i upgraded my kernel to 4.3.3 and to add the bfq patch. When i enter the command make install I get the following Code:
Select allupdate-initramfs: Generating /boot/initrd.img-4.3.3
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169
[Code] ....
Now my ethernet drivers are not working.
View 8 Replies
View Related
Feb 25, 2010
why it is that when I download the sendmail debian source package for etch and build it using dpkg-buildpackage -b -nc I get a 645543 byte sendmail executable whereas when I download the sendmail binary that is 703292 bytes.
View 1 Replies
View Related
May 29, 2010
I'm trying to do the simplest thing. Compile XMMS. I navigated to the folder containing the extracted source and ran ./configure. That failed, so I remembered to install the build-essential package.
After that, I continued and got this output:
It said I didn't have glib installed, whatever that is. I did "apt-get install glib" and it told me it couldn't find the package called "glib". I thought, "Yeah, that seems a little too broad of a package name".
So then I went to Synaptic and did a search for "libglib" and noticed I already have libglib2.0-0 installed, as well as libglib2.0-data and libglib-perl.
How can I get this to to work correctly? I know the process should be ./configure, make, and then make-all, but I get stuck on the ./configure step.
View 14 Replies
View Related
Dec 20, 2010
I have done a new install of Fedora 14 but the RTL8191 wirless card is not being recognised. Realtek have provided the driver source but the make operation is failing because (I think) Fedora 14 isn't provided with the kernel source to enable it to complete successfully.
Basically (in easy to understand steps): how do I download correctly the Kernel source to enable the driver make operation to proceed?
View 14 Replies
View Related
Jul 23, 2011
I have a new machine with an Intel 82579lm network card (needs an e1000e driver, I believe). I got Debian installed, but it doesn't have access to the Internet, because it needs a driver for that card. So, I managed to download the card driver on another computer and transfer it to this computer. Problem is that when I run 'make install' for the card driver, it turns out that my Debian install doesn't have 'make'.
I could compile the card source on another computer with Debian. Problem is that computer has a different architecture (old amd 32 bit machine vs. new intel i7 64 bit) than the machine with the problem card. Am guessing that the compiled driver module won't work on a different kind of machine.
Another possibility is to check in synaptic on my old 32-bit machine and use "Generate package download script" to determine where synaptic is getting the 'make' package from and all its dependencies. I also would need to modify the downloads to get the packages for the 64bit machine. *Assuming* that a) the dependencies in Synaptic on the old 32-bit machine will be the same as for a 64bit machine and b) I correctly identify all necessary packages and their proper names for the amd64 architecture, I should be able to move the files to the new machine and compile what I need to compile.
View 10 Replies
View Related
May 27, 2010
I have been trying to compile a patched driver for use with my RTL8187L wireless device and get this error.
rm -f ieee80211/Module.symvers 2>/dev/null
rm -f ieee80211/Modules.symvers 2>/dev/null
make -C ieee80211 all
[code].....
View 3 Replies
View Related
May 3, 2011
When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:
1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb
Is this way OK or do I miss something?
View 14 Replies
View Related
Jul 30, 2011
Presently I am following [./configure | make | checkinstall] way for local box.
And need gpg signature , copyright etc... for disturbing
Is there any automated CLI/GUI tool to make .deb from source ?
View 14 Replies
View Related
Mar 31, 2015
I have bought a BrotherHL-1110 laser printer. But there is no driver on my system. I have downloaded source code but don't understand how to compile it. (
It does only exist driver-packages for 32 bits: hl1110cupswrapper-3.0.1-1.i386.deb and hl1110lpr-3.0.1-1.i386.deb)
My system is:
Release 7.8 (wheezy) 64-bit
Kernel Linux 3.2.0-4-amd64
GNOME 3.4.2
AMD Athlon(tm) II X2 245 Processor × 2
The source code contain the following files:
-> pwd
/home/joe/Desktop/BrotherHL-1110/hl1110cupswrapper-GPL_src-3.0.1-1
-> ls -R
.:
brcupsconfig Copying filter PPD
[Code] ....
How do I compile and install it on my computer ? ( Or get the printer working ? )
View 7 Replies
View Related
Jul 17, 2010
First of all I must say that I am new to Debian, but not newbie on Linux. I am the Arch Linux user too, and I managed to solve identical problem on Arch. So, as I want to try Debian I am facing the same problem again. Problem is that my GPU is overheating. I am using Ati open source driver. I installed it following the procedure on Debian wiki. On Arch I solved it with proprietary driver fglrx. I tried the same solution here but it doesn't work. So I am stuck with open source drivers.
The difference between Arch and Debian (fglrx vs. Ati open source) is 10 C degrees. Debian Ati open source is much hotter. And ofc I am facing the low battery life too, because of this. My laptop is using much higher energy consumption with open source driver (almost double). How can I check my energy consumption on Debian? I read about some xorg options. I tried it, but no effect. As I am on Debian testing I am using kernel 2.6.32. Does this kernel supports xorg video energy consumption options?
View 2 Replies
View Related
Feb 24, 2010
Apparently, the wireless adapter Realtek 8171 uses the rtl8192se driver, which is currently available only as source from Realtek's website. Is building a driver equal to building a package? Should I follow the same cautions, say these ones?
View 9 Replies
View Related
Jul 30, 2011
I've posted here before (viewtopic.php?f=5&t=66322) about problems arising from my attempts to get an nVidia driver to work with my custom kernel. Now those problems are all fixed, and I'm back to where I was: the built kernel boots fine, but the nVidia driver fails.
The custom kernel is as near to the stock one as I can make it, I'm just trying to find a working build process at present, before trying to build a later-version kernel.
I used sgfxi with "-! 40" to build the nVidia driver for my custom kernel; it reported that everything was fine.
With stock kernel - 2.6.32-5-amd64 ...
Extracts from /var/log/Xorg.0.log:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
code....
View 6 Replies
View Related
May 17, 2010
I am fairly new to Linux and have been striking hassles with my AWUS036H (RTL8187) under Debian Lenny. The standard (built in) driver works but reception is pathetic compared to the same card under Backtrack 4 or even Windows 7. I have tried to build drivers which I got from the Alfa website, the Realtek website and also the Linux Wireless project page. All of them fail during Make with an Error 2. I don't have the error in front of me (had to go back to Windows for the moment) but it is identical to the one this guy gets:
darkReaction:/home/georanson# cd /home/georanson/Desktop/Downloads/ndiswrapper-1.52
darkReaction:/home/georanson/Desktop/Downloads/ndiswrapper-1.52# make
make -C driver
make[1]: Entering directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-6-686/build, is it configured?. Stop.
make[1]: Leaving directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
make: *** [all] Error 2
I get the error 2 code and the reference to "kernel version".
View 5 Replies
View Related
Jul 22, 2010
I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".
View 3 Replies
View Related
Jun 4, 2011
I often like to use packages that have to be compiled from source. However, even after downloading gcc, I can't compile anything, because the configure script gives me a message about being unable to execute C programs. I gather that this is because of a "noexec" option in /proc/self/mounts. Problem is that the file apparently cannot even be edited by root. Perhaps there is an alternate type of fedora distribution I could use?
View 2 Replies
View Related
Oct 25, 2010
How do you compile a tar.gz source on slackware?I am asking because I am about to download and install Slackware(x64), and I have some drivers that it may not have (Ubuntu didn't have them) and TrueCrypt source.
View 9 Replies
View Related
Jun 22, 2009
Has anyone successfully compiled VLC 1.0.0-rcX (rc1, rc2 or rc3) from source on CentOS 5? I have a binary installation of VLC 0.9 but I would like VLC 1.0 as it has a new codec that I'd like to use. I've tried lots of ideas which I can post - I keep getting build errors due to wrong package versions - but I thought I'd ask to see if anybody has a HOWTO first.
View 5 Replies
View Related
Dec 30, 2010
I'm wanting to setup a emulation PC running Ubuntu (or Lubuntu). I've installed 10.10 and am wanting to compile MAME from the most recent source.
I am compiling apps from source. What packages do I need to install to be able to compile?
View 7 Replies
View Related
Apr 7, 2010
I have a linux source (linux-2.4.1) which is for intel. I am using powerpc compiler and I need to compile this linux source for powerpc. I did cross compilation, but it dint workout well. How to do it.
View 5 Replies
View Related
Jul 24, 2009
I downloaded wine from a windows laptop, but because you have to have a computer running Linux to download it as a .deb package, I had to download the source code as a tar. bz2.
Does anyone know how I compile it and make it executable?
View 6 Replies
View Related
Oct 15, 2010
I am trying to build a source rpm file through a source rpm package but while compiling I am getting the below errors as,
[root@nisserver tmp]# ls
gconfd-root mapping-root ssh-kvrIrp2633
keyring-fgwCIY nmap-5.21-1.src.rpm virtual-root.2hSYRa
keyring-vx1pvB orbit-root
[root@nisserver tmp]# rpmbuild --rebuild nmap-5.21-1.src.rpm
Installing nmap-5.21-1.src.rpm
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
warning: user fyodor does not exist - using root
warning: group fyodor does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49535 .....
RPM build errors:
user fyodor does not exist - using root
group fyodor does not exist - using root
user fyodor does not exist - using root
group fyodor does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.73783 (%build)
What next step need to be taken to install the rpm file from the source file.
View 6 Replies
View Related
Apr 22, 2010
I would like to use tcc to compile source, but not assemble. Like GCC's option: -S. Is this possible?
View 1 Replies
View Related
Sep 17, 2010
I couldn't compile gammu-1.28 on my Fedora 13 when running ./configure.To make sure what i'm doing, i was install cmake from fedora repository directly using "yum install cmake" and completed. And then to make sure again, i was update my gcc using "yum update gcc". But there was still errors during running ./configure. Finally, i decided to update all needed inside my fedora using "yum update" to make sure again.
View 7 Replies
View Related
Nov 10, 2010
I already got the source from here [url] i need ruby 1.8.7 because i want to install activerecord usually i use yum for installing anything. but for ruby,
Code:
Package ruby-1.8.6.399-6.fc13.i686 already installed and latest version
View 3 Replies
View Related
Jun 23, 2010
Wanted to switch to Kubuntu and decided a clean install was the way to go. Though the learning curve isn't too tough, I've hit a serious snag: When I try to compile a source package according to the similar instructions in each of the README files, I get the same error message;
Instructions:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
su -c 'make install'
[Code].....
I'm liking this KDE 4.4 setup, but if I can't install the improvements from kde-look.org
View 6 Replies
View Related