From: Tim Schumacher Date: Wed, 29 Feb 2012 20:22:21 GMT Subject: Building GIT on older systems. Message-ID: In-Reply-To: Hi All, After a long battle trying to get git to compile on my dev boxes I am seeking help from the gurus...  I have an old system, redhat linux 7.3, with a 2.4.18 kernel with gcc 2.96 toolchain.  Unfortuneatly, upgrading is not currently an option. I have figured out so far that I can run the command make NO_NSEC=true to get past the time struct compile error. After that, I was able to hand edit the Makefile to set BASIC_LDFLAGS = -ldl so linking the git-imap-send program succeeds (was failing to link against this library for some reason...).  I tried to run configure with these options, but it did not seem to take, only setting NO_NSEC=true to the make command line seems to work. Anyway, now I get to the point in the build where it goes into the perl subdir and fails with:    SUBDIR perl /bin/sh: -c: line 3: syntax error near unexpected token `"s<\Q++LOCALEDIR++\E>"')"' make[2]: *** [pm_to_blib] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 A couple questions I have so far: (1)  how can I make make output the actual command it is executing so I can try to debug things more quickly? (2)  how can I configure the Makefile to automatically set -ldl as well as the NO_NSEC flag? (3)  My perl -v output: This is perl, v5.6.1 built for i386-linux.  Is this sufficient? Any help is greatly appreciated! Thanks, Tim