from Source

[SOLVED] What to do when you see a missing include file error like "fatal error: something.h: No such file or directory" when you build/compile/install something from source on Ubuntu Linux Server/Desktop

These are some common errors that you might face when you try to build/compile/install something from source on Ubuntu Linux Server/Desktop:

fatal error: openssl/ssl.h: No such file or directory
fatal error: zlib.h: No such file or directory
fatal error: png.h: No such file or directory
fatal error: curl/curl.h: No such file or directory
fatal error: expat.h: No such file or directory

This would be because of some missing library packages which contain these include files.

The ideal way to deal with these would be:

How to build / compile / install a High Performance / Latest Version (1.8.3 or later) of Git version control system from Source on Ubuntu 12.04 / 12.10 / 13.04 Server/Desktop

Installing Git on Ubuntu can be as simple as this:

Method 1: The easiest and Ubuntu recommended way - using the Ubuntu package manager:
sudo apt-get install git-core
Done!

Well, it takes quite some time for the latest version of Git to reach the Ubuntu repos - as of now, the repo version is around 4 months older than the actual version of Git out there.

To install those, you need to Build/Compile/Install from the latest version of the source code.

Here is how you do that:

Subscribe to RSS - from Source
randomness