ubuntu

How to create package for .deb file

Hi I have created .rpm packages successfully for fedora FC10 linux. I can cretae .rpm file of my application similarly I want to create .deb file of my application. I want step-by-step approach to create debian packager. Please help me to create .deb file for my application I am using ubuntu linux to create packager Thanks Sunil Kumar ...

shell script stopped working --- need to rewrite?

The script below worked on my Mac OS X. I'm now using Ubuntu OS, and the script is no longer working. I'm wondering if there's something that I need to change here? I did change the first line from #!/bin/bash to #!/bin/sh, but it's still throwing up an error.... Essentially, I get an error when I try to run it: Syntax error: end of ...

GnuPG Shell Script - Refuses to read password

The script below used to work on Mac OS X, but, since moving it to Ubuntu, it doesn't seem to read from the password file at all. Even when I run it from the command line, no matter what I do, I get a popup prompt asking me for the password. As this will run via cron, I don't want this to happen... I want it to read the password from ...

gpg error - connection already closed?

omg... hope someone can help me because I am so lost as to what to try next.... I don't know what is causing the error to happen, and I don't see how to figure it out... Keep going between the pgloader.conf examples and what I have, and I don't understand why I keep getting the 'connection already closed' error? The first few lines of...

how to Install SproutCore 1.0 on Ubuntu 9.10

I am trying to intall SproutCore, but it doesn't work. I followed the instructions in How to Install SproutCore in Virtual Enviroment but after the installation I cant start sc in the commandline. So, I hope you understand, because my English is very bad... greetings, Leif ...

CoreDumpDirectory isn't working on ubuntu; getting segmentation fault with php

I'm trying to solve a segmentation fault. This message appears in my apache-error.log: [notice] child pid 3979 exit signal Segmentation fault (11) I've tried disabling some apache and php modules but I'm still getting the same error. I've also tried putting this in apache2.conf: CoreDumpDirectory /tmp/apache2-gdb-dump and ...

Problem installing mod_jk on Ubuntu karmic apache httpd 2.2.12 and tomcat 6

I have a problem when configuring mod_jk on ubuntu i use apache httpd 2.2.12 and tomcat 6 I installed apache httpd and lib mod_jk from synaptic and use default configuration. Here my mod_jk.conf ------------------------------------------------------------- # Load mod_jk module # Update this path to match your modules location #LoadModu...

install 64-bit glib2 on 32-bit system for cross-compiling

I'm trying to cross-compile a 64-bit executable on a 32-bit ubuntu system. This works up until linking, where it fails due to the lack of a 64-bit glib2 (libglib-2.0.a). If I were doing this on a 64-bit system, I would use getlibs to install a 32-bit glib2 into /usr/lib32. However, on a 32-bit machine getlibs doesn't seem to do the op...

Retrieve available Wifi networks on Ubuntu

I'm starting to learn Ubuntu 9.10. How can I retrieve all available Wifi networks programmatically? Can someone give an example? ...

Compiling Java code in terminal having a Jar in CLASSPATH

How can you compile the code using javac in a terminal by using google-collections in CLASSPATH? Example of code trying to compile using javac in a terminal (works in Eclipse) import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; public class Locate { ... BiMap<MyFile, Integer> rankingToResult = Hash...

set password for websvn in ubuntu server?

i have installed websvn using apt-get install websvn in ubuntu server. i can now access websvn through http://url/websvn. however, i want to set a password to the access, so only authorized people could access it. how could i do this? ...

Python: List of Modules (>>> help('modules') not working)

I wanted a list of my modules and was told: >>> help('modules') Would do the trick. But I just get Please wait a moment while I gather a list of all available modules... For over 10 minutes before I killed it. Anyone know what could be causing this? Or how I could otherwise see my modules? (System Ubuntu 9.10/Python 2.6.4) ...

Creating a file association icon in Ubuntu with xdgutils

I am using the xdg utility to attempt to associate a image with a file association. I have ran this command and the equivalent for 48,64 and 128 sizes, none of them seem to have an effect. xdg-icon-resource install --context mimetypes --size 256 image-256.png text-abc Any ideas? This is incredibly lame - but I have managed to get...

Access Host windowXp files from Ubuntu(on Virtual PC)

Hi, I have ubuntu 9.10 installed on VPC2007 where my host OS is windows xp. I am unable to access the files on host windowsxp in ubuntu. Is there any method where I can tranfer files to and fro between these two Os ...

need help with installing shared libraries on linux

Hi, I am new to linux and trying to get the Ajax Push engine server to work on Ubuntu 9.04. I installed the server from source it fails the check that it does by using its own javascript framework. The problem is that it fails to load the modules and the output that i get in the terminal when i start it is. [Module] Failed to load ...

Why are Maven Goals not added by IntelliJ?

I have produced a new Maven Project from gae-archetype-gwt from within IntelliJ, and everything is generated well, but the gae:... goals won't show up in the Maven View, and if I try to update Repository Indices, apart from the local repository I get errors only. When I run gae:unpack from terminal, everything works fine. Im running Ubun...

Problem building Postgis 1.5.x for Pg 8.4 on Ubuntu 9.10

Here are things installed: $ sudo apt-get install postgresql-server-dev-8.4 libpq5 libpq-dev Here is a past to my config.out: http://pastebin.com/8Nk6pr96 And, here are some hints I got from IRC (names concealed) < foo> it's NOT failing to find libpq. < foo> libpq is present, but not compilable without adding a boatload of other -l ...

ubuntu apache: httpd.conf or apache2.conf?

which one of these 2 files should i use to configure apache? the httpd.conf is empty while apache2.conf is not. it confuses me! ...

Accessing wireless network through terminal in ubuntu

I'm connected to a wireless network and it's working fine on browser but not on terminal. I'm getting a timeout error when i'm trying to download any plugin for ruby ...

ASP.NET MVC & Silverlight development - on Ubuntu

I recently moved my working environment from Windows 7 to Ubuntu, and enjoy this every minute of my working day. My work is currently to develop ASP.NET MVC and Silverlight applications. Thus, important Windows stuff is being still run in VirtualBox (such as IIS, MSSQL, Silverlight 3, and legacy COM stuff). For now, I use Visual Studio u...