Donate to support Ukraine's independence.

19 Feb'15

Update Git on Debian 7 to Git 2.3

Add the following repository to the sources.list:

deb http://ppa.launchpad.net/git-core/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu precise main

Now, run sudo apt-get update and get the following output:

W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A1715D88E1DF1F24

And fix it by running

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1715D88E1DF1F24

Now you can run

sudo apt-get install git

And afterwards verify your setup:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description …

Continue reading

Category: 

16 Feb'15

Clang fatal error: standard headers not found

In the morning I decided to try building the json11 library. I almost submitted a github issue but then understood that the error quite silly and was probably originating from my broken setup:

$ make test
clang++ -O -std=c++11 -stdlib=libc++ json11.cpp test.cpp -o test -fno-rtti -fno-exceptions
In file included from json11.cpp:22:
./json11.hpp:53:10: fatal error: 'string' file not found
#include <string>
         ^
1 error generated.
test.cpp:1:10: fatal error: 'string' file not found
#include <string>
         ^
1 error generated.

As you might see, string is a part of the standard library.

Let …

Continue reading

Category: 

03 Mar'13

Latest software sources

https://launchpad.net/~webupd8team

http://www.lfd.uci.edu/~gohlke/pythonlibs/

http://www.dotdeb.org/

Continue reading