debian

javazic timezone format

Where can I find documentation about the binary data format outputted by javazic (the files shipped in Debian's tzdata-java package)? The standard format used in /usr/share/zoneinfo has no explicit concept of daylight savings time versus standard time. It only knows about a timezone having different offsets from UTC at different times o...

android sdk wants libc 2.4

My OS is debian etch. The tools want glibc 2.4. Etch comes with 2.3. I've downloaded the glibc 2.7 and pointed the adb and the avd at this glibc. The EXE's throw a segmentation fault. I looked at re-building the droid sdk on my box but the pre-requisites, like git 1.5, have un-available dependencies themselves. Any suggestions before I u...

pkg_resources not found after installing setuptools

I am trying to compile and install python2.6.4 on Debian 5.0.3 (64bit). I installed using 'make altinstall' as I want to keep python 2.5.2 that comes with Deb5.0 as my default python. Following this, I installed setuptools 0.6c11 using the command 'sudo sh setuptools-0.6c11-py2.6.egg --prefix=/usr/local'. However, after installing when ...

Debian cc flat_namespace

How can I install headerdoc on a UNIX system, Debian, when I hit make, it complains cc1: error: unrecognized command line option "-flat_namespace" when I remove that option from Makefile it won't compile. ...

List of licenses of Debian components

I'm looking for a list of all components in the Debian distribution (specifically Lenny) with indication of their respective license (GPL, LGPL etc.), where might one find such a list? ...

Eclipse for android on Debian Lenny

Hello, I have installed Eclipse on Debian Lenny after having installed java (apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk). When I run Eclipse, I have the following message when it comes to selet the folder that will be used as the workspace: GCJ has been detected as the current Java virtual machine. Use of GCJ is unte...

Build and run ruby without installing it to system directories

I've cloned the ruby 1.8.7 source tree. I can build ruby. But I can't figure out how to run it without installing it in system directories. How can I do it? Background: I want to use "git bisect" to figure out which build of Ruby introduced a new behavior in my code. I need to build and run ruby against a test program, multiple time...

commandline overwrites itself when the commands get to long

I'm using Putty to log into a debian server. I have this odd problem that when a command I'm typing gets too long, it doesn't wraparound and start a new line, instead it starts at the beginning of the same line and starts to overwrite the prompt and then the beginning of the command. The command will run just fine, but it is really anno...

g++ 4.4.x bug ?

I have build a g++ v4.4 from source by using the archives provided by gcc.gnu.org. But the resulting g++ cannot compile some of our projects c++ files. I am receiving a message simply saying: assembler error. It turned out that the assembler chokes on some extremely long symbol names, e.g. symbols names with a length of more then 2k. A...

How do I register a file association in Ubuntu.

I'm in the process of creating a Ubuntu Installer and I need to register my own file extension I cant find any examples of how to do this. Could people provide me with some script snippets on how to do this? NB: Im using InstallJammer to help me create the installer, which allows me to call external scripts - so that is why a script ...

Create .deb package for a Qt project

Is there some sort of an automated way of creating .deb packages from a project.pro file? I tried ubucompilator without much luck. Thanks! ...

Hibernate fails with NullPointerException in EntityTuplizerFactory.constructTuplizer? Why?

I have a problem when I try to instantiate Hibernate and connect with a MySQL database (see error message below). Curiously enough the connection works fine using the exact same hibernate.cfg.xml file when running Junit tests but it refuses to work when run from Tomcat... I am starting to run out of ideas. Any clues or tip where to l...

What user am I currently logged in as?

I am using debian. Is there a command that will show me what user I am currently logged in as? I want to use this command in a rails application that I'm building for debugging purposes. ...

Designing a GPL library with weak dependencies on proprietary libs, best approaches?

Hello, I'm planning to write a C library which will act as an umbrella "wrapper" around several other libs. Some of the libraries will be GPL and some will be proprietary. Moreover, some of the libraries may not be available at compile time, so I plan to have autotools detect them during configure. I'm also wondering if I should buil...

How can I see how long statements take to execute on the mysql command line?

When I execute statements on the mysql command line, there must be some way to always display how long the command took to execute? ...

Trying to install Rmagick on Debian

One of things you need to do to get Rmagick installed apt-get install libmagick9-dev When I try that I get the following errors Reading package lists... Done Building dependency tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distributio...

Tomcat6 in Debian?

Could someone explain the status of Tomcat6 in Debian to me? My confusion arises from the fact that I can only find a "source" package in Lenny (the stable release) and a "normal"(?) package in Squeeze (testing release). Applicable links: http://packages.debian.org/source/lenny/tomcat6 http://packages.debian.org/squeeze/tomcat6 What i...

Book about debian packaging

What would be the best book for me to purchase? I consider myself as experienced linux user, but I lack knowledge on one very basic area, Debian packaging. I know how to add a repository to sources.list, but I don't know how those lines are intepreted and how packages are found. If apt-get update gives me errors, I can only solve them ...

How to make a Debian package depend on multiple versions of libboost.

I have a debian/control file which includes: Build-Depends: ... libboost1.35-dev, libboost-date-time1.35-dev, ... This stops the package from building on modern Ubuntu systems. I could just change all the 1.35s for 1.38s and then it would work on modern Ubuntu, but not older versions. I would like to do something like: Build-Depend...

R: apt-get install r-cran-foo vs. install.packages("foo")

When installing R packages (say mcmcpack in this example) under Ubuntu I have the choice between the following two methods of installation: # Let the distribution's packaging system take care of installation/upgrades apt-get install r-cran-mcmcpack # Let R take care of installation/upgrades install.packages("mcmcpack") Questions: I...