Re: [git-users] How do I compile Git in linux?

2015-10-23 Thread Magnus Therning
On Fri, Oct 23, 2015 at 12:31:11AM -0700, Que Trac wrote: > I am going to build the binary and do all the testings at NAS, so the main > development will be done there (Makefile, source codes, and binaries). I > will use central repo for it to be pushed to, so I can do coding on other >

Re: [git-users] How do I compile Git in linux?

2015-10-23 Thread Que Trac
I am going to build the binary and do all the testings at NAS, so the main development will be done there (Makefile, source codes, and binaries). I will use central repo for it to be pushed to, so I can do coding on other platform (i.e. Windows). The suggested alternative works before since I

Re: [git-users] How do I compile Git in linux?

2015-10-23 Thread Que Trac
No, I am not trying to fix a damaged repository. The two different git version I was able to install on the NAS can't even create an initial repository without errors. Thus, I figured that maybe the way the git was compiled is causing the problem (in other words, incompatible), so I attempt to

Re: [git-users] How do I compile Git in linux?

2015-10-20 Thread Magnus Therning
On Mon, Oct 19, 2015 at 01:53:32PM -0700, Que Trac wrote: > 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:

Re: [git-users] How do I compile Git in linux?

2015-10-20 Thread John McKown
On Mon, Oct 19, 2015 at 3:53 PM, Que Trac wrote: > 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" >

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread Magnus Therning
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

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread Gergely Polonkai
Hello, your best bet for this type of problem is to open https://packages.debian.org/ and search for the files the compiler is missing (this time, zlib.h; I bet you will find the package zlib1g-dev). When you find it, install it with apt: apt-get install zlib1g-dev. Moving the openssl libs

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread John McKown
On Mon, Oct 19, 2015 at 1:20 AM, 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

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread Que Trac
I am using a special linux platform, so I can't install any of the packages from the site since it won't run properly. Due to the same reason, apt-get is not available. I can only install packages from this link: http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable/ I have zlib

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread Que Trac
I did see this part in INSTALL, but I don't understand how to use it correctly. On Monday, October 19, 2015 at 3:00:01 AM UTC-7, John McKown wrote: > > On Mon, Oct 19, 2015 at 1:20 AM, Que Trac > wrote: > >> It is my first time compiling a program under a (debian) linux

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread Que Trac
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

Re: [git-users] How do I compile Git in linux?

2015-10-19 Thread Gergely Polonkai
NSLU2 is not Debian, as you indicated in your OP. This way, however, I fear that you are (mostly) on your own. OpenWRT and derivatives are not really the most well known systems for developers. However, instead of compiling, you may want to look for Git packages from other vendors (e.g. OpenWRT).