I didn't want to compile git for myself unless I have to. The git package 
supplied for my platform isn't working properly. I can't run a simple git 
commit without an error like below:

Nass> git commit -m "Test"
fatal: 57e2b8c52efba71d84c56bf6f37581686b9061a3 is not a valid object


I asked this question a while back at stackoverflow 
<http://stackoverflow.com/questions/29932599/what-is-wrong-with-my-git-1-8-4-2-1>,
 
and I was able to use git indirectly as alternative, but I can't do that 
now since I am going to start development of a software on that platform.

On Monday, October 19, 2015 at 1:04:36 AM UTC-7, Magnus Therning wrote:
>
> On Sun, Oct 18, 2015 at 11:20:04PM -0700, Que Trac wrote: 
> > It is my first time compiling a program under a (debian) linux system. I 
> > follow the instruction supplied in the tar file. So I enter the 
> following 
> > command as root: 
> > 
> > make prefix=/usr/local install install-doc install-html install-info 
> > 
> > And I ran into problems. The first problem is that I don't have CC 
> > compiler. Instead, I have GCC, so I modified Makefile changing CC = cc 
> to 
> > gcc. Repeat the same command and got stuck for missing openssl header 
> > files. I do a search starting from the root directory and found then at 
> > another directory called /volume1/opt/bin/openssl and other various 
> > directories, so the files are there, but the compiler was looking in the 
> > wrong path. I look to see if I can modify Makefile for this as well. 
> Since 
> > I don't understand the syntax of a Makefile well, I wasn't able to 
> figure 
> > it out. So I moved and copied openssl directory around and eventually, I 
> > somehow fix that problem, but now the next problem comes up, which I am 
> > stuck again with the next dependency: 
> > 
> >     * new build flags 
> >     CC credential-store.o 
> > In file included from credential-store.c:1: 
> > cache.h:19:18: warning: zlib.h: No such file or directory 
> > In file included from credential-store.c:1: 
> > cache.h:21: error: parse error before "z_stream" 
> > cache.h:21: warning: no semicolon at end of struct or union 
> > cache.h:28: error: parse error before '}' token 
> > cache.h:28: warning: data definition has no type or storage class 
> > cache.h:30: error: parse error before '*' token 
> > cache.h:31: error: parse error before '*' token 
> > cache.h:32: error: parse error before '*' token 
> > cache.h:33: error: parse error before '*' token 
> > cache.h:35: error: parse error before '*' token 
> > cache.h:36: error: parse error before '*' token 
> > cache.h:37: error: parse error before '*' token 
> > cache.h:38: error: parse error before '*' token 
> > cache.h:39: error: parse error before '*' token 
> > cache.h:40: error: parse error before '*' token 
> > cache.h:41: error: parse error before '*' token 
> > cache.h:42: error: parse error before '*' token 
> > cache.h:814: error: parse error before '*' token 
> > make: *** [credential-store.o] Error 1 
> > 
> > Again, I search for the file starting at the root directory and I do 
> have 
> > the header in /volume1/opt/include, but again, the compiler doesn't look 
> in 
> > the right spot. 
> > 
> > Therefore, my question is...how do I specify where the dependency can 
> > be found for the compiler? 
>
> Why do you want to compile git for yourself? 
> Why isn't the Debian package of git good enough? 
>
> /M 
>
> -- 
> Magnus Therning                      OpenPGP: 0xAB4DFBA4 
> email: mag...@therning.org <javascript:>   jabber: mag...@therning.org 
> <javascript:> 
> twitter: magthe               http://therning.org/magnus 
>
> Failure is not an option. It comes bundled with the software. 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to