I’m trying to set up a cross compile for linux ELF files on Windows using clang and a version of ld which has been compiled to have elf64 support. The clang compile part is fine, it outputs ELF obj files that work when linked on linux. My test case cpp is just main containing a printf statement. To atte…
Tag: linux
Can’t resolve rubygems.org (too many redirects)
For some reason my vagrant VM cannot resolve rubygems.org. It was working fine yesterday, today I made no changes and now it no longer works: Fresh Ubuntu install Installing ruby gems (fails) Can’t resolve rubygems.org Other websites seem fine I can resolve by IP address More Info It was working This wa…
Password for GitLab
I’ve installed GitLab per https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos. The instructions state to add user “git” All seemed to work. I then added a project on the GitLab server, and it gave instructions to push to it: I then went to my client to push to the git serve…
how can I guide compiler to use a certain library?
I’m trying to compile skeltrack according to this guide http://tayyabnaseer.blogspot.com.tr/2012/05/installing-skeltrack-on-ubuntu.html I successfully compiled and installed first two libraries. However when it comes to skeltrack I get followin compilation error: I am on Ubuntu 13.10 32 bit platform. I …
crontab not working under arch linux
I tried to set up a schedule to remove the old file and folder after several days. I put the following code in a script file and tried to use crontab to run it every day. The find command worked fine. but the crontab seems not execute the script file. I also use crontab for other tasks, i.e. rsync, they
Invalid conversion from ‘FILE* {aka _IO_FILE*}’ to ‘int’
When trying to compile this little example… …I get a compiler error regarding the call to lseek(). The output is: For the record: I have also tried using both lseek(*foo, 5, SEEK_CUR); and lseek(&foo, 5, SEEK_CUR);, but that only makes things worse. (I really didn’t expect that to solve …
opencv installation ffmpeg error
I have been trying to install opencv for a long time in my fedora 20 32 bit system.I followed the instructions from http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_fedora/py_setup_in_fedora.html#install-opencv-python-in-fedora But after all cmake commands when I m trying to make it I am get…
Start a process in Go and detach from it
I need to start a new process in Go with the following requirements: The starting process should run even after the Go process is terminated I need to be able to set the Unix user/group that’s running it I need to be able to set the environment variables inherited I need control over std in/out/err Here…
How can I go to a directory whose file name has spaces between them in the Linux terminal?
I am trying to go to a directory whose file name has spaces between them in the Linux terminal. I tried doing this: As you can see, it didn’t work How can I make it work? Answer You need to quote the directory name: or escape the space character:
Debian Server.exe Error
When i join with my client on my chat-server. The server gives me this error: Der Server l?uft! jakk has joined. Missing method SetProjectError in assembly /var/www/Server.exe, type Microsoft.VisualBasic.CompilerServices.ProjectData Unhandled Exception: System.IO.FileNotFoundException: Could not load file or …