How do I get the POSIX strerror_r instead of GNU version?
I'm compiling with g++ on Ubuntu 8.04 with glibc version 2.7 ( based on what's in ).
Edit
On the above man page it says:
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
The XSI-compliant version of strerror_r() is provided if:
(_POSIX_C_SOURC...
Background:
running ubuntu
So I downloaded the python "install from source" tarball. I ran make and got this error message:
Python build finished, but the necessary bits to build these modules were not found:
_aaa _bbb _ccc ... _jjj _kkk
I google'd and found one solution is to:
MANUALLY map all the string names from the error me...
What's the "correct" way to create a custom daemon in Ubuntu, that will start at boot time and be controllable by Ubuntu's standard daemon start/stop commands?
Can I just copy and paste one of the scripts in /etc/init.d or do I need to "register" the daemon somewhere else?
...
This won't be a question, but a solution to an infuriating problem on Ubuntu 10.04.
If you tried to deploy an LDAP server using this distro following the tutorials below, you'll be on serious trouble.
Tutorials:
https://help.ubuntu.com/9.10/serverguide/C/openldap-server.html
https://help.ubuntu.com/9.10/serverguide/C/samba-ldap.html
The...
I'm on Ubuntu. I type in sudo gem install rails. This works fine, installs railes and 7 other gems fine. Yet $ rails blog is saying this:
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
...
Hi!
I have a collections of videos, and I would like to get a screenshot from every on of them, and save them all in a folder.
I was told about ffmpeg, a Linux command. But the only extension I get is mpg, instead of .jpeg or .png.
Anybody could tell me if it is possible to write something similar to:
ffmpeg -i
videoscambiados/"+...
Hello,
I am trying to commit my stuff to github from eclipse on ubuntu. But I get the message:
Committing changes has encountered a problem.
Committing failed
Prepairing trees /var/www/project/public/.htaccess.save (permission denied)
I don't know how to solve this problem.
Can anyone help me?
...
I've started getting a really strange error on a server of mine and I've no idea how to fix it. The basic setup is a Wordpress (not v3, the previous stable release) site on PHP-FPM + APC on nginx on Ubuntu Lucid.
For five or so minutes at a time, some pages will just return straight out, blank page, no content. I'll wait for a bit, try ...
I've tried
sudo chmod +rwx webapps
and
sudo chmod +rwx -R webapps
but I'm still not being able to create a new folder inside webapps. Why and what should be done?
...
I have series of curl commands that I want to translate into straight up HTTP requests.
I would like to use some live http utility that would record http requests made while I make the curl commands. And from this, I will translate the curl commands to their corresponding http requests.
Any recommendations?
...
I'm using Ubuntu 10.04. In the terminal, when I go to my app and type (without using the "ruby" in front):
script/generate controller recipes
I get a "Permission denied" error. When I use this however:
ruby script/generate controller recipes
everything works as expected. Is there something I have to do to Ubuntu to make the prepend...
For developing Flash / ActionScript packages on Windows, there is no better free tool than FlashDevelop.
Unfortunately, its reliance on the .Net framework make it ill-suited for AS3 development on Ubuntu. (My attempts to get it working with Mono failed - the installer wouldn't even work.)
Is there a similar tool for use with Ubuntu?
...
Okay, I downloaded the Flex 4 SDK from Adobe and extracted the contents to ~/Documents/flex4_sdk.
Now I have the following simple MXML file:
<?xml version="1.0"?>
<!-- usingas/StatementSyntax.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Label id="label1"/>
</mx:Application>
When I compile it with m...
Hello,
I try to compile an application with kdevelop 3.5.4 on Ubuntu 10.04, but it fails with the following errors:
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/home/nts/wktools4':
configure: error: C++ compiler cannot create executables
See `conf...
I am looking for tips on how to package my Qt-based application for Ubuntu/Debian distributions. Let's say the application (executable) is myapp. Running objdump -p myapp | grep NEEDED, I see that it has the following dependencies:
libicuuc.so.44
libicui18n.so.44
libicudata.so.44
libQtGui.so.4
libQtCore.so.4
libpthread.so.0
libstdc++.so...
I get the following error when attempting to connect to the MySQL database on my employer's local server:
Unable to load database driver
Details : java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
BUILD SUCCESSFUL (total time: 0 seconds)
I think it's pretty clear that this is because I don't have my files set up properly....
My swing GUI application starts with a script.
When I run that script under Linux without sudo it gives me unexpected Look and feel and other graphical problems.
Why is running with sudo su to my own account fixes this problem?
...
Hello,
when building my application with kdevelop 3.5 on Ubuntu 10.04, I get the following errors:
libtool: Version mismatch error. This is libtool 2.2.6 Debian-2.2.6a-4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 Debian-2.2.6a-4
libtoo...
Hi for my research, i modify the c code that makes the php ( not the code that is written with php but that which actually makes php ). I want some way of compiling it and making it work with apache.. How do i do that?
...
I'm trying to follow the instructions here: http://www.php.net/manual/en/features.commandline.usage.php
I created a file named "vardump"
Added this code to the file:
#!/usr/bin/php
<?php
var_dump($argv);
?>
did chmod +x vardump
but I'm getting a permission denied error when executing the file:
shiki@Etna:~/projects/tests$ ./vardump
...