ubuntu-9.04

Upgraded to ubuntu 9.04 django test are now slow

Upgraded my laptop to Ubuntu 9.04 and runing latest trunk of django and my test suite has tripled in time to run. Python2.6 Mysql Django 1.1 beta 1 SVN-10137 ...

Invoking the new NotifyOSD framework in C?

I want to make my GTK+ applications use the new notification area in Ubuntu. How can I do this? An example is shown below: ...

Feasibility of C# development with Mono

Recently, I came across Mono and MonoDevelop packages in Ubuntu linux. They claim to have a .NET runtime in accordance with CLI. Before installing the packages myself, I would like to know the following: How powerful is Mono? Can I develop GUI application for linux like developing WinForm applications for Windows. Is MonoDevelop IDE co...

New applications open in wrong x screen in Ubuntu

I have a dual monitor setup and each has its own x screen in Ubuntu 9.04. Everything works as it should in screen 0. When I open an application in screen 1 (using any menu, e.g., Applications, Places, etc.), it opens in screen 0 instead of screen 1. So to get an application to open in screen 1, I hit - and type the program name. This al...

Why does Xdebug throw an error for a file that's included, not required

I'm running LAMP server on Ubuntu 9.04(Desktop edition). I'm very new to Ubuntu, so I did most of this via the Synaptic Packet Manager. I then removed php5-common and just installed php5 via: apt-get install php5 My error reporting is set to: error_reporting = E_ALL & ~E_NOTICE I installed Xdebug and inserted the following in my php.i...

How to get F# working with Mono?

I can't seem to find a compiler/plugin for mono. Does one exist? ...

C GUI, with a C++ backbone?

I have a simple (and also trivial) banking application that I wrote in C++. I'm on ubuntu so I'm using GNOME (GTK+). I was wondering if I could write all my GUI in C/GTK+ and then somehow link it to my C++ code. Is this even possible? Note: I don't want to use Qt or GTKmm, so please don't offer those as answers. ...

Using Boost on ubuntu

I've heard a lot of good comments about Boost in the past and thought I would give it a try. So I downloaded all the required packages from the package manager in Ubuntu 9.04. Now I'm having trouble finding out how to actually use the darn libraries. Does anyone know of a good tutorial on Boost that goes all the way from Hello World to ...

Getting Apache to execute command on every page view

Is there any way to get Apache to run a command/program every time a web page is requested? I know I could scan the logs for new entries every minute or so, but can I get Apache to directly call the command? There might be an option like this in one of the configuration files, but if there is I don't know what it is. My server is running...

Manual Installation of Glassfish on Ubuntu

I just installed Glassfish on my Ubuntu server (No GUI) using THIS tutorial. Everything went well. But now when I'm trying to play with ASADMIN tool it's telling me this: The program 'asadmin' is currently not installed. You can install it by typing: apt-get install glassfishv2 -bash: asadmin: command not found So, in order ...

What the best setup latest Mono + MonoDevelop on Ubuntu 9.04?

I start using Ubuntu 9.04 on my laptop. What I really want is to be able to write my C# projects on Ubuntu, including unit testing. Could anyone guide me how to setup it? ...

newly installed apache serving html content as text

I am running an Apache instance on Ubuntu and am having this problem: .HTML files with bonafide HTML inside is being served as a text file: > **For eg. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> > <body> <h1>Index to Butterthlies > Catalogs</h1> etc. etc.** I checked the header in firebug and sure enough the page is pl...

mod_rewrite adding unwanted file extension

I set up Phorum to use search-engine friendly URLs on my local server (Ubuntu Jaunty). It worked perfectly. Upon moving the site to the production server (Gentoo), I get 404 not found for all pages. The mod_rewrite logs below show the problem. The same rules are being used on both installs: RewriteEngine On # READ RULES RewriteRule ^(...

g++ searches /lib/../lib/, then /lib/

According to g++ -print-search-dirs my C++ compiler is searching for libraries in many directories, including ... /lib/../lib/: /usr/lib/../lib/: /lib/: /usr/lib/ Naively, /lib/../lib/ would appear to be the same directory as /lib/ lib's parent will have a child named lib, "that man's father's son is my father's son's son" and all ...

Ruby on Rails: Problem installing gitorious in Ubuntu 9.0.4

I seem unable to install Gitorious. I am trying not to install Ruby Enterprise Edition, but apart from that I have been following the instructions for Ubunut (there were some errors but I have gotten around those). I have installed a number of missing packages and gems, but now I am stuck when I try to migrate the database. I get the fol...

permission denied running my own program (ubuntu)

Not exactly programming related... I've built the program, some basic opengl, then run it and sh: /blabla permission denied. How can I make that dissaper? the program just makes a rotating square and I have ubuntu 9.4 just found out that even int main(){} doesn't work ...

Ubuntu Linux and Crossroads loadbalancer not quite working.

Hi Everyone, after some advice regarding a problem i am getting using a linux based piece of software to balance traffic between two servers. Basically we have our production website and a backup system (at remote site). the production is being mirrored to the backup constantly to keep them synced. our domain name points at a Linux Ubun...

Error while compiling in Qt (Ubuntu)

Hello, I am getting the following error while compiling a sample program in Qt 4.5 in Ubuntu OS. /usr/bin/ld: cannot find -lgthread-2.0 collect2: ld returned 1 exit status ...

How can I fix test failures of Perl module HTML::TreeBuilderX::ASP_NET?

I'm trying to install the HTML::TreeBuilderX::ASP_NET mentioned Perl module on my box with CPAN.pm, but the "make test" part of the installation fails so the module doesn't get installed. Distribution: HTML-TreeBuilderX-ASP_NET-0.08 Perl: "This is perl, v5.10.0 built for i486-linux-gnu-thread-multi" OS: Linux 2.6.28-13-server #44-Ubunt...

Missing file halts boy's first encounter with OGRE3D!

Hey! Say - anyone attempted to setup Ogre in Eclipse on Ubuntu? I'm attempting to run through this here tutorial, it refers to a file called bootstrap in the eclipse workspace/ogreproject/ directory. This so called bootstrap is severely absent and as such my attempt has been thwarted. ...