Debian Configuration :: Build A Package - Debian / Rules Error?
Apr 2, 2011
I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.
dh_install -pemerald --sourcedir=debian/tmp
dh_install: emerald missing files (usr/bin/*), aborting
make: *** [binary-install/emerald] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
[Code]...
View 2 Replies
ADVERTISEMENT
Oct 22, 2015
I am running fully updated Stretch. I am tring to complie a driver for Ralink 5370 USB WiFi dongle. When I do make I get the following error:
Code: Select allmake[1]: Entering directory '/lib/modules/4.2.0-1-686-pae/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/lib/modules/4.2.0-1-686-pae/build'
Makefile:356: recipe for target 'LINUX' failed
I have installed build-essentials, linux-headers and linux sources. What I have to install to complete this compile?
View 3 Replies
View Related
Mar 27, 2011
I installed debian 6 (stable) on laptop with dual boot Windows 7 and Debian. when i was installing debian ,every things were ok and installed correctly (such as DHCP configuration) before installing APT package configuration part. error is about mirror zone! i checked it and tested with all mirorrs in list but i couldnt config APT yet.i did installation without APT.after booting debian i have apt-get and aptitude commands but didnt work commands like apt-get update or aptitude install ... or aptitude update .... when i ping an ip , it dosent answer cause of errors .(but i have network connection on windows7 correctly. im using connection wired.
View 1 Replies
View Related
Mar 8, 2016
I'm using Debian 8 and I have ipset v6.23 and iptables v1.4.21. I put a rule with ipset in rules.v4 file and then I restart the iptables with netfilter-persistent service. When I reboot the iptables list is empty. But if in the file I don't put a rule with ipset, after reboot the iptables list is correct.
View 4 Replies
View Related
Sep 2, 2010
I may not searched deeply enough but is somewhere desribed what variables are available in debian/rules package build script generated by dh_make ? I know about CURDIR f.E. but what about package Version (defined in debian/control) ?
View 2 Replies
View Related
Apr 18, 2016
I have SSD drives without SCT support, because of this I want to tune /sys/block/device-name/device/timeout in order to force mdadm put these drives offline. So, I can see my drive like this:
/dev/disk/by-id/ata-OCZ-SABER1000_A22MJ061512000074.
Where can I tune /sys/block/device-name/device/timeout from 30 to 7 sec only for these drive? I don't want to use rc.local.
Can I create right udev rules for it in /etc/udev/rules.d?
I want to avoid any conflict with /lib/udev/rules.d.
Code: Select all# udevadm monitor --environment --udev
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
UDEV [9302.549485] add   /devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:03:00.0/host0/target0:0:0
DEVTYPE=scsi_target
SEQNUM=5210
SUBSYSTEM=scsi
[Code] ....
View 0 Replies
View Related
Dec 30, 2010
I'm having some trouble with the configuration of the iptables. I want to setup a network server to serve as Fail Over (for my 2 ISPs), DHCP and DNS. I have 3 network cards, 2 connected to ISP's routers and 1 that serves as UPLINK for my switch.
I want to add some Iptables rules so I can achieve what I want to do. The problem is that the rules I try to use, they have to effect.... they don't load, here are the rules I am trying to add:
#iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j MASQUERADE
#iptables --table nat --append POSTROUTING --out-interface eth2 -j SNAT --to EXTIP
When I try to check to see if it loads, with the command:
#iptables -L
It returns empty
View 2 Replies
View Related
Mar 28, 2011
I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':
KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""
[code]....
However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?
View 7 Replies
View Related
Apr 14, 2010
After yesterdays upgrade of Squeeze, my Synaptics touchpad's udev configuration is ignored on my EeePC. It was working fine before. Are there any changes in how it is supposed to be configured or is it just broken?
View 3 Replies
View Related
Dec 1, 2015
I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.
By dead I mean I can no longer open a webpage or ping google.
iptables -N LOGGING
iptables -A INPUT -j LOGGING
iptables -A OUTPUT -j LOGGING
iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
iptables -A LOGGING -j DROP
View 9 Replies
View Related
Jun 27, 2010
how does one have to build a deb-package in order to detect and react to the --purge switch?
View 1 Replies
View Related
Nov 4, 2010
when I try to install a package, I've the message The following packages have unmet dependencies:package-xy: Depends:lib-something (>= version_number) which is a virtual package.
View 14 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
Feb 13, 2011
Has someone tried to build and install wine in squeeze? I tried follow different manuals (e.g. [URL].. but always run into lots of warnings, missing packages and abortion of make. No wonder, squeeze seem to be pretty different from lenny.
I installed the binary wine, but that does not help in my case. There is a kind of bug in code for the mouse that can be fixed only by applying a patch. So anyone want to build wine and write down all the actions?
View 14 Replies
View Related
Mar 30, 2011
Building Wine-1.3.16 for Squeeze from Source: Since there isn't a good version of Wine in the repositories, I decided to build my own from source. Here it is. read everything. I DID NOT have Wine previously installed. If you do, you'll have to remove it FIRST.
[code]...
With all the dependencies installed you can begin building Wine. From the terminal:
[code]...
View 13 Replies
View Related
Apr 14, 2011
My new laptop works out of the box except for the video and the ethernet. For this, I have to use a later kernel than the Debian kernel (debian squeeze is currently 2.6.32). Upgrading to the new kernel (without moving to the testing dist itself) was pretty easy. I just installed linux-image-2.6.38-2-amd64 and linux-base from the testing distribution by manually downloading and using dpkg. After that, ethernet and video started working.
However, my virtualbox installation no longer works because the drivers do not match the kernel. I am used to this; whenever debian upgrades the kernel on me, I have to run "/etc/init.d/vboxdrv setup". This rebuilds the drivers. This failed for me, however, because it could not find the headers. So, I installed some more packages:
linux-kbuild-2.6.38
linux-headers-2.6.38-2-common
linux-headers-2.6.38-2-amd64
Now, when I rebuild it, I get this:
# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules:.
Uninstalling old VirtualBox DKMS kernel modules:.
[code]....
View 14 Replies
View Related
Feb 10, 2011
I have used Debian Linux for two years, most recently the seventh or so iteration of Version 5. I use the Gnome desktop and the Synaptic Package Manager, not the Update Manager, for updates because it's easier to build a log with the former.In my most recent update, Synaptic stripped out all the xserver-xorg files�47 in all. I thought it peculiar but did not know enough to interfere. When I rebooted, the system told me I must install xserver or correct GDM configuration and restart.
Have I been hacked? Am I being tested by the Linux Illuminati? Or does it have something to do with the warning message I received at the end of the update-upgrade, attached? And how do I go about reinstalling xserver? With Aptitude? I have tried running apt-get -f install, to no effect.
View 4 Replies
View Related
Jan 15, 2010
I am working with linux-source-2.6.30 from squeeze.
The only changes I made in the config file were the processor type, and I disabled CONFIG_SYSFS_DEPRECATED_V2 to avoid some warnings from udev.
When I tried to build the kernel package, this is what I get:
(The bottom bit is from 'time').
Searching for this error turned up a plethora of results, none of which seemed relevant.
I see that it tells me to file a bug report, but I'm not sure if that is meant for the Debian kernel team or upstream.
View 1 Replies
View Related
Jun 15, 2011
Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.
View 4 Replies
View Related
Aug 17, 2011
I used make-kpkg to build the 3.0.0 source debian wheezy on a dual 3.4GHz Xeon/L1-16k/L2-1mb/800Mhz bus with 4GB PC2-3200 ECC ram and Ultra 320 SCSI, using CONCURRENCY_LEVEL=4 (2 hyperthreading cpus=4 cores). The build was slower than molasses in January! Top reported cpu usage total between 10% and 25%. Why won't the build use the amount of machine it has available. One footnote: I wasn't using swap space. It literally took over an hour to build the deb kernel package.
My notebook from 2003 is at least three times faster building the 3.0.0 debian kernel source. Is it possible that this might cause improvement: make -j4 KDEB_PKGVERSION=version deb-pkg
over
CONCURRENCY_LEVEL=4 make-kpkg --initrd --revision=123x kernel_image?
Could amd64 vs. i386 have some influence? Could the small processor caches on the XEON cpus have an effect. The 64-bit machine absolutely flies doing everything else. I'm miffed! I've used debian since woody, although I am not an expert, but I'm no slouch!
View 1 Replies
View Related
Sep 12, 2015
I'm trying to build a backport of the package redshift [URL] ...., from stretch to jessie.
I followed these instructions [URL] .... and ended up with an error at the last step (dpkg-buildpackage).
What I did:
Code: Select allsudo apt-get install packaging-dev debian-keyring devscripts equivs
rmadison redshift --architecture i386
dget -x http://http.debian.net/debian/pool/main/r/redshift/redshift_1.10-5.dsc
cd redshift-1.10
sudo mk-build-deps --install --remove
dch --local ~bpo70+ --distribution jessie-backports "Rebuild for jessie-backports."
fakeroot debian/rules binary
[Code] ....
View 1 Replies
View Related
Aug 17, 2010
get this error when trying to build busybox on slackware64:Code:Makefile:1288: *** mixed implicit and normal rules. Stop.I've tried googling and there seems to be no mention of this error, if I download the precompiled binary it works fine
View 1 Replies
View Related
Apr 7, 2010
Did not find much here regarding building Gnome 2.30 from source. I'm using jhbuild to build the gnome 2.30 desktop. I have everything, to my knowledge, installed to build gnome. I get an error when trying to build the libIDL library. Anyone have any clue as to what I need installed or changed in the configuration file to build libIDL?
View 1 Replies
View Related
May 11, 2010
however I am not looking to dist-upgrade, I merely want one package from Sid on my Lenny server. Namely, mantis (version 1.1.8 is in sid, 1.1.6 in main/stable)
View 2 Replies
View Related
Oct 17, 2010
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
View 2 Replies
View Related
Feb 9, 2011
I just setup a new squeeze debian 6 server, it will work as proxy server with squid. But I have an issue when i want to install sarg (sarg-report), i cannot find the package thru aptitude/apt-get, however it was present in lenny distribution. Is it a miss in squeeze, is it discontinued or should I add a specific entry in /etc/apt/sources.list? (currently squeeze main, squeeze/updates main)
View 3 Replies
View Related
Mar 1, 2011
After the successful installation of debian squeeze 32 bits from the first dvd, I proceeded to try to install the package noip2, but my surprise was not in the repositories that I have, but when used lenny if I had it.Below show my repositories:[URL]I dont know if i need another repository or i am missing one
View 1 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 12, 2010
I had my laptop turned on. The battery turned out low and my pc shut down (not in the correct way obviously)! Plus: I was running apt-get upgrade but it should have done before shutting down. Now, I restarted my pc and under nm-applet I see: "wireless network: device not ready" and at login I get the message: "Network configurations failed. org.freedesktop.dbus.error.spawn.PermissionsInvalid: the permission of the setuid helper is not correct" and that I could not be able to connect via bluetooth (but actuallyu I can't use wireless!)! What to do guys? I use debian squeeze. I read from someone using kubuntu that he solved the problem reinstalling all the packages with "dbus" in their name. But I don't know if my ethernet will work yet!
Update: if I run dpkg-reconfigure dbus, it tells me that dbus package is corrupted or not complete: could be the issue?
View 1 Replies
View Related
May 26, 2010
I am trying to upgrade a Debian 4 server to v5 with the instructions from document.However, I am having trouble with getting an installed package upgraded to the latest version for the current release (see error below). And I am afraid to upgrade the distribution if I can't get this package to upgrade. One thing I did notice in the error was, "Aborting downgrade from (at least) 5.1 to 5.0". The dpkg --get-selections command showed that both MySQL 5.0 and 5.1 were installed (I don't know how or why, as I was not the one to setup this server), but 5.0 was the one running. So I've since uninstalled v5.1 but that error still shows up when I try to do an apt-install upgrade. I don't know that this is what is causing the package upgrade to fail but I thought it worth mentioning.
View 7 Replies
View Related