Skip to content

Compilation with glibc 2.7 include path fails

I have compiled on my SLES 12.3 g++ 7.3 into the /FaF directory and glibc 2.27 is installed into the /FaF/glibc directory. Compiling this very simple program with g++ -c testAbs.cpp -I /FaF/glibc/include fails horribly: See the long error list. Below I inserted the first 15 lines – in total there are mo…

Saliency Model – BMS (having error setting up)

I have downloaded a saliency model called BMS “Exploiting Surroundedness for Saliency Detection: A Boolean Map Approach” from here – available online. The code has been implemented and tested on Windows. I am trying to set up on my machine (Linux Mint), by reading the instructions given insi…

Installing node-gyp offline

node-gyp has millions of threads regarding offline installation issues, however, none of the solutions worked for me. I’m trying to install node-sass-chokidar actually, which depends on node-sass and therefore depends on this package. I’m working on Ubuntu 16.04. Due to the pc being offline, I can…

SIOCGIFCONF return only loopback interface

I want to get all network interfaces names present on the system. For system portability (Android included) I decided to write a method that performs this task using ioctl because I think (probably wrongly) that ioctl is one of the best for this task. So I wrote this code But the problem is, that it returns o…

Linux – auto restarting with sleep

Current code of mine is I don’t have access to a linux box right now and only way to do my request will be made on the live server and I don’t want to test and jeopardize something, so I would be happy if I could get some help Is this the way it should be if I want my

bash list postgresql databases over ssh connection

I am doing some work on a remote Postgresql database. When I log into the server this command works on bash: $ psql -c “l” Remote login over ssh is possible using: But why doesn’t it work from this command? This is working, also “psql -l” but I don’t understand why I have t…