After create a new system call, how to update the kernel?
I tried these lines,
make-kpkg clean
fakeroot make-kpkg -initrd -append-to-version=-custom kernel_image kernel_headers
But Ubuntu asked me if I am sure what I am doing, or not. But I am not sure. Do I have to say yes? Here is what did, Ubuntu said to me:
You are attemptin...
What compiler should be installed in order to compile SR (Synchronizing Resources) Language?
Or is this language still in use?
Thanks!!!
...
I am a Linux noob and I would like to debug a unit test.
If I run my test in MonoDevelop it goes green but if I try to debug everything freeze and I have to stop the debugger. My breakpoint on first line of code is never hit. There is no stack trace or information of what could have failed.
Edit 1: Should I install OpenSuse (since it i...
We have a monitoring application built on swt and running on linux. we have few buttons and a dynamic part that changes as we click on these buttons. The problem is that if some ones click too rapidly the cpu could reach 100% and hanging forever. We observed this rapid cpu spikes only on Ubuntu Linux where as windows it runs without on i...
after I run ping command under the screen, I want to stop ping command,
but when I press ctrl c , the screen is also terminate.
how can I stop the command but not leave the screen session?
I run screen in ubuntu 9.10(karamic)
...
I'm trying to compile an app that mkese use of the nspr library. I'm running to an error though with this part of the make file:
g++ -ljs -lboost_thread-mt -lboost_regex -lboost_system-mt -lnspr -lxerces-c -lmysqlpp -c -g -I/usr/local/include/boost-1_38/ -I/usr/local/include/mysql++ -I/usr/include/mysql -I/usr/local/include/nspr -I/us...
Hey guys,
I got this error:
OperationalError at /
unable to open database file
Things I've tried so far are setting the absolute path of my dev.db file in the settings.py. I've tried adding www-data to my admin group and setting the group of my project folder to the admin, and setting the group to www-data, none of which solved the p...
Hey,
There is a similar question here but regarding the class path.
http://stackoverflow.com/questions/1585811/classnotfoundexception-com-mysql-jdbc-driver
I've had everything working great until some days ago. Suddenly my little application can't find the mysql driver. And i don't understand why (really I've checked everything)
I got...
In ubuntu 9.10, in usr/lib/ there are the directories python2.4, python2.5, python2.6 and python3.0
Only python 2.6 is actually working.
python2.4 has only a lib-dynload directory,
python2.5 has only lib-dynload and site-packages,
python3.0 has only a dist-packages directory.
Now i'm wondering what is the idea behind this?
Because ...
I like programming with robots and stuff. For this approach, I'm using the LPT port for output and the Gameport for input.
For younger guys: Just some old fashioned USB Ports ;-)
With Python (and the fabulous module pyParallel) the output works very, very well.
Now I'd really like to get data from the Game Port (like photo tubes, te...
While I'm working on it, I have my application's location hardcoded:
public static string MYPROGRAM_PATH = "/path/to/my/workspace";
Obviously this won't work once I package and distribute my application. How do I keep track of where it is installed to?
I'm primarily concerned with linux packaging (specifically .deb's), but I'm planni...
Everything was fine until I did an upgrade from Ubuntu 9.04 to 9.10. Since then, Eclipse just doesn't respond properly. The following are the symptoms I can see:
When I click on update, it grabs the
available updates but doesn't show
them. Any internal window that is
displayed has corrupted buttons
I cannot click on any of the buttons...
Hi everyone,
I have this old Perl script that is supposed to act as a proxy of sorts between HTTP-based clients and non-HTTP Java server: the client POSTs some data to this Perl script and the script would in turn call the Java server, get the response and return it to the client.
The Perl part calls the server like this:
$servervars ...
I am trying to make servlet.
I have installed tomcat6 on ubuntu with admin examples and docs. I am able to run the examples provided. But when i try to make my own servlet it doesnt work.
I did following steps
Under the ROOT i create folder with
-ROOT
----myapp
------WEB-INF
---------classes
I made two files one is index.html whi...
I'm doing web development (LAMP) on Ubuntu 7.10. To be able to develop locally, I do the following for each new site:
- create a new site file in /etc/apache2/sites-available and do a2ensite on it
- add a "127.0.0.1 site" line to /etc/hosts
- create a new directory at ~/dev/site that is the document root for this site
This works great, ...
What would be the most simple way of adding and changing an icon in the Ubuntu (Gnome) Panel? I'm looking for something as simple as shell scripting, but I'm not restricted to that. Will write a program for it if that's a better or simpler approach.
The idea is to create a script/program to monitor some condition (e.g. availability of a...
I'm trying to manage my log file size using a cron script. I basically want to delete all but the last 2000 lines of the log file every night. I'm trying to run this command, but it seems to be emptying the entire file instead of doing what I want:
tail -2000 logfile.txt > logfile.txt
Does anyone know why this isn't working and/or h...
Hi I am using 64 bit fedora10 linux. I have created rpm file for my software. It works fine. But my software doesnot works good or ubuntu and debian linux because they want .deb file.
So How to convert my .rpm file into .deb file
Thanks
Sunil Kumar Sahoo
...
The question probably sounds a little odd, but the actual task is relatively simple, I swear!
I'm automatically generating some PDFs from a webform, using PDFCreator to merge a generated FDF into a preexisting PDF. I created the preexisting PDF in NitroPDF. This setup works great - almost. The problem is that when you view the genera...
Hi
I am trying to compile go file using gccgo , i installed on my ubuntu 9.10 machine . when i compiled
$gccgo -c hello.go
hello.o file is generated , while trying to link and to form an executable
$gccgo -o hello hello.o
i get the following error
/usr/local/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libgo.so: undefined referen...