ubuntu

ld linkage problems: /usr/bin/ld: cannot find [libraryname]

Im using Qmake to build a shared library on Ubuntu 9.10 This shared library (A) has a dependency on another shared library (B). project B has been successfully built. in the .pro file for project A, my LIBS variable looks like this: LIBS += -L../datelib/bin -llibdatelib_release.so.1.0.0 (I used the full shlib name because the libra...

Import/Exporting databases from one machine to another

I have two PCs, one is Ubuntu 8.10 and the other Ubuntu 9.10. On the Ubuntu 8.10, i have a few databases in phpmyadmin which i would like to copy across to the Ubuntu 9.10 phpmyadmin(which has no databases). I'm not sure if i'm on the right path but here's what i think i should do: Export the databases onto Ubuntu 8.10. And copy those...

Best uses of virtualization for webapp development

I'm preparing to upgrade my main development system to Ubuntu 9.10. Previously it was running 8.10 with no virtualization. I'd like to start taking advantage of the virtualization technologies built into the newer release, but am unsure what kinds of best practices there are for doing this. Although I'm using Ubuntu, answers for other pl...

setting up git ssh access error: gitosis need more than 1 value to unpack

When I go to set up git to run with ssh, I get the following error: file "usr/lib/python2.5/site-packages/gitosis-0.2-py2.5.egg/gitosis/init.py", line 35, in ssh_extract_user _, user = pubkey.rsplit(None, 1) ValueError: need more than 1 value to unpack the command I typed: sudo -H -u git gitosis-init < /home/sean/.ssh/pubkey.pub ...

Which libraries do you need to link against for a clang program using blocks.

I've discovered (below) that I need to use -fblocks when compiling code which uses blocks. What library do I need to link against to let the linker resolve _NSConcreteStackBlock? (On Ubuntu 9.10 AMD64.) Thanks, Chris. chris@chris-desktop:~$ clang ctest.c ctest.c:3:25: error: blocks support disabled - compile with -fblocks or pick ...

Installing Adobe Flex builder in Ubuntu/Linux?

Is working fine?, i found instruction in Adobe site confusing and i am not confident at all since it says that only works with eclipse 3.3 (actual version should be 3.5 or close) There is any special instructions to do it well. Thanks! ...

How to assign newline functionality in Ubuntu Jaunty to Enter directly?

In Ubuntu Jaunty the Enter key is apparently translated to Ctrl-m symbol. I'd like to free Ctrl-m symbol from newline functionality to make it available for other commands. In this case I guess I should translate Enter to newline directly. How do I do that? I'm talking about key reassignment in gnome-terminal. ...

Correct folder permissions for Symfony on Linux ?

I have moved my XP installation of Symfony (1.3.2) to Linux (Ubuntu 9.10). I now get a blank screen. Upon checking the Apache log files, I realised that apache daemon did not have permissions to create the cache folder. I used chgrp and chown to manually assign permission. When I then accessed the homepage, I got a 403 forbidden message...

Mute sound in Java Applet

I use a Java applet, which produces unwanted sounds to me. Mute option in the applet is missing, and it's not possible to rewrite the source code. I want to hear other(non-JVM) applications' sounds. How do I suppress this Java applet(or JVM) sound output without disabling it? I'm using Ubuntu 9.10, jre1.6.0_18 and Mozilla FF 3.5.8. UPD...

How to write a package (developed on Ubuntu 9.10) for installation on a Debian server

I have written a number of applications and libraries (some of which depend on third party libraies), on my home workstation (Ubuntu 9.10). I now want to create packages (one package per application/library), so that I may then install them on my server, which will be running Debian OS. Any guidelines/gotchas on how to go about creatin...

How to use Zenity to display a files contents with tickboxes beside each line of the file

Hi Guys Im trying to give a visual output for a file listing i have. What i want to be able to do is display a tick box beside each line from the file I have thrown together the following zenity command but my main problem is my file listings can be quite long. From the command below i define the values by TRUE "" or FALSE "" My que...

Why does my Tk application error out with "unknown color name white"?

I just installed tkdiff on a ubuntu machine and when I try and run the program I get the following error: actual font: -family {DejaVu Sans Mono} -size -12 -weight normal -slant roman -underline 0 -overstrike 0 Error in startup script: unknown color name "white" (processing "-foreground" option) invoked from within "text $w(Le...

How to clear session of all users?

I using php sessions in my project,i updated code:added some values to session.now i need to clear all existing sessions ps.my OS is ubuntu 9.04 ...

Netbeans + tomcat on Ubuntu

I migrated to Ubuntu from windows recently and am going to use Netbeans on it now. I have installed Netbeans using synaptic but I do not see services option in tools tab. Will i have to install Tomcat separately ? ...

How do I change permissions to a socket?

I am trying to run a simple Python based web server given here. And I get the following error message: Traceback (most recent call last): File "webserver.py", line 63, in <module> main() File "webserver.py", line 55, in main server = HTTPServer(('', 80), MyHandler) File "/usr/lib/python2.5/SocketServer.py", line 330, in _...

Cannot enable Clean URLs on Drupal after upgrading from 6.12 to 6.15

Dear All, I have a setup with Drupal 6.12 installed on Ubuntu 9.10. It took me a while to figure out how to enable the Clean URL... but after I upgrade from 6.12 to 6.15... the radio on Clean URL was disabled and I tried so many different ways I found from google and drupal.org and was no help... Can someone please tell me is there i...

Debug eclipse IDE

I would love to learn how to debug eclipse IDE. Back to the time when I was using VS for .NET development, I can attach VS to a process at anytime and start to trace down the problem. I hope there would be something similar with eclipse, but as a newbie to the Java world, I don't know about that. My eclipse recently often hang when I ru...

Python path: Reusing Python module

Hi, I have written a small DB access module that is extensively reused in many programs. My code is stored in a single directory tree /projects for backup and versioning reasons, and so the module should be placed within this directory tree, say at /projects/my_py_lib/dbconn.py. I want to easily configure Python to automatically sear...

libxml2 install error: command 'gcc' failed with exit status 1? What are the dependencies of libxml2?

Hi everybody!! I am trying to install libxml2 on unbuntu 9.10 and getting errors: $ sudo python setup.py develop Its a very lengthy error message but the last error is Setup script exited with error: Command 'gcc' failed with exit status 1. Can anybody tell me why i am getting this error? What are the dependencies or libraries requi...

G++ 4.4 compile error, lower versions works

Hello, I have my program written in C++ and it is can be successfully compiled on Ubuntu 9.04 with g++ 4.3.4 and Solaris OS with g++ 3.4.3. Now I have upgraded my Ubuntu to version 9.10 and g++ to version 4.4.1. Now compiler invokes the error in STL. /usr/include/c++/4.4/bits/stl_deque.h: In member function ‘void std::deque<_Tp, _Alloc...