{"thread":{"id":"44065","subject":"build issues on AIX - aka non-GNU environment, no gnu grep, no gcc","startedAt":"2016-09-12T19:28:27Z","lastAt":"2016-09-12T22:44:43Z","messageCount":3,"participants":["Michael Felt","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"301745","messageId":"CANvxniXkbAKgjm+NZ0cyyCToEYp23Kd8s4yxSqUOsAUAHJSA7g@mail.gmail.com","threadId":"44065","inReplyTo":null,"subject":"build issues on AIX - aka non-GNU environment, no gnu grep, no gcc","fromName":"Michael Felt","fromEmail":"aixtools@gmail.com","sentAt":"2016-09-12T19:28:21Z","receivedAt":"2016-09-12T19:28:27Z","isPatch":false,"sender":{"key":"aixtools@gmail.com","avatar":null},"body":"I had a couple of issues when packaging git for AIX\na) option -Wall by default - works fine with gcc I am sure, but not so\nwell when gcc is not your compiler\nb) needs a special (GNU) grep argument (-a from memory). This I\nresolved by downloading and packaging GNU grep. However, I hope this\nhas not introduced a new dependency.\n\nFYI: as I recall, the last time I build git (2.6.4 I believe) I had\nneither of these problems (although I did later find I had once upon a\ntime packaged, just never published grep-2.22)\n\nAlso, if you wish to add my aixtools as a place to get git packaged\nfor AIX - just get in touch and we can exchange details.\n\nMichael\n"},{"id":"301758","messageId":"xmqqy42wzx1f.fsf@gitster.mtv.corp.google.com","threadId":"44065","inReplyTo":"CANvxniXkbAKgjm+NZ0cyyCToEYp23Kd8s4yxSqUOsAUAHJSA7g@mail.gmail.com","subject":"Re: build issues on AIX - aka non-GNU environment, no gnu grep, no gcc","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-09-12T20:24:28Z","receivedAt":"2016-09-12T20:24:36Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Michael Felt <aixtools@gmail.com> writes:\n\n> I had a couple of issues when packaging git for AIX\n> a) option -Wall by default - works fine with gcc I am sure, but not so\n> well when gcc is not your compiler\n\nThat is expected.  As you said, it is merely \"by default\" and there\nare mechanisms like config.mak provided for people to override them.\n\n> b) needs a special (GNU) grep argument (-a from memory). This I\n> resolved by downloading and packaging GNU grep. However, I hope this\n> has not introduced a new dependency.\n\nRead the Makefile and find SANE_TEXT_GREP, perhaps?\n\nThanks for helping to spread Git to minority platforms.\n"},{"id":"301778","messageId":"d746a170-a0b0-cc2a-9d27-f146d872595e@gmail.com","threadId":"44065","inReplyTo":"xmqqy42wzx1f.fsf@gitster.mtv.corp.google.com","subject":"Re: build issues on AIX - aka non-GNU environment, no gnu grep, no gcc","fromName":"Michael Felt","fromEmail":"aixtools@gmail.com","sentAt":"2016-09-12T22:44:29Z","receivedAt":"2016-09-12T22:44:43Z","isPatch":false,"sender":{"key":"aixtools@gmail.com","avatar":null},"body":"Try again, reply all this time...\n\n\nOn 12-Sep-16 22:24, Junio C Hamano wrote:\n> Michael Felt <aixtools@gmail.com> writes:\n>\n>> I had a couple of issues when packaging git for AIX\n>> a) option -Wall by default - works fine with gcc I am sure, but not so\n>> well when gcc is not your compiler\n> That is expected.  As you said, it is merely \"by default\" and there\n> are mechanisms like config.mak provided for people to override them.\n>\n>> b) needs a special (GNU) grep argument (-a from memory). This I\n>> resolved by downloading and packaging GNU grep. However, I hope this\n>> has not introduced a new dependency.\n> Read the Makefile and find SANE_TEXT_GREP, perhaps?\nAh - read the manual heh?. Generally, I just download, unpack, and run \nconfigure.\nI do not mind needing an extra tool - as long as it is only for the build.\n\nAnd, since you have something about it in your (still unread) install \nNotes - it has not slipped in by accident.\n>\n> Thanks for helping to spread Git to minority platforms.\nThe link is: http://www.aixtools.net/index.php/git\nI do not use it much (I prefer to package \"distributed\" src tarballs, \nbut when testing a potential fix - git can be extremely useful!\n\nAll in all, thanks for an easy to port to a \"minority\" platform!\n\n"}]}