Skip to content
Advertisement

Replace of XKeycodeToKeysym

When I try to build my code with the X11 headers in Ubuntu 12.04 What is the expected result? Compiles. What happens instead? As a result of https://bugs.freedesktop.org/show_bug.cgi?id=5349 XKeycodeToKeysym is now properly marked as being deprecated. How to fix my code for warning free and correct build? Thanks Answer Provided XKB is available then the simplest replacement for XKeycodeToKeysym is:

npm fails to build socket.io with Error “Not compatible with your version of node/npm: commander@0.5.0”

I cloned socket.io from https://github.com/LearnBoost/socket.io.git bit it fails with the following Message My current version of node and npm is as follows Is it that my node version is higher than the supported upper limit? If so what is the solution? I am clueless as to how to proceed from here. Please !!HELP!! Answer npm -f install socket.io just solved

iconv any encoding to UTF-8

I am trying to point iconv to a directory and all files will be converted UTF-8 regardless of the current encoding I am using this script but you have to specify what encoding you are going FROM. How can I make it autdetect the current encoding? dir_iconv.sh terminal line Answer Maybe you are looking for enca: Enca is an Extremely

Cannot install linux ic on Linux redhat 6 virtual machine on windows hyper-v

I have windows 2008 r2 with hyper v role. I created a rhel6 virtual machine, however when I try to install Linux Integration services following Microsoft’s instructions I get this error: I verified that both files are located in the same folder as the install.sh script. Answer Solution found http://chkchaitu.wordpress.com/2012/04/10/rhelcentos6-2-on-hyper-v-2k8-r2-with-lic-v3-2/ After installing Linux Integration Services v 3.2 found that CD

mysql_upgrade not found

I’ve just upgrade my system, but Mysql don’t start: so I am asked to run myslq_upgrade, but it’s not present on the system… Any help? Answer Finally, I had to manually remove some of the package, rename old database and configuration file, reinstall things and it worked, but still no mysql_upgrade…. Anyway, thanks for the help

How to create a zip file without entire directory structure

I am trying to create a zip file and want to preserve most of the directory structure, but not the rootdir as defined from the command line. The command I’m using is: I’d like it to recurse through bar and add all files with preserved directory structure (which it does). However I do not want ‘foo’ to be the top

CMake complains “The CXX compiler identification is unknown”

I am following this thread and this one to build my own KDE without a sudo permission. Since there was no Git and CMake installed on the workstation. I just had them both installed under /home/< user> and added /home/< user>/bin and /home/< user>/lib to both PATH and LD_LIBRARY_PATH. Since KDE build only supports CMake, not configure. So I have

Advertisement