debian

Packaging of cruisecontrol on debian

Hi everybody ! To be quickly today we can find a cruisecontrol debian package released on 2.3.1 ( from 2005 ) For a personal opensource project based on phpUnderControl i need to update this package to the latest release ( 2.8.3 from january 2010 ) I have following all steps from the official ubuntu documentation about packaging ...

DTMF monitoring via multimon, awk and espeak

Hello, the question is: How to listen to the spoken DTMD digit every time the sound card capture one? The objective is radio controlling my pc and interfaces activities dialing dtmf tones via a hand-held transceiver. I used multimon to hear DTMF tones I tried to use awk to filter digits and proceed accordingly. For example, if I key...

apt-get environment variables when spawning "debian rules" file

What are the environment variables made available to debian/rules (often make) when spawned by apt-get during installation of a package under Ubuntu? I am specifically after the environment variables that would pertain to Gnome's configuration directories. I'd like avoiding "hardcoding" things like ~/.conf/apps/ ... since I have been to...

iPhone .deb App installation Problem

Hi there. I am into a very strange problem. I have developed an app for myself, which has following three files MyApp.app MyAppDaemon.app LaunchDaemon.plist When i copy each file into specific folder using ssh , my app works perfect. MyApp.app into /Applications MyAppDaemon.app into /private/var/mobile/ LaunchDaemon.plist into /Sy...

SELinux Prevents Java from Running

Hi All, I recently installed Sun Java on a system with a fairly basic SELinux install on it. I'm running Debian Etch and installed the Sun Java package from the non-free package repository. Here are the error notices that appear in the syslog when I run java -version. `Feb 9 14:02:40 dev kernel: audit(1265742160.570:4107): avc: de...

php mail stopped working for some addresses on debian

My Debian Lenny server was happily sending mails from the php mail() function up until a few days ago. Now, it will return false for certain email addresses I have been using. I pointed php to sendmail in php.ini but that didn't change much. I noticed when I run: sudo /usr/sbin/sendmail -bv [email protected] I get the message: my...

How can I list the minimal set of Debian packages needed to recreate a set of installed packages?

Is there a way of getting dpkg, apt-get or aptitude to produce a list of the packages which need to be installed on a second machine to duplicate the packages installed on a first? i.e. If I've installed a plain Ubuntu server, chose the sshd option at install time, then installed build-essential I would expect the output to look somethi...

Using Debian tools for building g++

I would like to rebuild g++ with my own specific settings. Here is what I did so far: sudo aptitude install build-dep g++-4.2 mkdir trial && cd trial apt-get source g++-4.2 Now I want to configure my specific settings. For g++ this is normally done by e.g. sh configure --prefix=/home/voku/non-productive But unfortunately I cannot ...

Strange Serial MisComunication

Ok, so I have 3 devices. an AVR Butterfly microcontroller, set up with USART A Bifferboard, running Debian, using a custom made program for serial. A Desktop machine running Br@y's. So I'm trying to make the Bifferboard send serial to the AVR, But the AVR never recieves the signal, (We've checked the wires) But if i connect the AVR to ...

Why RPM is better than DEB for MeeGo?

I know there has been a lot fuzz about this subject on various forums and newsgroups concerning the merge of Moblin and Maemo. I'd like to know what stackoverflow-fellows think about this. What are the benefits of RPM packaging over DEB that make it better choice for MeeGo? ...

How to write a package (developed on Ubuntu 9.10) for installation on a Debian server

I have written a number of applications and libraries (some of which depend on third party libraies), on my home workstation (Ubuntu 9.10). I now want to create packages (one package per application/library), so that I may then install them on my server, which will be running Debian OS. Any guidelines/gotchas on how to go about creatin...

Preventing aptitude of upgrading compiled apps

Hi. I've been struggling for quite a time now. Each time I build and install an app, after running aptitude, it wants to upgrade it even if it is on the same version. I tried to build with apt-src and apt-build too, but no luck. Here is my configuration : /etc/apt/preferences Package: * Pin: release o=apt-build Pin-Priority: 510 Ev...

Problems running a C program on Debian

Hello, I have a following problem: I compiled my application on Linux Ubuntu 9.10 using CodeBlocks. It is a C program (which uses few libraries, like libmysql, jasper...) I copied the compiled program to a remote system running Debian 2.6.18, chmodded +x the application but when calling ./my_app bash still says "No such file or director...

Your PHP MySQL library version differs from your MySQL server version

I've recently upgraded MySQL on my Debian 5.0.4 server to 5.1. Now phpMyAdmin shows the following warning: Your PHP MySQL library version 5.0.51a differs from your MySQL server version 5.1.43 Is it likely to cause any problems? ...

Listing files and directories writable by the group in Linux

What's the easiest way to recursively list files in a given directory and its subdirectories, that are writable by the group which owns them? I'm using Debian 5. ...

Generate image for each font on a linux system using Python

Hello, I'm looking for a way to list all fonts installed on a linux/Debian system, and then generate images of some strings using these fonts. I'm looking for your advice as I kind of see how to do each part, but not to do both: To list all fonts on a UNIX system, xlsfonts can do the trick: import os list_of_fonts=os.popen("xslfonts"...

ARM development and emulation

I have an ARM device (network storage) with debian installed. I can pull out drive and dump fs image (using dd). The OS there is debian, I use ubuntu. What do I need to install (software) to be able to cross-compile? I can mount image and modify its content. How can I emulate that device to test cross-compiled executables? UPDATE: I d...

Including date and time in Tex File

Hello, The latex file is giving the following error ! LaTeX Error: File `datetime.sty' not found. Here is the Latex Code : \usepackage{datetime} Please let me know, if I am missing something. I am using Debian 3.1 Linux Machine. Would appreciate any useful pointers or help. Thanks Kiran ...

Compilation failed for Lighttpd 1.4.26 on Lenny AMD64.

Hello, yesterday I tried to compile Lighttpd 1.4.26 + mod_h264 on Debian Lenny ( AMD64 ) but it failed. I got those errors : mail:/usr/src/lighttpd/lighttpd-1.4.26# make make all-recursive make[1]: Entering directory `/usr/src/lighttpd/lighttpd-1.4.26' Making all in src make[2]: Entering directory `/usr/src/lighttpd/lighttpd-1.4.26/sr...

Get a debian directory out of a source package

I'm trying to decompile a source package because I want to look at the preist en prerm files. Those files are normally in the debian folder but when I extract the source package I don't find any debian folder. Is there a simple command or other way to get the debian folder? Thanks in advance ...