{"thread":{"id":"6689","subject":"MinGW port now supports native git protocol","startedAt":"2007-02-05T09:03:50Z","lastAt":"2007-02-06T14:56:04Z","messageCount":3,"participants":["Johannes Sixt","Han-Wen Nienhuys","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"33614","messageId":"45C6F2F6.ADFE0A13@eudaptics.com","threadId":"6689","inReplyTo":null,"subject":"MinGW port now supports native git protocol","fromName":"Johannes Sixt","fromEmail":"j.sixt@eudaptics.com","sentAt":"2007-02-05T09:03:50Z","receivedAt":"2007-02-05T09:03:50Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Thanks to H. Peter Anvin's tips, the MinGW port now also supports clone,\nfetch, pull via the native git protocol. Visit\n\ngitweb:     http://repo.or.cz/w/git/mingw.git\nClone/pull: git://repo.or.cz/git/mingw.git\nA Readme:\nhttp://repo.or.cz/w/git/mingw.git?a=blob_plain;f=README.MinGW;hb=master\n\nPlease try branch 'master' first, and if this does not compile or does\nnot work in some way, try branch 'devel', which contains a few extra\npatches that I need on my system to make it work.\n\nIf you want to contribute, please consider using the 'mob' branch (see\nthe gitweb summary page). Base your contributions on 'master'.\n\n-- Hannes\n"},{"id":"33724","messageId":"45C893C7.6050001@xs4all.nl","threadId":"6689","inReplyTo":"45C6F2F6.ADFE0A13@eudaptics.com","subject":"Re: MinGW port now supports native git protocol","fromName":"Han-Wen Nienhuys","fromEmail":"hanwen@xs4all.nl","sentAt":"2007-02-06T14:42:15Z","receivedAt":"2007-02-06T14:42:15Z","isPatch":false,"sender":{"key":"hanwen@google.com","avatar":"https://avatars.githubusercontent.com/u/31547?v=4"},"body":"Johannes Sixt escreveu:\n> Thanks to H. Peter Anvin's tips, the MinGW port now also supports clone,\n> fetch, pull via the native git protocol. Visit\n> \n> gitweb:     http://repo.or.cz/w/git/mingw.git\n> Clone/pull: git://repo.or.cz/git/mingw.git\n> A Readme:\n> http://repo.or.cz/w/git/mingw.git?a=blob_plain;f=README.MinGW;hb=master\n> \n> Please try branch 'master' first, and if this does not compile or does\n> not work in some way, try branch 'devel', which contains a few extra\n> patches that I need on my system to make it work.\n\n\nOut of curiosity (and probably: repressed masochism), I decided to\ngive this a whirl inside my cross-building environment.\n\nTrying to build this yields\n\nbuilding package: mingit\n *** Stage: compile (mingit)\ninvoking cd /home/lilydev/vc/gub/target/mingw/build/mingit-master-repo.or.cz-git-mingw.git && make -j2 \ni686-mingw32-gcc -mwindows -mms-bitfields -o fetch-pack.o -c -g -O2  -DNO_OPENSSL -DNO_D_TYPE_IN_DIRENT -DNO_C99_FORMAT -DNO_IPV6 -Dsockaddr_storage=sockaddr_in -DNO_ICONV -DSHA1_HEADER='\"mozilla-sha1/sha1.h\"' -DNO_STRCASESTR -DNO_STRLCPY -DNO_SETENV fetch-pack.c\ni686-mingw32-gcc -mwindows -mms-bitfields -o blob.o -c -g -O2  -DNO_OPENSSL -DNO_D_TYPE_IN_DIRENT -DNO_C99_FORMAT -DNO_IPV6 -Dsockaddr_storage=sockaddr_in -DNO_ICONV -DSHA1_HEADER='\"mozilla-sha1/sha1.h\"' -DNO_STRCASESTR -DNO_STRLCPY -DNO_SETENV blob.c\nIn file included from cache.h:4,\n                 from fetch-pack.c:1:\ngit-compat-util.h:39:21: error: fnmatch.h: No such file or directory\ngit-compat-util.h:48:19: error: netdb.h: No such file or directory\ngit-compat-util.h:49:17: error: pwd.h: No such file or directory\ngit-compat-util.h:52:17: error: grp.h: No such file or directory\ngit-compat-util.h:105:22: error: sys/mman.h: No such file or directory\n\n\n(etc)\n\nAre you sure that this builds with Mingw only? I have\n\nbinutils            2.16.1\ngcc                 4.1.1\nregex               2.3.90-1\nw32api              3.6\nzlib                1.2.2\nlibtool             1.5.20\nmingw-runtime       3.9\n\n\nwhere are these headers supposed to come from?\n\n \n\n\n\n\n-- \n Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen\n"},{"id":"33727","messageId":"Pine.LNX.4.63.0702061554160.22628@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"6689","inReplyTo":"45C893C7.6050001@xs4all.nl","subject":"Re: MinGW port now supports native git protocol","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-02-06T14:56:04Z","receivedAt":"2007-02-06T14:56:04Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Tue, 6 Feb 2007, Han-Wen Nienhuys wrote:\n\n> git-compat-util.h:39:21: error: fnmatch.h: No such file or directory\n> git-compat-util.h:48:19: error: netdb.h: No such file or directory\n> git-compat-util.h:49:17: error: pwd.h: No such file or directory\n> git-compat-util.h:52:17: error: grp.h: No such file or directory\n> git-compat-util.h:105:22: error: sys/mman.h: No such file or directory\n> \n> [snip]\n> \n> where are these headers supposed to come from?\n\n>From git's compat/ directory.\n\nAs I see you also include sys/mman.h, I'd say that uname_S is probably not \ncorrectly set. ;-)\n\nYes, you found -- again -- that git is not easily cross-compilable.\n\nCiao,\nDscho\n"}]}