While attempting to install a package from gem, I encountered this issue:
sudo gem install dashing Building native extensions. This could take a while… ERROR: Error installing dashing: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require’: cannot load such file — mkmf (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require’ from extconf.rb:2:in `’ Gem files […]
The problem you have encountered is basically the package, or dependencies that are conflicting or broken and are therefore “held”.
You can check what (if any) packages are held using the following command:
dpkg –get-selections | grep hold
If there’s no packages, or no output. That means it’s probably a dependency […]
what(): Serial Port failed to open: open: Permission denied
Trying to get access to your serial port without the need for running whatever program as sudo or root? You’re probably not in the dialout group, if that’s the case, here’s the fix:
First, check you aren’t in the group:
This will list […]
If you’re planning on setting up your raspberry pi as a server or a project that’ll want you to access it from a static external IP address, here’s a really simple and quick way to get that up and running for free.
First off, this guide uses the free service from no-ip (www.no-ip.com), so […]
If you’ve managed to find yourself deleting, overwriting or generally messing up your profiles .bashrc file there’s a really easy way to fix it. A default version of the file can be found under “/etc/skel/.bashrc”, simply coping that over your profiles one (found in your home directory) will restore it to default. Make sure […]
fatal error: curl/curl.h: No such file or directory
If you’re missing the curl/curl.h header file, chances are you’re just missing the correct dev package file for the curl library.
sudo apt-get install libcurl4-gnutls-dev
That should fix it.
If you’re getting the following error:
fatal error: libconfig.h: No such file or directory
Then you’re probably missing the libconfig-dev package from your system. Simply run the following command and it’ll fix it:
sudo apt-get install libconfig-dev
One thing that Linux Guru’s and Terminal Wizards often argue is that it’s way quicker to use the command line to do anything in Linux than it is through menus and what not. While the jury is still out on this, there are a lot of things they know which do help put the […]
If you’re trying out the latest version of Ubuntu, 12.04 or Precise Pangolin and you want to keep your old /home partition, chances are you’ve come across the installation hanging on a process “Removing conflicting operating system files…”. No worries, this seems to be a common bug and there’s a pretty easy work around.