ubuntu-9.10

How to use the -MG flag in cc 4.4.1?

I've recently upgraded my Ubuntu installation from Jaunty to Karmic. This apparently includes an update of the GNU C compiler, because code that compiled previously no longer does. Running cc 4.4.1 (Ubuntu 4.4.1-4ubuntu8) now produces the following error, on code that worked fine in the cc 4.3.3 (Ubuntu 4.3.3-5ubuntu4): $ make cc -c -M...

Eclipse Galileo click problem on Ubuntu 9.10

I've just upgrade my Ubuntu from 9.04 to 9.10 and I'm experimenting a very annoying problem with Eclipse Galileo. The problem is that Eclipse doesn't catch some button clicks. For example, I've tried to install a plugin and I clicked on next, and then nothing happened. I didn't have the same problem before the upgrade of my Ubuntu vers...

Ubuntu 9.10 PATH var/lib/gems/1.8 no such file or dir

Hi, I'm using ubuntu 9.10 and i cant see gems located in /var/lib/gems/1.8/gems , so i cant execute gems like rake for rails. When I write $PATH in the console I get: bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dombesz/bin:/var/lib/gems/1.8/bin: No such file or directory I also tried to add to ...

How can I correct corrupted $PYTHONPATH?

Hello, When trying to launch Mercurial(hg) after a restart in my Ubuntu 9.10 Linux Box I got following message: abort: couldn't find mercurial libraries in [/usr/bin /usr/local/lib/python2.6/dist-packages/vipy-0.4-py2.6.egg /usr/local/lib/python2.6/dist-packages/nose-0.11.1-py2.6.egg /usr/local/lib/python2.6/dist-packages/rope-0....

Check if key is pressed using python (a daemon in the background)

I've created a python script in which an event needs to be executed each time I press the Super (or WinKey) on my keyboard. How can one achieve this without the python process being "focused" - as it is running in the background waiting for the key to be pressed to execute the event? I've seen a lot of posts around the web showing me h...

Tomcat runs but complains about missing server.xml

I'm using ubuntu 9.10 and I installed java and tomcat using the package manager. When I went to run startup.sh, it first complains about catalina.out not being there and not being writable. I fixed that and it doesn't complain about that (why isn't that included in the install??) Now it's complaining about server.xml not being there when...

starting tomcat as a service isn't logging in catalina.out

Pretty simple: When I run startup.sh or shutdown.sh information is logged into catalina.out When I run it as a service (i.e. sudo service tomcat6 start/stop) nothing is written to that log. Is it logging somewhere else? Is it logging at all? This is a fresh install of tomcat6 on ubuntu 9.10 ...

G++ not finding <iostream.h> in Ubuntu

I just installed Ubuntu and tried making the famed "Hello World" program to make sure that all the basics were working. For some reason though, g++ fails to compile my program with the error: "'cout' is not a member of 'std'". I've installed the build-essential package. Am I missing something else? #include <iostream.h> int main() {...

Install Maven2 on Karmic

Is there a .deb for Maven2 on Karmic Koala? I see maven2, but it has 100+MB of dependencies (!). Is there a package that is only mvn and none of those dependencies? ...

Fortran compile error

I tried to compile a fortran program for soil-plant-atmosphere model, but I can't compile it under Ubuntu, it keeps giving me the error message like this: f77 -c -o o/cupin2.o src/cupin2.f src/cupin2.f: In subroutine `reflt': src/cupin2.f:742: dimension tairgl,eairgl,windgl,psisgl,hsoil,ecpy,hcpy ^ In...

Mono Winforms application in Linux: some text is not displayed

In general, I have been having difficulties porting my .NET Windows Forms applications created in Visual Studio 2008 to Mono/Linux. The problem is that sometimes, some types of text do not get displayed; where I expect to see text there is just emptiness or illegible marks. On one Ubuntu machine, all the text was displayed correctly ex...

Boost Filesystem createdirectories on Linux replacing "/" with "\"

When using Boost Filesystem's createdirectory (and createdirectories) function in the following example, "/" is being replaced with "\". boost::filesystem::path path ("/data/configSet"); boost::filesystem::create_directory(path); This code snipped produces a directory called "data\configSet", instead of creating a subdirectory of "con...

Trusted timestamping log files in Ubuntu 9.10

Hi, We have an ubuntu 9.10 server. There are some log files need to be archived and they must be timestamped to guarantee no change in time. I've found this page but couldn't found a proper solution for my current needs. Is there any command to sign log files with a trusted timestamp in Ubuntu? Regards, Burak ...

Weird pynotify behaviour in Ubuntu 9.10

Hi, I wrote a small app and I am using pynotify to show some messages to the user. It all works fine here in arch, but when I tested it in Ubuntu, the behaviour was very weird. Because of the way Ubuntu shows notifications (as what seems to be a rip of of growl), I can't click on them, or interact with them in any way, for that matter....

Mysql on the command line (can't use all keyboard buttons)

Using mysql directly from the command line (running on Ubuntu 9.10, standard bash terminal), I am unable to use certain keyboard buttons like: Delete, Control-(arrow right), Control-(arrow left) Which gets returned to me as: ~;5C;5D respectively. I'm assuming there must be a flag in mysql that fixes this but I have been unable to fin...

Pyccuracy hangs in Ubuntu Karmic

I was able to successfully run suites of tests before upgrading to Karmic. Now when running pyccuracy_console, Pyccuracy starts, outputs "Running first test...", and hangs. Is anyone aware of a fix for this? OS: Ubuntu 9.1 Karmic Pyccuracy: v1.2.8 ...

Eclipse (on Ubuntu) do not have jsp, html and other web-files template

I installed Eclipse using Synaptic Package Manager (Ubuntu 9.10). However, my Eclipse does not have any HTML template (in New dialog) or JSP template. How can I fix it so that I will have some HTML and JSP templates overthere? ...

Facing problem with running configuring environment for cucumber / rspec on ubuntu

I'm trying a basic RSpec / Cucumber tutorial given here However, when I run the command "script/cucumber features", I get the following error and am not able to proceed further. Using the default profile... uninitialized constant Spec::Example (NameError) /home/badal/NetBeansProjects/blog/vendor/rails/activesupport/lib/active_support/d...

What is the best Installation Guide for installing Rails on Ubuntu 9.10?

I have a clean install of Ubuntu 9.10. I want to install Ruby 1.8, RubyGems and Rails. The install usually fails when trying to get or update RubyGems. Sorry for the lack of details, I have gotten stuck on a number of fronts. What is the best, guaranteed to work, installation guide\blog post\tutorial for installing Ruby, RubyGems and Ra...

Installing Xdebug for PHP on Ubuntu with XAMPP

I'm running XAMPP 1.7.3a on Ubuntu 9.10. With Netbeans 6.7.1 as my editor, I want to be able to debug my PHP sites. To do this, I looked up Xdebug and started following the installation instructions, found here: http://xdebug.org/docs/install. Trying to compile the .tgz file, run in to a problem. Step 3) I can execute that, but what u...