02 Apr 2009, 01:39
Generic-user-small

Charles Curley (3 posts)

I got the following error while compiling on Ubuntu 8.04 Hardy Heron while following the instructions on page 16, Installing on Linux>

git-compat-util.h:104:25: error: openssl/ssl.h: No such file or directory

This is due to the lack of linssl-dev. Work-around:

sudo aptitude install libssl-dev

This may be either a bug in the package for 8.04 (Version: 1:1.5.4.3-1ubuntu2.1), or else a change from that version to the git tarball I pulled in, 1.6.2.1.

03 Apr 2009, 03:10
New-avatar_pragsmall

Travis Swicegood (116 posts)

Thanks for the tip, Charles. The last few times I’ve installed Git on an Ubuntu box, I always run:

prompt> sudo apt-get build-dep git-core

That installs everything that the git-core package needs, so I’m set. If I’m going to be using git-svn as well, I do the build-dep for it so I’m covered. It’s worked great for me so far.

  You must be logged in to comment