ubuntu

LaTeX equations in Ubuntu's MediaWiki

My Texvc seems to works, since texvc /home/wiki/tmp /home/wiki/math "y=x+2" gives Cdaa63ef966cc412541190bc8794731de<i>y</i> = <i>x</i> + 2<mi>y</mi><mo>=</mo><mi>x</mi><mo>+</mo><mn>2</mn> My LocalSettings.php at /var/www/wiki (source) $IP = "81.111.1.1"; $wgMathPath = "{$wgUploadPath}/math"; $wgMathDirectory = "{$IP}/images/...

Python Tornado Web - AttributeError: 'Connection' object has no attribute '_execute'

I'm experiencing a strange behaviour working with the latest branch of tornadoweb when I deploy my app on my production server. I tested several times the code and it is fully working when I test it on my laptop (Archlinux) with python 2.6.3 and MySQLdb 1.2.3b2. As soon as I deploy on my production server (Ubuntu x64) with python 2.6.2...

problem debugging with Code::Blocks on Ubuntu using gdb

Hi! I just started programming C++, first in ms Visual c++, then in Code::Blocks. The problem is that on my computer, running Ubuntu, Code::Blocks "out of the box" does not debug, even the default "hello world", it just skips all breakpoints and finishes the program. I have a virtualized Windows machine using Sun's VirtualBox and the ...

problem building GD on Ubuntu 'Jaunty'

I'm having trouble building gdlib. As far as I can tell, zlib, png and all the rest are installed in either /lib or /usr/lib. It does not seem to matter whether I use --prefix or one or all of the --with-, the configure script keeps on insisting that it can't find any of the supporting libraries. ** Configuration summary for gd 2.0.34: ...

How do you install MySQL 5.1 on Ubuntu 8.10?

According to various blogs and forums, you should be able to do simply "sudo apt-get install mysql-server-5.1". But I tried and it doesn't work (package not found by this name). What am I missing? ...

How to send an email using Zend_Mail, sendmail, and localhost?

I'm developing a zend framework application that includes a simple email function. The development version is running on my computer, which is running Ubuntu. The production version is going to run on a production server. When trying to send a test email to myself, I get an exception with the message: "Unable to send mail". I don't know...

PHP editors for Ubuntu

What are the Light weight PHP editors available for ubuntu? And is there a ubuntu version of the Notepadd++ editor Thanks ...

Monodevelop fails to startup on ubuntu?

Hey guys, I'm a Linux noop, and I was trying to get monodevelop up and running on my ubuntu 7.1 box. I added the Universal repository (or something, I don't really know) to my repository, and then issued apt-get install monodevelop. It was easy and quick. I now have mono and monodevelop installed on my machine. Now, each time I try to l...

ubuntu when core dump is not happening when program ran as root(sudo)

when I ran a program which will cause the segmentation fault as root user , the core is not dumped.. I checked the ulimit -c and it is unlimited...But if I ran as a normal user the program is dumping the core.. suresh@suresh-desktop:~$ ulimit -c unlimited suresh@suresh-desktop:~$ ./main Segmentation fault (core dumped)...

Trouble with codeblocks installation on Ubuntu 9.10

I installed Code::Blocks on Ubuntu 9.10, but when I start it from terminal, it shows the following error: relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8.2 not defined in file libwx_baseu-2.8.so.0 with link time reference What is wrong with it? It seems to me I have installed all necessary...

How do you use one Ubuntu box as a package repository for another box?

Hi there, Our dev environment has 6 Ubuntu machines, and it'd be nice if we could download the latest version of Ubuntu with one, and then use our local LAN to distribute the new packages between the other computers. This would save us loads of time in downloading the new packages (our connection is REALLY slow). Anyone know how to do t...

How to get permission to edit the file apache2.conf? [Ubuntu]

Hello there, I'm a beginner Ruby on Rails Programmer and I'm trying to install Apache2 + Passenger(That's for Rails Deployment).. and at the end of the installation process, Passenger gave me a few lines to add to the file apache2.conf at /etc/apache2/ but I can't override this file.. I have no permission =( I've also uploaded an image s...

Command as window's name in Ubuntu's ZSH

How can you convert the following command for Ubuntu's ZSH? DavidPashley's command for Bash trap 'echo -e "\e]0;$BASH_COMMAND\007"' DEBUG if [ "$SHELL" = '/bin/bash' ] then case $TERM in rxvt|*term) set -o functrace trap 'echo -ne "\e]0;$BASH_COMMAND\007"' DEBUG export PS1="\e]0;$TERM\00...

Create Linux install for Qt application.

Hi, I just made a great program with Qt Creator. I'm very pleased with myself. How do I move it from my desktop to my laptop? So, the best way would be an installer right? And for Ubuntu, that's a debian package right? How do I do that? Has someone done this and could they share the template files for QT 4.5? Thanks, Mike ...

Does running an SMP kernel on a single-cpu machine hurt performance?

On my Ubuntu machine, default kernel image which is running is built for smp (CONFIG_SMP=y). But this machine has only 1 cpu. On uni-processor kernel, unlike smp kernel, spin_lock/unlock are null functions. So how does spin_lock() and spin_unlock behave in this setup? Is there any performance impact due to such smp specific code? ...

MySQL MyISAM disk-bound scaling issue / drive cache

I have the following lookup-table: CREATE TABLE `widgetuser` ( `widgetuserid` char(40) NOT NULL, `userid` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`widgetuserid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 DELAY_KEY_WRITE=1; I have a widgetuser_tmp Table with the same structu...

does mono run on 64-bit linux? any issues?

I need to run/develop a mono-based application on a new dedicated server, and the ISP I usually use only offers 64bit Linux (of which I'll take Ubuntu) Is there any problems running mono on this configuration? ...

Bugzilla Error : "Cannot determine local timezone"

Hi Everyone, After I installed Bugzilla on my LAN it works great... the problem is when I try to commit a bug it gives me an internal error "cannot determine local time zone" I have searched far and wide on google and looks like a pretty wide spread problem on Ubuntu and debian boxes. Please help.... I changed my server time zone, c...

building a C++ project on Linux platform (or more specifically: building CLIPS on Ubuntu 9.10)

I'm in the process of moving from XP to Linux. (I'm new to Linux) I have succesfully installed CLIPs on Ubuntu, using the SPM. I would however, like to build CLIPS from the sources - since I will be extending its current functionality. I have downloaded the CLIPS sources (v6.2.4) from http://sourceforge.net/projects/clipsrules/files/C...

Debian dropped support for .la files; how do I build now?

Background I recently came across the fuppes UPnP media server and it seemed great. I installed it on my home server and started using it to stream video to my XBox. It worked really really well and I was happy with it. Then I upgraded my servers distribution and fuppes stopped working; I now know that it's because various libraries hav...