Is there any simple tutorial on linking gtk+3 libraries with eclipse indigo cdt on ubuntu platform? As I googled, I have been trying to use the pkg-config commands but still getting same result; the SDK cannot resolve gtk methods. I downloaded libgtk3-dev and gtk3 from synaptic properly. I included all the headers properly from C++ settings – gcc compiler –
Tag: ubuntu
Python ImportError while module is installed [Ubuntu]
I’d like to make a switch from Windows to Linux (Ubuntu) writing my python programs but I just can’t get things to work. Here’s the problem: I can see that there are quite the number of modules pre-installed (like numpy, pandas, matplotlib, etc.) in Ubuntu. They sit nicely in the /host/Python27/Lib/site-packages directory. But when I write a test python script
Sqlite libsqlite3.so.0 Not Found
I’m trying to get sqlite3 to work on ubuntu linux. I first tried to download sqlite3 but was given an error about multiple versions. I then deleted libsqlite3.so.0 and another counterpart to that using gksudo natalie, which was recommended. I then reinstalled the two rpm files…I now have eight of them and the whole thing is blowing up and I’m
Unable to run compiled files – bash: ./a.out: Permission denied. (I’ve tried chmod)
I’ve compiled my C source using cc test.c, and it did generate a.out file. However when I run it I get this error – My source is not in the home directory, it is on different FAT-32 partition, so I’ve mounted the drive in which the code is using the following command – Then I compile my code using cc
search for files not accessed for x days
How can I find files in Linux that were not accessed for X days? I found that command, but it will show files that were viewed for the last x days: Answer Use -atime +60 to see files that have not been accessed within the last 60 days:
Are mlock()-ed pages static, or can they be moved in physical RAM?
According the the mlock() man page: All pages that contain a part of the specified address range are guaranteed to be resident in RAM when the call returns successfully; the pages are guaranteed to stay in RAM until later unlocked. Does this also guarantee that the physical address of these pages is constant throughout their lifetime, or until unlocked? If
How to read a property value of json file located local on Ubuntu Terminal
I have a json file like below: and how can I read this value on Ubuntu Terminal. Answer You didn’t mention which version of ubuntu but as a 1 liner from the terminal this works for me (assumes json file is in same directory and called json_file.json)
How to install cross compiler (on ubuntu 12.04 LTS) for microprocessor SA1100?
Can someone please tell me how to install the cross compiler (programming language C) for the SA1100 microprocessor? I have ubuntu 12.04 LTS. I´m a complete noob to Linux, I just installed Ubuntu yesterday. I need a special variant of the GCC compiler that is named “arm-unknown-linux-gnu-gcc” but don know how to do it. Can someone please help me? Answer
Ubuntu Python shebang line not working
Unable to get shebang line working in Ubuntu for python script. I only get a command not found error each time. test.py Ran Played around with different locations for python in the shebang but no luck including what was provided by which python. Any tips on how to troubleshoot this? Thanks Answer If you are trying to run the command
OCaml Compile Error: /usr/bin/ld: cannot find -lstr
I am trying to compile the source code of MEGAM Ocaml library on an Ubuntu 64 machine. I have OCaml installed (v 3.12.1), using sudo apt-get install ocaml. I am having an issue when running the “make” command in the terminal on the unzipped source code, with OCaml returning the error: The makefile is producing the following two commands: No