Re: Can't build first git commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 04, 2019 at 03:40:07PM -0500, Jeff King wrote:

> You can patch the Makefile, or just override it like:
> 
>   make LIBS='-lcrypto -lz'
> 
> which builds for me on current Debian unstable. I don't think you can
> actually fetch with that old build, but I used periodically check that
> Git v1.0 can fetch happily from GitHub. I haven't in a while, so let me
> know if you try it and it doesn't work. ;)

I just tried this, and it does indeed work. I had to build v1.0.0 with

  make NO_OPENSSL=Nope

I think the issue is that some old code embedded openssl's BIGNUM in a
struct, and later versions of openssl stopped publicly defining the
types.

I was able to clone git://github.com/git/git with the result, though of
course it chokes no the sha1collisiondetection submodule. You can still
use "git log", though, and checkout older commits.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux