ubuntu-9.04

switch versions of python

Story: One of the app that i have works on python 2.4 and other on 2.6. I tried to do a sym link of python2.4 to python and things started to break loose on ubuntu jaunty. Now i am downloading every dependency of 2.4 and installing it using python2.4 setup.py install. The dependencies seem to be endless. Question1: How will i tell any ...

Installing Ruby 1.9.1 on Ubuntu?

I wonder about installing the latest version of Ruby on Ubuntu 9.04. Now I can run through the ./configure and make stuff fine, but what I wonder about: how to avoid conflicts with the packaging system? For example if some other package I install depends on Ruby, wouldn't the package manager install the (outdated) Ruby package and in the...

where is my java file?

I'm using ubuntu and I call gedit by using this command:'sudo gedit filename.java'. I'm newbie in ubuntu so now I can not located that file. Ah I'm using windows XP and ubuntu and I have three disk C,D and E in windows XP the fourth disk for ubuntu is not display in windows XP. Can anyone show me where I can find my file? Thank you very...

How do i get started with CUDA development on UBUNTU 9.04?

How do i get started with CUDA development on Ubuntu 9.04? Are there any prebuilt binaries? Are the default accelerated drivers sufficient? My thought is to actually work with OpenCL but that seems to be hard to do right now so i thought that i would start with CUDA and then port my application to OpenCL when that is more readily avail...

MDNS subdomains with Avahi

I have a machine running avahi-daemon on Ubuntu Jaunty. It's currently responding to requests for itself on hostname.local, but I would like it to run a webapp that ends up publishing MDNS addresses for other hosts which aren't on the local network. I would like for these to be in a subdomain of .local, if possible. Right now, if I edit...

How to configure the filename length that can be handled by Linux Ubuntu?

Im using Liferay portal server on tomcat and Linux Ubuntu. Liferay is generating a file that is very long. I've seen those files in windows and its working. But when i tried running it in ubuntu, it doesn't create the file and my server is giving me error. I've also tried to make a file with a very long filename and it really doesn't al...

I am using a command-line utility to grab a image through a usb webcam; but it doesn't work.

I have upgraded my OS from hardy to jaunty. Reason: The Huawei EC168C works in a modem mode in jaunty and it is quite difficult in hardy since, Huawei has 3-builtin modes[cdrom,mass-storage,modem]. Coming back to the error; the command-line utility[vidcat] worked properly in hardy but while used in jaunty it results in a green blur ima...

Change mxmlc from swf to html on ubuntu

When I use mxmlc to compile my mxml file, I get swf file. Now, I want to change the config to make mxmlc compiler generate html file instead, as we can do in Eclipse or Flex Builder. Any solution? Thanks! ...

/usr/bin/perl: bad interpreter: Text file busy

This is a new one for me: What does this error indicate? /usr/bin/perl: bad interpreter: Text file busy There were a couple of disk-intensive processes running at the time, but I've never seen that message beforein fact, this is the first time that I can remember getting an error when trying to run a Perl script. After a few secon...

how can i associate/use PDT with eclipse in ubuntu?terr

I want to use PDT to debug PHP with eclipse. I am using ubuntu 9.04. Can any one help me? please give details if possible. ...

Debugging php on ubuntu 9.04?

Is there any IDE (linux based) for PHP that can be used to debug? Or any one can help me to configure debug properties/settings of eclipse? Now i am using ubuntu 9.04. i have tried to debug but havn't tried to configure, because i don't know how to configure it. can you tell me the exact way? please help me. ...

problems with rabbitmq cluster across 2 ubuntu 9.04 machines

I keep getting unable_to_contact_cluster_nodes error Has anyone seen this earlier and resolved it? I am using rabbitmq-server 1.5.4 installed using ubuntu repositories. I have a hunch that this is something to do with ufw or some other network security measure, enabled by default in ubuntu, that is preventing connections. The machine ...

Eclipse on VMPlayer/Ubuntu keeps saying my files have changed on disk.

Spurred on by success stories of developers using VMs I've decided to give it a try. I am running Eclipse on an Ubuntu 9.04 guest, on a WinXP host. Since my networked drive on the host is backed up twice a day, I decided to share my Eclipse workspace with the VM from the networked drive. All seems good, except on the guest Eclipse fre...

OpenVPN: problems using network-manager in Ubuntu

I have a small mystery regarding OpenVPN - I hope some guru out there can help. Here's the situation: I want to establish a VPN for use by a single client. The server runs OpenVPN 1.6; the client is Ubuntu 9.04. I am able to establish a VPN connection using either a static key or using TLS, as long as I start OpenVPN (on the client) in ...

MySQL 5.1 command line problem: delete last char doesn't work

I can't delete the last character in a given line in the MySQL CLI, if I press "END", it will jump on the character and if I press "DEL", it will delete the char before that (like backspace). Does anybody know a fix for that issue? I use MySQL 5.1.31-1ubuntu2-log with normal shell access. Thank you for assistance! ...

Is ubuntu 9.04 good choice for embedded linux application development ?

Hi Friends, I want to change linux distro my Development(Host) Machine which I use for embedded development. I cross-compile applications for many different processors. It is required for me to download different different libraries to evaluate their functionality/Performance/Stability on different devices , as well as on PC. So Is ub...

Domain name resolution not working in Java Applications on Ubuntu64 9.04 machine. All other software resolves DNS correctly.

I have an number of Java applications installed on an Ubuntu64 9.04 PC, and none of them can resolve domain names (there are multiple JRE's too - some of them are IBM products). If I put the domain name in the hosts file with it's associated IP address, then the Java apps work for those domains only. Every other non Java program - like p...

Cross platform programming question (file I/O)

I have a C++ class that looks a bit like this: class BinaryStream : private std::iostream { public: explicit BinaryStream(const std::string& file_name); bool read(); bool write(); private: Header m_hdr; std::vector<Row> m_rows; } This class reads and writes data in a binary form...

Ubuntu desktop development environment (GNU tools)

I am setting up a Linux development machine (Ubuntu 9.0.x). I want to know the best development environment for a C++ developer on Ubuntu - giving my background (see below). 5 years+ C++ 5 years Visual Studio Not much experience using GNU tools (GCC, GDB, make, etc.) 6 months or so of using Emacs at university (about 8 years ago!) - ...

How to install Rails 2.3.2 and 2.3.4 simultaneously on Ubuntu 9.04?

I need to install Rails 2.3.2 and Rails 2.3.4 simultaneously on my Ubuntu 9.04 server. How do I do this? When I run: sudo gem install rails ...it installs version 2.3.4. Is there a single command I can use to also install 2.3.2 parallel to the default (latest) version? Thanks! ...